跳转到主要内容
GET
Get checkout payment and delivery status
当 fulfillmentStatus 变为 FULFILLED、FAILED 或 NEEDS_CHECK,或 status 变为 failed、expired、cancelled、refunded 时停止轮询。钱包充值完成后 orderId 保持为 null,balanceCents 返回最新余额。

授权

Authorization
string
header
必填

ProxyLayer API key. See the API Overview for key modes and scopes.

Scopes

rest:orders:read

Access to orders:read REST operations

路径参数

id
string
必填

checkoutSessionId returned by POST /api/v1/checkouts or POST /api/v1/orders.

Minimum string length: 1

响应

Current payment and delivery status.

checkoutSessionId
string
必填
status
enum<string>
必填

Payment state. 'completed' means payment succeeded, not that proxies are delivered.

可用选项:
pending,
completed,
failed,
expired,
cancelled,
refunded
provisioningPending
boolean
必填

True while payment succeeded and order creation or delivery is still in progress.

orderId
string | null
必填

Created order ID once payment completes; null for wallet top-ups or unpaid checkouts.

fulfillmentStatus
enum<string> | null
必填

Delivery state: PENDING (in progress), FULFILLED (ready to use), FAILED, or NEEDS_CHECK. Null before an order exists.

可用选项:
PENDING,
FULFILLED,
FAILED,
NEEDS_CHECK
failureMessage
string | null
必填

Reason payment or delivery failed, when available.

balanceCents
integer | null
必填

Updated prepaid wallet balance in USD cents after a top-up or balance purchase; otherwise null.

detail
enum<string>

Extra crypto payment state: WAITING_CONFIRMATIONS or UNDERPAID.

可用选项:
WAITING_CONFIRMATIONS,
UNDERPAID
paymentProvider
string | null

Payment rail used (e.g. stripe, crypto, balance).