Vai al contenuto principale
GET
Get checkout payment and delivery status
Interrompi il polling quando fulfillmentStatus diventa FULFILLED, FAILED o NEEDS_CHECK, oppure quando status diventa failed, expired, cancelled o refunded. Per le ricariche, orderId resta null e balanceCents mostra il saldo aggiornato dopo status: "completed".

Autorizzazioni

Authorization
string
header
obbligatorio

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

Scopes

rest:orders:read

Access to orders:read REST operations

Parametri del percorso

id
string
obbligatorio

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

Minimum string length: 1

Risposta

Current payment and delivery status.

checkoutSessionId
string
obbligatorio
status
enum<string>
obbligatorio

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

Opzioni disponibili:
pending,
completed,
failed,
expired,
cancelled,
refunded
provisioningPending
boolean
obbligatorio

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

orderId
string | null
obbligatorio

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

fulfillmentStatus
enum<string> | null
obbligatorio

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

Opzioni disponibili:
PENDING,
FULFILLED,
FAILED,
NEEDS_CHECK
failureMessage
string | null
obbligatorio

Reason payment or delivery failed, when available.

balanceCents
integer | null
obbligatorio

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.

Opzioni disponibili:
WAITING_CONFIRMATIONS,
UNDERPAID
paymentProvider
string | null

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