Secure Payments API PUT Customers Add Checking Account
General
Linking a customer checking account to a customer is one of the customer options available through the Secure Payments (formerly PCI Wallet) API.
To link the checking account to the customer, send a PUT to the endpoint:
https://pciwallet.simnang.com/api/customers/{Customer ID}/add-checking-account
Replace {Customer ID} with the customer's ID in the header.
This will associate a customer with an existing checking account token.
An example of the body is given below:
curl -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'authorization: YOUR AUTH' --header 'secret: YOUR SECRET' -d '{ \
"checking-account": { \
"token": "YOUR TOKEN" \
} \
}' 'https://pciwallet.simnang.com/api/customers/12/add-checking-account'
Note: When you create a payment profile (ex: credit card, checking account, etc.) in Secure Payments a token will be generated for that payment profile. Make sure to record this token as you cannot access it again. This token will be needed if you wish to use this payment profile through the API in Secure Payments.