cURL
curl --request GET \ --url https://api.salesbricks.com/api/v2/subscriptions/{subscription_id}/payment-methods \ --header 'X-SALESBRICKS-KEY: <api-key>'
200
SampleResponse(Card)
[ { "payment_method_id": "pm_1ABC123card456789", "is_default": true, "type": "card", "card": { "brand": "visa", "last4": "4242" } }]
Retrieves all payment methods associated with the subscription’s customer. Returns formatted payment method details including cards and bank accounts.
API key for authentication
The response is of type object[].
object[]