Pular para o conteúdo principal
GET
Get checkout payment and delivery status
Pare de consultar quando fulfillmentStatus atingir FULFILLED, FAILED ou NEEDS_CHECK, ou quando status for failed, expired, cancelled ou refunded. Em recargas de saldo, orderId permanece null e balanceCents mostra o saldo atualizado após status: "completed".

Autorizações

Authorization
string
header
obrigatório

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 caminho

id
string
obrigatório

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

Minimum string length: 1

Resposta

Current payment and delivery status.

checkoutSessionId
string
obrigatório
status
enum<string>
obrigatório

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

Opções disponíveis:
pending,
completed,
failed,
expired,
cancelled,
refunded
provisioningPending
boolean
obrigatório

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

orderId
string | null
obrigatório

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

fulfillmentStatus
enum<string> | null
obrigatório

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

Opções disponíveis:
PENDING,
FULFILLED,
FAILED,
NEEDS_CHECK
failureMessage
string | null
obrigatório

Reason payment or delivery failed, when available.

balanceCents
integer | null
obrigatório

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.

Opções disponíveis:
WAITING_CONFIRMATIONS,
UNDERPAID
paymentProvider
string | null

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