POST
/
customers
/
{customerId}
/
payment-methods

Authorizations

X-CUSTOMER-OS-API-KEY
string
headerrequired

Path Parameters

customerId
string
required

Body

application/json
type
enum<string>
required
Available 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