Get Order
Retrieve details about a specific order
GET
Get Order
Get Order
Retrieve information about an order, including payment status, customer details, and line items. Orders are created when a checkout session or payment link is successfully paid.Authentication
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Order ID (e.g., ord_abc123xyz) |
Request
Response
All monetary amounts are integers in cents (e.g., 4995 = $49.95).
Response Fields
See Order Object for complete field descriptions.Examples
Basic Retrieval
Order Status
| Status | Description |
|---|---|
pending | Order created, awaiting payment |
processing | Payment being processed |
completed | Payment successful, order complete |
failed | Payment failed |
cancelled | Order cancelled |
Payment Status
| Status | Description |
|---|---|
pending | Payment not yet attempted |
authorized | Payment authorized (not captured) |
captured | Payment captured successfully |
failed | Payment failed |
refunded | Payment refunded (full or partial) |
disputed | Payment disputed/chargebacked |
Errors
| Status Code | Error Code | Description |
|---|---|---|
| 401 | unauthorized | Invalid or missing API key |
| 404 | not_found | Order not found |
| 429 | rate_limit_exceeded | Too many requests |
Related
Get Order
