Skip to main content
GET
/
pg
/
refunds
/
{refund_id}
Get Refund
curl --request GET \
  --url https://api-pacb-uat.eximpe.com/pg/refunds/{refund_id}/ \
  --header 'X-API-Version: <api-key>' \
  --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 Application ID - Your unique application identifier used to authenticate API requests. You can find your Client ID in the Developer Settings section of the merchant dashboard.

X-Client-Secret
string
header
required

Client Secret Key - Your secret key used alongside the Client ID for secure authentication. Keep this confidential and never expose it in client-side code. Available in the Developer Settings section of the merchant dashboard.

X-API-Version
string
header
required

API Version - Specifies which version of the API to use (e.g., '1.X.X' or '2.X.X'). This header allows you to control which API version your integration uses. Default version information is available in the Developer Settings.

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