Secure Payments API – Update Callbacks


How To

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

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

It will update the specified callback.

How did we do?

Powered by HelpDocs (opens in a new tab)