docs

List refunds

Lists refunds with optional filters for charge and pagination.

GET
/refunds

Lists refunds with optional filters for charge and pagination.

AuthorizationBearer <token>

API key for merchant integrations. Send as Authorization: Bearer <your key>.

In: header

Query Parameters

chargeId?string

Filter by charge ID

limit?number

Number of results (max 100)

offset?number

Pagination offset

Response Body

application/json

curl -X GET "https://example.com/refunds"
{
  "data": [
    {
      "id": "re_abc123",
      "chargeId": "ch_xyz789",
      "amount": "50000",
      "currency": "EGP",
      "status": "succeeded",
      "createdAt": "2024-01-01T00:00:00.000Z"
    }
  ],
  "hasMore": false
}