Get payment methods for subscription
curl --request GET \
  --url https://api.salesbricks.com/api/v2/subscriptions/{subscription_id}/payment-methods \
  --header 'X-SALESBRICKS-KEY: <api-key>'
[
{
"payment_method_id": "pm_1ABC123card456789",
"is_default": true,
"type": "card",
"card": {
"brand": "visa",
"last4": "4242"
}
}
]

Authorizations

X-SALESBRICKS-KEY
string
header
required

API key for authentication

Path Parameters

subscription_id
string
required

Response

200 - application/json

The response is of type object[].