Billing

List saved cards (brand/last4/exp only)

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

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

In: header

Path Parameters

orgId*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/orgs/string/billing/payment-methods"
{
  "paymentMethods": [
    {
      "id": "string",
      "brand": "string",
      "last4": "string",
      "expMonth": 0,
      "expYear": 0
    }
  ],
  "defaultPaymentMethodId": "string"
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}