Skip to main content
GET
/
customers
/
{customer_id}
/
payment-methods
List all payment methods
curl --request GET \
  --url https://api.salesbricks.com/api/v2/customers/{customer_id}/payment-methods \
  --header 'X-SALESBRICKS-KEY: <api-key>'
[ { "payment_method_id": "pm_1ABC123card456789", "is_default": true, "type": "card", "card": { "brand": "visa", "last4": "4242" } } ]

Documentation Index

Fetch the complete documentation index at: https://docs.salesbricks.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-SALESBRICKS-KEY
string
header
required

API key for authentication

Path Parameters

customer_id
string
required
Pattern: ^([a-zA-Z\d\-]+)$

Response

200 - application/json
payment_method_id
string
required

Unique Stripe payment method identifier

is_default
boolean
required

Whether this is the default payment method for the customer

type
enum<string>
required

Type of payment method

  • card - Card
  • us_bank_account - US Bank Account
  • link - Link
Available options:
card,
us_bank_account,
link
us_bank_account
object
card
object