Skip to main content
GET
/
refunds
/
{refund_id}
Get Refund
curl --request GET \
  --url https://quickei.io/pay/sandbox/api/v1/refunds/{refund_id} \
  --header 'Authorization: Bearer <token>'

Documentation Index

Fetch the complete documentation index at: https://developer.quickei.io/llms.txt

Use this file to discover all available pages before exploring further.

Retrieve the full details of a specific refund.

Endpoint

GET https://quickei.io/pay/sandbox/api/v1/refunds/{refund_id}

Path Parameters

refund_id
string
required
The refund ID (e.g. RF-20240115-X7Y8Z9).

Example Request

curl https://quickei.io/pay/sandbox/api/v1/refunds/RF-20240115-X7Y8Z9 \
  -H "Authorization: Basic {base64_credentials}"

Success Response 200

{
  "message": {
    "success": ["Refund details retrieved"]
  },
  "data": {
    "refund_id": "RF-20240115-X7Y8Z9",
    "transaction_id": "TRX-98765",
    "amount": "10.00 EUR",
    "raw_amount": 10.00,
    "currency": "EUR",
    "status": "completed",
    "reason": "Item returned",
    "reference": "RFD-2024-001",
    "created_at": "2024-01-15T16:30:00+00:00"
  }
}

Response Fields

FieldDescription
refund_idUnique refund identifier (RF prefix)
transaction_idOriginal payment transaction ID
amountFormatted refund amount with currency
raw_amountNumeric refund amount
currencyISO 4217 currency code
statuspending, completed, or failed
reasonRefund reason (if provided)
referenceYour internal reference (if provided)
created_atISO 8601 timestamp

Error Response 404

{
  "message": {
    "error": ["Refund not found"]
  }
}