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

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 payment

Response

Success

amount
string
required

Payment amount

Example:

"500.00"

created_at
string<date-time>
required

Timestamp when the payment was created

Example:

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

currency
string
required

ISO 4217 currency code

Example:

"USD"

customer_id
string
required

Customer ID

Example:

"cust_01H1VECT"

id
string
required

Unique identifier for the payment

Example:

"pay_01H1VECT"

status
string
required

Payment status

Example:

"succeeded"

updated_at
string<date-time>
required

Timestamp when the payment was last updated

Example:

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

amount_received
string | null

Amount received

Example:

"500.00"

amount_refunded
string | null

Amount refunded

Example:

"0.00"

external_id
string | null

Payment processor external ID

Example:

"pi_3Nf8jD2eZvKYlo2C1FqKpBa3"

external_url
string | null

URL to view the payment in the processor's dashboard

Example:

"https://dashboard.stripe.com/payments/pi_3Nf8jD2eZvKYlo2C1FqKpBa3"

failed_at
string<date-time> | null

Timestamp when the payment failed

Example:

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

invoice_id
string | null

Associated invoice ID

Example:

"inv_01H1VECT"

paid_at
string<date-time> | null

Timestamp when the payment was completed

Example:

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