Add payment method

Add a payment method using a source, e.g. one-time card token ct_.... An existing customer can be referenced or a new customer can be created in an atomic operation.

Errors

The operation can generate the following errors beside the generic HTTP error codes described here.

Error code HTTP codeDescription
9404Customer not found
34400Invalid card token provided as source
40404Payment method not found
103400Card token already used
104400Card token has expired
Language
Authorization
Basic
base64
:
Click Try It! to start a request and see the response here!