Pular para o conteúdo principal
GET
Get a direct order

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Parâmetros de caminho

institutionId
string<uuid>
obrigatório

The institution's unique identifier (UUID).

Exemplo:

"550e8400-e29b-41d4-a716-446655440000"

orderId
string<uuid>
obrigatório

Server-generated order id (UUIDv7).

Exemplo:

"01929b3e-7c1a-7d2e-9a5e-6c1c1c1a0001"

Resposta

OK

clientOrderId
string
obrigatório

Client key.

cutPassedAtReceipt
boolean
obrigatório

The cut was past at receipt.

deadlineAt
string<date-time>
obrigatório

Raw deadline of the latest revision.

deadlinePassedAtReceipt
boolean
obrigatório

deadlineAt was past at receipt.

executionState
enum<string>
obrigatório

Execution state of the latest revision: ACCEPTED before any result, otherwise the state of latestResult.

Opções disponíveis:
ACCEPTED,
EXECUTING,
MONITORING,
RESOLVED,
INDETERMINATE,
AWAITING_RECONCILIATION
externalReference
string | null
obrigatório

externalReference; null when absent.

institutionCode
string
obrigatório

Registered code (CNPJ root) of the institution.

latestResult
object
obrigatório

Latest execution version of the latest revision; null before any.

operation
enum<string>
obrigatório

Operation.

Opções disponíveis:
BLOCK,
UNBLOCK,
TRANSFER,
INFO,
INTERRUPT
orderId
string<uuid>
obrigatório

Order id.

orderRevision
integer<int64>
obrigatório

Highest accepted revision.

originalOrderId
string<uuid> | null
obrigatório

orderId of the original order this one is derived from: set on the UNBLOCK derived from a cancellation (it points at the original block); null otherwise.

parked
boolean
obrigatório

Whether the plugin parked the order after exhausting its delivery attempts (raised with an alarm). Parking is outside executionState: a parked order keeps its executionState.

parkedAt
string<date-time> | null
obrigatório

When the order was parked; null when not parked.

permanentUntil
string<date-time> | null
obrigatório

Validity of the permanent block; null otherwise.

receivedAt
string<date-time>
obrigatório

The receipt of this revision (the latest accepted one). The term of a permanent block is reported by permanentBlock.endsAt, never derived from this field.

metadata
object | null

Metadata of the latest revision. Omitted entirely when the caller lacks metadata:read; null when absent or erased.

metadataErasedAt
string<date-time>

When the metadata was erased; omitted otherwise.