Skip to main content
GET
/
refunds
List Refunds
curl --request GET \
  --url https://quickei.io/pay/sandbox/api/v1/refunds \
  --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 a paginated list of refunds for your merchant account, with optional filters.

Endpoint

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

Query Parameters

transaction_id
string
Filter by original payment transaction ID.
status
string
Filter by refund status: pending, completed, failed.
from_date
string
Start date filter (ISO 8601, e.g. 2024-01-01).
to_date
string
End date filter (ISO 8601, e.g. 2024-01-31).
page
integer
Page number (default: 1).
per_page
integer
Results per page (1–100, default: 20).

Example Request

curl -G https://quickei.io/pay/sandbox/api/v1/refunds \
  -H "Authorization: Basic {base64_credentials}" \
  -d "transaction_id=TRX-98765" \
  -d "status=completed" \
  -d "per_page=10"

Success Response 200

{
  "message": {
    "success": ["Refunds retrieved"]
  },
  "data": {
    "refunds": [
      {
        "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"
      }
    ],
    "pagination": {
      "current_page": 1,
      "per_page": 10,
      "total": 1,
      "last_page": 1
    }
  }
}