Skip to content

Payout Query

Request URL

methodurl
POST/api/pay/payout/query/v1

Header Information

Header ParameterDescription
timestampRequest timestamp
nonceRandom value
countryCountry code (BR)
app_codeApplication ID

Request Parameters

FieldTypeRequiredLengthDescription
merchantOrderNoStringyes32Merchant order number
signStringyesSignature
Request Example
{
"merchantOrderNo": "OrderNoExample",
"sign": "YOUR_SIGN"
}

Response Parameters

ParameterTypeRequiredLengthDescription
merchantOrderNoStringyes32Merchant order number
tradeNoStringyesPlatform order number
amountStringyesPayout amount
statusIntyesPayout status, 2: Success 3: Failed
serviceAmountStringyesService fee = Fixed fee + Transaction amount * Service rate
immServiceStringyesFixed fee
serviceRateStringyesService rate
totalRefundAmountStringyesTotal refund amount
refundDetailsArrayyesRefund details
- refundNoStringyesRefund number
- refundAmountStringyesRefund amount for this transaction
- refundStatusStringyesRefund status 0 (Partial refund) 1 (Full refund)
- refundTimeStringyesRefund time for this transaction
errorCodenumberyesOrder failure error code
errorMessageStringyesOrder failure error message
completeTimeStringyesCompletion time in current country timezone, format: yyyy-MM-dd HH:mm:ss
{
"code": 200,
"data": {
"merchantOrderNo": "OrderNoExample",
"tradeNo": "TF2405220001BR0000509326631881",
"amount": "300.11",
"status": 1,
"serviceRate": "0.0500",
"serviceAmount": "20.01",
"immService": "5.00",
"completeTime": null,
"errorCode": null,
"errorMessage": null
},
"msg": "success",
"traceId": "2e0e38e3e9a24b60b4f57c6d2ced196a.115.17744291515713103"
}
Refund
{
"code": 200,
"data": {
"merchantOrderNo": "OrderNoExample",
"tradeNo": "TF2405220001BR0000509326631881",
"errorMessage": "FINAL_FAILURE_MANUAL",
"amount": "1000.00",
"status": 4,
"serviceRate": "0.0500",
"serviceAmount": "55.00",
"immService": "5.00",
"completeTime": "2026-04-17 00:23:24",
"errorCode": 1024,
"cepUrl": null,
"totalRefundAmount": "1000.00",
"refundDetails": [
{
"refundNo": "T001-20260417002149463108",
"refundAmount": "500.00",
"refundStatus": 2,
"refundTime": "2026-04-17 00:21:50"
},
{
"refundNo": "T001-20260417002149463108123123",
"refundAmount": "500.00",
"refundStatus": 2,
"refundTime": "2026-04-17 00:21:50"
}
]
},
"msg": "success",
"traceId": "dcf1aee524564c5485a655d09a02aa02.86.17766720253031143"
}
Order Not Found Response Example
{
"code": 400,
"msg": "Order not found",
"success": false
}