post https://api.reepay.com/v1/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 code | Description |
---|---|---|
9 | 404 | Customer not found |
34 | 400 | Invalid card token provided as source |
40 | 404 | Payment method not found |
103 | 400 | Card token already used |
104 | 400 | Card token has expired |