RefundListResponse
successboolean
Example:
truedata object[]
Array [
refundIdstring
Example:
rfnd_1701234567890_abcamountnumber
Refund amount in dollars
Example:
50reasonstring
Example:
Customer requested refundstatusstring
Possible values: [initiated, processing, success, failed]
gatewayRefundIdstring
Refund ID from payment gateway
initiatedBystring
Merchant ID who initiated refund
initiatedAtstring<date-time>
processedAtstring<date-time>
notesstring
transaction object
Associated transaction summary
orderIdstring
Example:
ORD_1701234567890_abc123externalOrderIdstring
Example:
MY-ORDER-123amountnumber
Example:
100statusstring
]
pagination object
pageinteger
Example:
1limitinteger
Example:
50totalinteger
Total number of items
Example:
150totalPagesinteger
Example:
3RefundListResponse
{
"success": true,
"data": [
{
"refundId": "rfnd_1701234567890_abc",
"amount": 50,
"reason": "Customer requested refund",
"status": "initiated",
"gatewayRefundId": "string",
"initiatedBy": "string",
"initiatedAt": "2024-07-29T15:51:28.071Z",
"processedAt": "2024-07-29T15:51:28.071Z",
"notes": "string",
"transaction": {
"orderId": "ORD_1701234567890_abc123",
"externalOrderId": "MY-ORDER-123",
"amount": 100,
"status": "string"
}
}
],
"pagination": {
"page": 1,
"limit": 50,
"total": 150,
"totalPages": 3
}
}