List your checkout sessions
list_checkout_sessionsLists the create_checkout_link sessions made under your OAuth client, newest first: each with its status (awaiting_checkout, checkout_started, paid, label_ready, delivered, refunded or cancelled), amount, service, the item and ZIP codes you sent, the order_id once a checkout exists and the tracking number once the label does. Use it to find a session_id you no longer hold, or as a list of past labels; for one session you know, call get_checkout_status. SMKlog records only: no carrier call, no quote allowance.
Parameter rules:
Needs a bearer token on the MCP connection (Authorization: Bearer, from /oauth/token; register a client at /oauth/register). Without one it answers token_required.
Only sessions created while that token was sent are listed.
limit is 1 to 50, default 20; pass next_cursor as cursor for the next page, null means the end.
Sessions live 30 days; expired ones are not listed.
No names, street addresses or emails.
60 calls an hour per client, shared with get_checkout_status.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_checkout_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Sessions per page, 1 to 50. | |
| cursor | No | next_cursor from the previous page; omit for the newest sessions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Up to limit sessions | |
| limit | No | Page size used | |
| has_more | Yes | True when older sessions remain | |
| next_cursor | Yes | Pass as cursor for the next page; null at the end |