Refund details
GET/api/v1/refund/:id
To get comprehensive details of a refund, including the refunded amount, status, method, and timestamps
🔋 Sample request payload
{
"merchantCode": "842217", // Pass the merchant code
"refundAmount": "10.000",
"refundMethod": "1",
"token": "TXN1234560490040400404000404004"
}
🎯 Note: Payload must be encrypted before being sent to the server. To access the response data, decrypt it upon receiving the response from the server
⚡️ Payload details
Fields Name | Description | Required |
---|---|---|
merchantCode | Pass the merchant code | ✅ Yes |
refundAmount | Pass the refund amount | ✅ Yes |
refundMethod | Pass the refund method "1" or "2" | ✅ Yes |
token | Pass the transaction token number | ✅ Yes |
Request
Responses
- 200
- 404
- 500
Refunds details successfully fetched, Decrypt the response from the server to see the final result
Refund details not found – The requested refund details does not exist or cannot be located
Internal Server Error – An unexpected error occurred on the server while processing the request. This may be due to a temporary issue or a server-side malfunction. Please try again later or contact support if the issue persists.