Secure Payments API – PUT Customers Add Card


Adding customer cards is one of the customer options available through the Secure Payments (formerly PCI Wallet) 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.

This associates a credit card token with a customer. After you have created a credit card token, you can associate that 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" \
} \
}' ''

You can try it out yourself in our ReadMe page: Add Card to Customer

How did we do?

Powered by HelpDocs (opens in a new tab)