PaymentMethods
Required 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
201
Created
application/json
Create card CVV response
successbooleanOptional
400
Bad Request
application/json
422
Unprocessable Entity
application/json
post
/customers/{id}/payment-methods/{card_id}/cvvRequired 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.00currencystring · enumOptionalExample:
USDPossible values: Responses
200
OK
application/json
400
Bad Request
application/json
404
Not Found
application/json
post
/customers/{id}/payment-methods/{card_id}/feesRequired scopes
This endpoint requires the following scopes:
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
idstringRequired
Customer ID
method_idstringRequired
Payment Method ID
Responses
201
Created
application/json
Delete a payment method
responsestringOptional
400
Bad Request
application/json
422
Unprocessable Entity
application/json
delete
/customers/{id}/payment-methods/{method_id}Required scopes
This endpoint requires the following scopes:
Authorizations
OAuth2clientCredentialsRequired
Token URL:
Path parameters
idstringRequired
Customer ID
method_idstringRequired
Payment Method ID
Responses
201
Created
application/json
Change default method response
responsestringOptional
400
Bad Request
application/json
422
Unprocessable Entity
application/json
patch
/customers/{id}/payment-methods/{method_id}/defaultRequired 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
201
Created
application/json
Create bank account response
idstringOptional
400
Bad Request
application/json
422
Unprocessable Entity
application/json
post
/customers/{id}/payment-methods/bankRequired 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
201
Created
application/json
Create card response
idstringOptional
400
Bad Request
application/json
422
Unprocessable Entity
application/json
post
/customers/{id}/payment-methods/cardLast updated
Was this helpful?
