cURL
curl --request GET \ --url https://uat-api.clinkbill.com/api/refund/{id} \ --header 'X-API-KEY: <api-key>' \ --header 'X-Timestamp: <api-key>'
{ "code": 200, "msg": "success", "data": { "createTime": 1754819711382, "refundId": "rfd_abc123xyz", "orderId": "order_def456uvw", "customerId": "cus_ghi789rst", "refundAmount": 19.99, "refundCurrency": "USD", "status": "success", "refundReason": "Customer Initiated Refund", "metadata": "{\"arn\":\"8377252556170253\", \"merchantReferenceId\":\"sample_id\"}" } }
Get detailed information about a specific refund
Your secret API key obtained from the Clink dashboard (Developers section)
Current timestamp in milliseconds since Unix epoch (required for request signing)
Unique identifier of the refund
Refund details retrieved successfully
Response status code, 200 when success
200
Brief description of what happened, 'success' when happy case
"success"
Show child attributes