Secure Payments API – DELETE Customers Checking Account

General

Deleting customer checking accounts is one of the customer options available through the Secure Payments API.

How To

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

DELETE https://securepayments.loanpro.io/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://securepayments.loanpro.io/api/customers/34/checking-account'


How did we do?


Powered by HelpDocs (opens in a new tab)