Skip to content
OpenRelay is in early access, and the /v1 API is stable. New capabilities ship in the changelog.
Billing

Remove a saved card

DELETE
/v1/orgs/{orgId}/billing/payment-methods/{paymentMethodId}
AuthorizationBearer <token>

OpenRelay API key. Send it as Authorization: Bearer vl_….

In: header

Path Parameters

orgId*string
paymentMethodId*string

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/orgs/string/billing/payment-methods/string"
Empty
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}

Command line

The orl CLI wraps this endpoint:

orl billing payment-method delete <payment-method-id>