How It Works
1
Register your callback URL
Log in to the bluSwap dashboard and navigate to the webhook settings section. Enter the publicly accessible HTTPS URL where you want bluSwap to deliver payout notifications.
2
Receive the POST request
When a payout reaches a terminal state (
SUCCESS or FAILED), bluSwap sends a POST request with Content-Type: application/json to your registered callback URL.3
Parse the payload and respond
Read the
data.trx_status field to determine the outcome, update your internal records, and return an HTTP 200 response to acknowledge receipt.Webhook Request
bluSwap delivers webhook events as HTTPPOST requests with the header Content-Type: application/json.
Payload
Payload Fields
string
Terminal status of the payout. Possible values:
SUCCESS or FAILED.string
bluSwap’s unique identifier for the transaction (e.g.,
"TXN8746234890").string
Human-readable status message describing the outcome of the transaction (e.g.,
"Transaction completed successfully").string
Your internal order ID that was submitted when the payout was initiated.
number
Amount disbursed in INR (e.g.,
1500.75).string
Transfer mode used to execute the payout (e.g.,
IMPS, NEFT, RTGS).string
Name of the beneficiary contact as registered in bluSwap.
string
Name as registered at the beneficiary’s bank, returned from bank verification.
string
Beneficiary bank account number to which the funds were sent.
string
IFSC code of the beneficiary’s bank branch (e.g.,
"HDFC0001234").string
Unique Transaction Reference number confirming the bank transfer. This field is
null when the transaction has failed.string
Timestamp of the final status update in
YYYY-MM-DD HH:MM:SS format.number
Transaction fee levied by bluSwap for processing the payout (in INR).
number
GST applied on the transaction charge (in INR).
