Skip to main content
GET
/
payments
List payments
curl --request GET \
  --url https://api.alguna.io/payments \
  --header 'Alguna-Version: <alguna-version>' \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "amount": "500.00",
      "created_at": "2026-04-01T10:00:00Z",
      "currency": "USD",
      "customer_id": "cust_01H1VECT",
      "id": "pay_01H1VECT",
      "status": "succeeded",
      "updated_at": "2026-04-01T10:00:00Z",
      "amount_received": "500.00",
      "amount_refunded": "0.00",
      "external_id": "pi_3Nf8jD2eZvKYlo2C1FqKpBa3",
      "external_url": "https://dashboard.stripe.com/payments/pi_3Nf8jD2eZvKYlo2C1FqKpBa3",
      "failed_at": "2026-04-01T10:00:00Z",
      "invoice_id": "inv_01H1VECT",
      "paid_at": "2026-04-01T10:00:00Z"
    }
  ],
  "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

customer_id
string

Filter by customer ID

Example:

"cust_01H1VECT"

invoice_id
string

Filter by invoice ID

Example:

"inv_01H1VECT"

limit
integer<int64>
required

Number of items to return per page

Example:

20

offset
integer<int64>
required

Number of items to skip

Example:

0

Response

Success

data
object[]
required

List of payments

pagination
object
required

Pagination metadata