Refunds

List Refunds

Cursor based endpoint to retrieve all account refunds.

Required scope: <code style="background:#e8f0fe;color:#1a73e8;padding:2px 8px;border-radius:12px;font-size:0.85em">refund:read</code>

get/refund

Request

  • Base URL
    https://api.test.easypay.pt/2.0
  • Auth
    API key in header AccountId and API key in header ApiKey

Query parameters

cursor, string

The cursor parameter is used for pagination. It specifies the pointer to the start of the next set of results in a sequence of paginated data. Typically, this is a unique identifier of the last item from the previous response. If not provided, the API fetches the first page of results.

limit, number

The limit parameter is used for pagination. It specifies the maximum number of entries to return in a single page of results. Max 100.

created_at, string
Example:interval(2006-01-02 15:04,2006-01-02 15:04)

Filter records by creation datetime interval in UTC. Maximum allowed range is 30 days. Format: interval(YYYY-MM-DD HH:MM,YYYY-MM-DD HH:MM).

updated_at, string
Example:interval(2006-01-02 15:04,2006-01-02 15:04)

Filter records by update datetime interval. Maximum range of 30 days. Format: interval(YYYY-MM-DD HH:MM,YYYY-MM-DD HH:MM)

Response

OK

RefundGetListResponse required
metadata, object

An object containing additional information about the response. It includes details that help manage and navigate the retrieved data.

data, object[]

Example response

{
  "metadata": {
    "count": 5
  },
  "data": [
    {
      "value": 10.89,
      "iban": "PT50007950088428437201551",
      "email": "customer@example.pt",
      "phone": "+351912345678",
      "create_at": "2025-12-02 16:00:00",
      "update_at": "2025-12-02 16:00:00"
    }
  ]
}

Changes

No recorded changes to this operation across all 11 revisions of this API.