Passer au contenu principal
GET
Get checkout payment and delivery status
Arrêtez le polling dès que fulfillmentStatus vaut FULFILLED, FAILED ou NEEDS_CHECK, ou que status passe à failed, expired, cancelled ou refunded. Pour les recharges de solde, orderId reste null et balanceCents indique le nouveau solde une fois status à completed.

Autorisations

Authorization
string
header
requis

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

Scopes

rest:orders:read

Access to orders:read REST operations

Paramètres de chemin

id
string
requis

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

Minimum string length: 1

Réponse

Current payment and delivery status.

checkoutSessionId
string
requis
status
enum<string>
requis

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

Options disponibles:
pending,
completed,
failed,
expired,
cancelled,
refunded
provisioningPending
boolean
requis

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

orderId
string | null
requis

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

fulfillmentStatus
enum<string> | null
requis

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

Options disponibles:
PENDING,
FULFILLED,
FAILED,
NEEDS_CHECK
failureMessage
string | null
requis

Reason payment or delivery failed, when available.

balanceCents
integer | null
requis

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.

Options disponibles:
WAITING_CONFIRMATIONS,
UNDERPAID
paymentProvider
string | null

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