RRoyal Pay API docs
Menu

8. Track payout status

GEThttps://api.royalpe.site/payout/merchant/api/payout-status

Retrieve a payout belonging to the authenticated merchant.

Required headers #

Headers
accessKey: YOUR_ACCESS_KEY
secretKey: YOUR_SECRET_KEY

The request must come from a whitelisted server IP.

Query parameters #

At least one identifier is required.

ParameterTypeRequiredDescription
transactionIdstringIf no orderIdGateway transaction ID from payout creation
orderIdstringIf no transactionIdMerchant order ID

Request examples #

By transactionId
GET /payout/merchant/api/payout-status?transactionId=PO-1a2b3c4d5e6f7a8b
By orderId
GET /payout/merchant/api/payout-status?orderId=ORD-10001

Success response (HTTP 200) #

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 fieldDescription
transactionIdGateway payout transaction ID
orderIdMerchant payout order ID
amountPayout amount in rupees
statusCurrent payout state (below)
remarksYour remarks; once a payout fails, is rejected, cancelled or reversed, the reason
utrPayout bank reference: set when completed, empty before

Payout status values #

ValueFinalMeaning
processingnoPayout created and waiting to be transferred. The amount is reserved.
completedyes, unless reversedMoney transferred successfully; utr is set
failedyesThe bank refused the transfer. The amount is back in your balance.
cancelledyesWithdrawn before transfer. The amount is back in your balance.
reversedyesA completed transfer came back. The amount is back in your balance.
rejectedyesNot paid out (for example, beneficiary checks). The amount is back in your balance.

Error responses #

Error
{ "status": false, "message": "Payout transaction not found" }
HTTP codeMessage
400transactionId or orderId is required
401Access key and secret key are required
401Invalid access key or secret key
403Access from IP <ip> is not allowed.
404Payout transaction not found