Skip to main content
GET
/
checkouts
List checkouts
curl --request GET \
  --url https://api.billing.io/v1/checkouts \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "checkout_id": "co_1a2b3c4d5e",
      "deposit_address": "<string>",
      "amount_usd": 123,
      "amount_atomic": "49990000",
      "tx_hash": "<string>",
      "confirmations": 123,
      "required_confirmations": 19,
      "expires_at": "2023-11-07T05:31:56Z",
      "detected_at": "2023-11-07T05:31:56Z",
      "confirmed_at": "2023-11-07T05:31:56Z",
      "created_at": "2023-11-07T05:31:56Z",
      "metadata": {}
    }
  ],
  "has_more": true,
  "next_cursor": "<string>"
}
Returns a paginated list of checkouts, newest first. Supports filtering by status.
curl "https://api.billing.io/v1/checkouts?limit=10&status=confirmed" \
  -H "Authorization: Bearer $BILLING_API_KEY"
Response
{
  "data": [
    {
      "checkout_id": "co_a1b2c3d4e5f6a7b8c9d0e1f2",
      "status": "confirmed",
      "amount_usd": 49.99,
      "chain": "tron",
      "token": "USDT"
    }
  ],
  "has_more": true,
  "next_cursor": "co_f1e2d3c4b5a6"
}

Authorizations

Authorization
string
header
required

Use your secret API key as a Bearer token. Keys are prefixed: sk_live_ (production) or sk_test_ (sandbox).

Query Parameters

cursor
string

Opaque cursor for pagination. Omit for the first page.

limit
integer
default:25

Number of items per page.

Required range: 1 <= x <= 100
status
enum<string>
  • pending — Waiting for payment
  • detected — Transaction seen on-chain, unconfirmed
  • confirming — Confirmations in progress
  • confirmed — Payment fully confirmed (terminal)
  • expired — Checkout TTL exceeded without payment (terminal)
  • failed — Unrecoverable error (terminal)
Available options:
pending,
detected,
confirming,
confirmed,
expired,
failed

Response

Checkout list

data
object[]
has_more
boolean
next_cursor
string | null