Secure Payments API – Update Callbacks


This article explains how to update callbacks via the Secure Payments API. For information on creating and receiving callbacks, take a look at some our other articles:

How To

To update a callback, send a PUT request to the endpoint for that specific callback. Here's a sample endpoint:{CallbackID}

Remember to replace {CallbackID} with the ID for your specific callback (see the Get Callback article if you don't know that ID).

Here's a sample payload:

"callback": {
"event": "bank-account-create",
"url": "",
"enabled": false

And a cURL payload:

curl -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'authorization: YOUR AUTH' --header 'secret: YOUR SECRET' -d '{ \
"callback": { \
"event": "password-update", \
"enabled": true \
} \
}' ''

How did we do?

Powered by HelpDocs (opens in a new tab)