Secure Payments API – PUT Customers Add Checking Account


Linking a customer checking account to a customer is one of the customer options available through the Secure Payments API.

How To

To link a checking account to a customer, send a PUT to the following endpoint:

PUT{Customer ID}/add-checking-account

Remember to replace {Customer ID} with the customer's ID in the header. This will associate a customer with an existing checking account token.

Here's a sample of the necessary JSON payload:

"checking-account": {
"token": "YOUR TOKEN"

And here is a sample of the request in a cURL format:

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" \
} \
}' ''

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.

A successful response will just tell you that the result was "true," meaning the checking account payment profile has been linked to the customer:

"result": true

How did we do?

Powered by HelpDocs (opens in a new tab)