Refunds
API ReferenceRefundsRetrieve
Retrieve Refund
Retrieve details of an existing refund by its ID.
GET /refunds/:refund_id
Path Parameters
| Parameter | Type | Description |
|---|---|---|
refund_id | string | Required. The ID of the refund to retrieve. |
Request Example
curl 'https://api.v2.paychtec.com/refunds/ref_1234567890abcdef' \ -H "api-key: snd_YOUR_API_KEY"Response
{
"refund_id": "ref_1234567890abcdef",
"payment_id": "pay_mbabizu24mvu3mela5njyhpit4",
"amount": 500,
"currency": "USD",
"status": "succeeded",
"reason": "Customer requested refund",
"created": "2024-01-22T14:00:00Z",
"modified_at": "2024-01-22T14:00:05Z"
}