PaymentMethods

Register CVV for a card payment

post

Register an encrypted CVV token for a specific card and invoice

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
idstringRequired

Customer ID

card_idstringRequired

Card ID

Body

CVV registration information

cvv_secretstringOptional
product_idstringOptional
product_typestring · enumOptionalPossible values:
providerstring · enumOptionalPossible values:
Responses
chevron-right
201

Created

application/json

Create card CVV response

successbooleanOptional
post
/customers/{id}/payment-methods/{card_id}/cvv

Calculate card payment fees

post

Calculate payment fees for a specific card payment method

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
idstringRequired

Customer ID

card_idstringRequired

Card ID

Body

Request body for calculating card payment fees

amountstringOptionalExample: 100.00
currencystring · enumOptionalExample: USDPossible values:
Responses
post
/customers/{id}/payment-methods/{card_id}/fees

Delete a customer's payment method

delete

Delete this payment method

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
idstringRequired

Customer ID

method_idstringRequired

Payment Method ID

Responses
chevron-right
201

Created

application/json

Delete a payment method

responsestringOptional
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

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
idstringRequired

Customer ID

method_idstringRequired

Payment Method ID

Responses
chevron-right
201

Created

application/json

Change default method response

responsestringOptional
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.

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
idstringRequired

Customer ID

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
chevron-right
201

Created

application/json

Create bank account response

idstringOptional
post
/customers/{id}/payment-methods/bank

Create a customer card

post

Create a new card with the provided tokenized information

chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
idstringRequired

Customer ID

Body

Tokenized card information

card_provider_tokenstringOptional
custom_namestringOptional
providerstring · enumOptionalPossible values:
Responses
chevron-right
201

Created

application/json

Create card response

idstringOptional
post
/customers/{id}/payment-methods/card

Last updated

Was this helpful?