Secure Payments API – Add Card to Customer


Adding customer cards is one of the customer options available through the Secure Payments API.

How To

Send a PUT request to this endpoint:


Be sure to replace {id} with the ID of the specific customer you want to add a card to.

After you have created a credit card token, you can use the token to associate the card with a customer. This will ensure that whenever a transaction is created there is a customer associated with it.

Sample payload:

"credit-card": {

Sample cURL request:

curl -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'authorization: YOUR AUTH' --header 'secret: YOUR SECRET' -d '{ \
"credit-card": { \
"token": "CARD TOKEN" \
} \
}' ''

How did we do?

Powered by HelpDocs (opens in a new tab)