List checkout sessions
GET
List checkout sessions with optional filters.
apiKeyHeaderheader
x-api-key<token>API key for authentication. Generate from the dashboard or via POST /v1/api-keys.
cursor?stringPagination cursor from the previous response's next_cursor
limit?numberNumber of records to return per page (1–100)
Range
1 <= value <= 100Default
20status?stringFilter by session status. One of: open, completed, expired, canceled
customer_id?stringFilter sessions by customer ID
x-api-key*stringAPI key for authentication
Length
1 <= lengthResponse for status 200
application/json- response
data*array<>has_more*booleannext_cursor*string|nullcurl -X GET 'https://api.tryaccess.xyz/api/v1/checkout/sessions/' \ -H 'x-api-key: string'{ "data": [ { "id": "string", "mode": "string", "status": "string", "currency": "string", "amount_total": 0, "line_items": null, "subscription": "string", "expires_at": "string", "created_at": "string", "customer": { "id": "string", "name": "string", "email": "string", "phone_number": "string" } } ], "has_more": true, "next_cursor": "string"}How is this guide?