Get Checkout Status
Retrieve the status and order details for a checkout session or payment link
GET
Get Checkout Status
Documentation Index
Fetch the complete documentation index at: https://docs.withgale.com/llms.txt
Use this file to discover all available pages before exploring further.
Get Checkout Status
Universal status polling endpoint for both checkout sessions and payment link flows. Use this when you need to check whether a payment has completed — for example, if a webhook was missed or you want to confirm status on page load.Endpoint
checkout_id is the cs_xxx value returned when the cart was created.
Authentication
Path Parameters
| Parameter | Type | Description |
|---|---|---|
checkout_id | string | The checkout ID (cs_xxx) |
Response
Before payment (awaiting customer):Status Values
| Status | Description |
|---|---|
pending | Cart exists, no payment attempted yet |
completed | Payment captured successfully |
failed | Payment failed or declined |
Example
Errors
| Status Code | Error Code | Description |
|---|---|---|
| 401 | unauthorized | Invalid API key |
| 404 | not_found | Checkout ID not found |
Related
Get Checkout Status
