8. Track payout status
GEThttps://api.royalpe.site/payout/merchant/api/payout-status
Retrieve a payout belonging to the authenticated merchant.
Required headers #
accessKey: YOUR_ACCESS_KEY
secretKey: YOUR_SECRET_KEYThe request must come from a whitelisted server IP.
Query parameters #
At least one identifier is required.
| Parameter | Type | Required | Description |
|---|---|---|---|
transactionId | string | If no orderId | Gateway transaction ID from payout creation |
orderId | string | If no transactionId | Merchant order ID |
Request examples #
GET /payout/merchant/api/payout-status?transactionId=PO-1a2b3c4d5e6f7a8bGET /payout/merchant/api/payout-status?orderId=ORD-10001Success response (HTTP 200) #
{
"status": true,
"message": "Payout transaction status retrieved successfully",
"data": {
"transactionId": "PO-1a2b3c4d5e6f7a8b",
"orderId": "ORD-10001",
"amount": 1500,
"status": "processing",
"remarks": "Vendor settlement",
"utr": ""
}
}data field | Description |
|---|---|
transactionId | Gateway payout transaction ID |
orderId | Merchant payout order ID |
amount | Payout amount in rupees |
status | Current payout state (below) |
remarks | Your remarks; once a payout fails, is rejected, cancelled or reversed, the reason |
utr | Payout bank reference: set when completed, empty before |
Payout status values #
| Value | Final | Meaning |
|---|---|---|
processing | no | Payout created and waiting to be transferred. The amount is reserved. |
completed | yes, unless reversed | Money transferred successfully; utr is set |
failed | yes | The bank refused the transfer. The amount is back in your balance. |
cancelled | yes | Withdrawn before transfer. The amount is back in your balance. |
reversed | yes | A completed transfer came back. The amount is back in your balance. |
rejected | yes | Not paid out (for example, beneficiary checks). The amount is back in your balance. |
Error responses #
{ "status": false, "message": "Payout transaction not found" }| HTTP code | Message |
|---|---|
| 400 | transactionId or orderId is required |
| 401 | Access key and secret key are required |
| 401 | Invalid access key or secret key |
| 403 | Access from IP <ip> is not allowed. |
| 404 | Payout transaction not found |