PaymentMethods

Delete a customer's payment method

delete

Delete this payment method

Authorizations
OAuth2applicationRequired
Token URL:
Responses
delete
/customers/{id}/payment-methods/{method-id}

Change a customer's default payment method

patch

Change the customer's default payment method to this one

Authorizations
OAuth2applicationRequired
Token URL:
Responses
patch
/customers/{id}/payment-methods/{method-id}/default

Create a customer bank account

post

Create a new bank account with the provided information. Only one of USAccountData or CAAccountData must be sent, matching AccountDataType.

Authorizations
OAuth2applicationRequired
Token URL:
Body

Bank account information. Only one of USAccountData or CAAccountData must be sent, matching AccountDataType.

account_data_typestring · enumOptionalPossible values:
custom_namestringOptional
institution_namestringOptional
receiver_namestringOptional
subtypestring · enumOptionalPossible values:
typestring · enumOptionalPossible values:
Responses
post
/customers/{id}/payment-methods/bank

Create a customer card

post

Create a new card with the provided tokenized information

Authorizations
OAuth2applicationRequired
Token URL:
Body

Tokenized card information

card_provider_tokenstringOptional
custom_namestringOptional
providerstring · enumOptionalPossible values:
Responses
post
/customers/{id}/payment-methods/card

Last updated

Was this helpful?