Skip to main content

get_order_status

Queries the current status of a single order by its platform order ID. The gateway first tries to fetch real-time status from upstream, falls back to the local snapshot on failure, and normalizes the result to a unified platform status enum.
Order flow: preview_order → preview_id + confirmation_token → create_order → order_id → get_order_status to check status. The order_id (ord_ prefix) must be used as-is from the create_order response — do not fabricate or rewrite it.

Parameters

Returns

The amount field payable_price is in cents (integer), not yuan. e.g. payable_price: 1500 means ¥15.00.
status enum vs status_text: Unrecognized upstream statuses safely fall back to created and never leak the channel’s raw status code to the caller.

Error Codes

See Error Handling for the full list.

Example Call