9. Payout webhook
Royal Pay notifies your server of payout status changes through the optional callbackUrl provided at payout creation.
Payload format #
{
"transactionId": "PO-1a2b3c4d5e6f7a8b",
"orderId": "ORD-10001",
"amount": 1500,
"status": "completed",
"remarks": "Vendor settlement",
"utr": "SBIN326113012345",
"timestamp": "2026-11-30T11:02:17.420Z"
}| Field | Description |
|---|---|
transactionId | Gateway payout identifier |
orderId | Merchant payout identifier |
amount | Payout amount in rupees |
status | One of the statuses below |
remarks | Your remarks; for failed, rejected, cancelled and reversed, the reason |
utr | Bank transaction reference: set for completed and reversed, empty otherwise |
timestamp | When Royal Pay created the event, ISO 8601 UTC |
| Webhook status | Meaning |
|---|---|
progress | Payout is being processed (sent when it's created) |
completed | Payout transferred |
failed | Payout failed; the amount is back in your balance |
cancelled | Payout cancelled; the amount is back in your balance |
reversed | Payout reversed; the amount is back in your balance |
rejected | Payout rejected; the amount is back in your balance |
As in 777 Pay, the webhook calls a new payout progress, while the create and status endpoints call it processing: they mean the same thing. Every payout sends progress first, then its outcome. A create call retried with the same orderId doesn't send progress again. Royal Pay also sends rejected.
Signature, acknowledgement and retries #
Exactly as pay-in webhooks: headers X-Event-Id, X-Timestamp and X-Signature = hex HMAC-SHA256 of X-Event-Id + "." + X-Timestamp + "." + raw body with your webhook signing key. Answer 2xx within 8 seconds; anything else is retried with the same X-Event-Id for about 12 hours.
Act on each payout's latest status, keyed on transactionId. A reversed can follow a completed.