GET
/
pg
/
refunds
/
{refund_id}
/
Get Refund
curl --request GET \
  --url https://api-pacb-uat.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

The details of the refund.

success
boolean
required

Indicates if the request was successful

message
string
required

Response message

data
object
required