GET
/
pg
/
refunds
/
{refund_id}
curl --request GET \
  --url https://api-staging.eximpe.com/pg/refunds/{refund_id} \
  --header 'X-Client-ID: <api-key>' \
  --header 'X-Client-Secret: <api-key>'
{
  "success": true,
  "message": "Refund details retrieved successfully",
  "data": {
    "refund_id": "RF1481534012",
    "refund_amount": 12,
    "refund_status": "INITIATED",
    "refunded_at": null,
    "message": "No action status found",
    "payment_id": "PR3828502708"
  }
}

Authorizations

X-Client-ID
string
header
required

Client app ID. You can find your app id in the merchant dashboard.

X-Client-Secret
string
header
required

Client secret key. You can find your secret in the merchant dashboard.

Path Parameters

refund_id
string
required

The ID of the refund to retrieve.

Response

200
application/json

The details of the refund.

The response is of type object.