Retrieve a checkout session
get_checkout_sessionRetrieve a checkout session by its cs_… ID to inspect payment checkout details and status. Use it when you need to look up a specific session for payment follow-up or troubleshooting.
Instructions
Retrieve a checkout session.
Retrieve a checkout session by id (cs_…).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "get_checkout_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The checkout session id (`cs_…`). |