Secure Payments API PUT Customers Add Card
General
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 the endpoint: customers/{id}/add-card
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.
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" \
} \
}' 'https://pciwallet.simnang.com/api/customers/1/add-card'