API Reference
Add a new payment method for a customer
POST
/
customers
/
{customerId}
/
payment-methods
Authorizations
X-CUSTOMER-OS-API-KEY
string
headerrequiredPath Parameters
customerId
string
requiredBody
application/json
type
enum<string>
requiredAvailable options:
card
, ach_debit
cardToken
string
bankAccountToken
string
isDefault
boolean
Response
201 - application/json
id
string
type
enum<string>
Available options:
card
, ach_debit
brand
string
last4
string
expMonth
integer
expYear
integer
bankName
string
isDefault
boolean