Saltar al contenido principal
GET
Get checkout payment and delivery status
Detén el sondeo cuando fulfillmentStatus sea FULFILLED, FAILED o NEEDS_CHECK, o cuando status pase a failed, expired, cancelled o refunded. En recargas de saldo, orderId permanece null y balanceCents muestra el saldo actualizado al completarse el pago.

Autorizaciones

Authorization
string
header
requerido

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

Scopes

rest:orders:read

Access to orders:read REST operations

Parámetros de ruta

id
string
requerido

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

Minimum string length: 1

Respuesta

Current payment and delivery status.

checkoutSessionId
string
requerido
status
enum<string>
requerido

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

Opciones disponibles:
pending,
completed,
failed,
expired,
cancelled,
refunded
provisioningPending
boolean
requerido

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

orderId
string | null
requerido

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

fulfillmentStatus
enum<string> | null
requerido

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

Opciones disponibles:
PENDING,
FULFILLED,
FAILED,
NEEDS_CHECK
failureMessage
string | null
requerido

Reason payment or delivery failed, when available.

balanceCents
integer | null
requerido

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.

Opciones disponibles:
WAITING_CONFIRMATIONS,
UNDERPAID
paymentProvider
string | null

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