Webhooks
For some requests, a callback action is required on completion. Here we provide you with the hooks we have.
You will provide the callback URL to set up the required hook.
The request HEADER (sha256hash is the hash of the payload), which will be passed in the header as thus: --header 'sha256hash: 40992f55517eb9b5d93206dd806c7c5baa5e6060b77ba8d037af1a41972aa9c9'
Card Payment Charge
Below is the expected payload for a completed transaction
{
"ResponseCode":"00",
"ResponseMessage":"Successful",
"Data":{
"TxRef":"SSP638486274286927768FF3E",
"Amount":"7",
"Currency":"USD",
"Status":"successful",
"UserReference":"TESTUREF2"
}
}{
"ResponseCode":"03",
"ResponseMessage":"Transaction failed",
"Data":{
"TxRef":"SSP638486274286927768FF3E",
"Amount":"7",
"Currency":"USD",
"Status":"failed",
"UserReference":"TESTUREF2"
}
}Last updated