Retrieve the status and details of a checkout session
| Parameter | Type | Description |
|---|---|---|
checkout_id | string | The checkout session ID |
| Status | Description |
|---|---|
open | Session created, awaiting customer payment |
paid | Customer completed payment, order created |
expired | Session expired (24 hours) |
paid, use the order_id to query the Order for full payment details.
| Status Code | Error Code | Description |
|---|---|---|
| 401 | unauthorized | Invalid API key |
| 404 | not_found | Checkout session not found |