Skip to content

Search API reference

Find an endpoint or a guide of the Sovgate API reference and jump straight to it.

List checkout sessions

List your checkout sessions, newest first.

GET/v1/checkout/sessions

List your checkout sessions, newest first.

Endpoint

http
GET /v1/checkout/sessions

Query parameters

NameTypeRequiredDescription
limitintegerOptionalHow many to return, from 1 to 100. Default 10.
starting_afterstringOptionalAn ID from the last page: the list continues after it.
ending_beforestringOptionalAn ID from the first page: the list returns the page before it.

Example request

bash
curl "https://api.sovgate.com/v1/checkout/sessions?limit=3" \  -H "Authorization: Bearer sov_sk_test_your_key"

Example response

json
{  "object": "list",  "url": "/v1/checkout/sessions",  "has_more": false,  "data": [    {      "id": "cs_test_8a34998a7056ac775cff7b78",      "object": "checkout_session",      "livemode": false,      "mode": "payment",      "status": "complete",      "payment_status": "paid",      "ui_mode": "hosted_page",      "currency": "usd",      "amount_total": 4000,      "line_item_count": 1,      "customer": null,      "client_reference_id": "order_8812",      "metadata": {        "cart": "c_1042"      },      "url": null,      "payment_link": null,      "payment": "pay_baa7f53c0bc0867df75250d9",      "attempts": 1,      "created": "2026-11-27T14:00:00Z",      "expires_at": "2026-11-28T14:00:00Z",      "completed_at": "2026-11-27T14:03:41Z",      "expired_at": null    }  ]}