Payouts #
NOTIFICATIONS (WEBHOOKS) #
The Requery API (see GET Transaction Status below) always returns the latest state of a request when provided with the reference code and institution code. However, if you require notifications for your transactions, you need to provide a webhook URL that accepts POST requests in JSON format.
The notification comes for each stage ( transactionStatus
) of the transaction, that is, Logged
is the first stage, Successful
| Pending
| Failed
is the second stage. If it was Pending
, a third stage notification would be Successful
| Reversed
. Reversed
and Failed
imply the same thing, the transaction was canceled.
This is a sample of the body of the notification object