Skip to main content
GET
/
refunds
List refunds
curl --request GET \
  --url https://api.alguna.io/refunds \
  --header 'Alguna-Version: <alguna-version>' \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "amount": "99.00",
      "created_at": "2026-04-01T10:00:00Z",
      "currency": "USD",
      "customer_id": "cust_01H1VECT",
      "id": "re_01H1VECT",
      "payment_id": "pay_01H1VECT",
      "status": "succeeded",
      "updated_at": "2026-04-01T12:30:00Z",
      "external_id": "<string>",
      "external_url": "<string>",
      "failure_reason": "<string>",
      "processor_id": "<string>",
      "reason": "Customer requested refund"
    }
  ],
  "pagination": {
    "per_page": 20,
    "total_pages": 5
  }
}

Documentation Index

Fetch the complete documentation index at: https://alguna.com/docs/llms.txt

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

Authorizations

Authorization
string
header
required

API key authentication. Pass your API key as a Bearer token.

Headers

Alguna-Version
enum<string>
required
Available options:
2026-04-01

Query Parameters

currency
string

Filter by ISO 4217 currency code

Example:

"USD"

customer_id
string

Filter by customer ID

Example:

"cust_abc123"

limit
integer<int64>
required

Number of items to return per page

Example:

20

offset
integer<int64>
required

Number of items to skip

Example:

0

payment_id
string

Filter by payment ID

Example:

"pay_abc123"

sort
string
required

Sort field and direction in format field:order

Example:

"created_at:desc"

status
enum<string>[]

Filter by refund status. Pass a comma-separated list to match any.

Available options:
pending,
succeeded,
failed,
canceled
Example:

"succeeded"

Response

Success

data
object[]
required

List of refunds

pagination
object
required

Pagination metadata