Secure Payments API – DELETE Customers Checking Account

General

Deleting customer checking accounts is one of the customer options available through the Secure Payments (formerly PCI Wallet) API.

How To

To delete a customer's checking account, send a DELETE request to the endpoint:

DELETE https://pciwallet.simnang.com/api/customers/{id}/checking-account

Just replace {id} with the customer ID for the specific customer you'd like to remove the payment profile from.

Here's a sample payload to delete the customer from a checking-account:

{
"checking-account": {
"token": "CHECKING TOKEN"
}
}

And here's a sample cURL request:

curl -X DELETE --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'authorization: YOUR AUTH' --header 'secret: YOUR SECRET' -d '{ \
"checking-account": { \
"token": "CHECKING TOKEN" \
} \
}' 'https://pciwallet.simnang.com/api/customers/34/checking-account'

To try it out, see our ReadMe page: Delete Checking Account


How did we do?


Powered by HelpDocs (opens in a new tab)