Types of webhooks

We notify transaction status through webhooks.

Method : Post

Headers Content-Type - application/json Request Body: Body for different webhook types is mentioned below along with description.

Low Balance webhook

The webhook event is generated when the merchant account has a low balance. The event signals to deposit money in the merchant virtual account so that upcoming transfer requests can be quickly processed.

Example

{
"event" : "LOW_BALANCE_ALERT",
"msg" : "Low Balance",
"currentBalance" : "123.2",
"alertTime" : "05 March 2019 06:13 PM"
}

Deposit webhook

Webhook event generated to signal that a deposit has been successfully processed in the merchant virtual account. The money in the account can be used to do payouts to various beneficiary accounts.

Example

{
"event" : "DEPOSIT_SUCCESS",
"msg" : "",
"transferId" : "3212312ds",
"referenceId" : "fdsfe",
"payoutMerchantId" : "1111111",
“amount” : 123;
}

Request processing failed

Webhook event generated to signal that a transfer request has failed processing.

Example

{
"event" : "REQUEST_PROCESSING_FAILED",
"msg" : "",
"payuRefId" : "3212312ds",
"merchantReferenceId" : "3212312ds"
}

Transfer success webhook

Webhook event generated to signal that a transfer has been successful.

Example

{
"event" : "TRANSFER_SUCCESS",
"msg" : "",
"payuRefId" : "3212312ds",
"merchantReferenceId" : "3212312ds",
"bankReferenceId" : "3212312ds"
}

Transfer failed webhook

Webhook event generated to signal that a transfer has failed.

Example

{
"event" : "TRANSFER_FAILED",
"msg" : "",
"payuRefId" : "3212312ds",
"merchantReferenceId" : "3212312ds",
"bankReferenceId" : "3212312ds",
"errorCode" : "23123"
}

Transfer Reversed webhook

Webhook event generated to signal that a transfer was successful but reversed after few days due to different reasons.

Example

{
"event" : "TRANSFER_REVERSED",
"msg" : "Transfer Reversed",
"payuRefId" : "3212312ds",
"merchantReferenceId" : "3212312ds",
"bankReferenceId" : "3212312ds",
}

Smart Send Detail Submitted

Webhook event generated to signal that a beneficiary has added their account details on the smart send link.

Example


{
"event" : " SMART_SEND_DETAIL_SUBMITTED",
"msg" : "Detail filled",
"linkId" : "3212312ds",
"merchantReferenceId" : "3212312ds",
"merchantMiscId" : "3212312ds"
}

Last updated