Skip to main content
GET
/
refunds
/
{id}
Get a refund
curl --request GET \
  --url https://api.alguna.io/refunds/{id} \
  --header 'Alguna-Version: <alguna-version>' \
  --header 'Authorization: Bearer <token>'
{
  "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"
}

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

Path Parameters

id
string
required

Unique identifier for the refund

Response

Success

amount
string
required

Refund amount as a decimal string

Example:

"99.00"

created_at
string<date-time>
required

Timestamp when the refund was created

Example:

"2026-04-01T10:00:00Z"

currency
string
required

Currency code

Example:

"USD"

customer_id
string
required

The customer that received the refund

Example:

"cust_01H1VECT"

id
string
required

Unique identifier for the refund

Example:

"re_01H1VECT"

payment_id
string
required

The original payment that was refunded

Example:

"pay_01H1VECT"

status
enum<string>
required

Refund status

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

"succeeded"

updated_at
string<date-time>
required

Timestamp when the refund was last updated

Example:

"2026-04-01T12:30:00Z"

external_id
string | null

External reference ID from the payment processor

external_url
string | null

Link to view the refund in the payment processor's dashboard

failure_reason
string | null

Reason for failure if status is failed

processor_id
string | null

Payment processor's internal refund ID

reason
string | null

Reason for the refund

Example:

"Customer requested refund"