Skip to main content
GET
Get a direct order

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Path Parameters

institutionId
string<uuid>
required

The institution's unique identifier (UUID).

Example:

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

orderId
string<uuid>
required

Server-generated order id (UUIDv7).

Example:

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

Response

OK

clientOrderId
string
required

Client key.

cutPassedAtReceipt
boolean
required

The cut was past at receipt.

deadlineAt
string<date-time>
required

Raw deadline of the latest revision.

deadlinePassedAtReceipt
boolean
required

deadlineAt was past at receipt.

executionState
enum<string>
required

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

Available options:
ACCEPTED,
EXECUTING,
MONITORING,
RESOLVED,
INDETERMINATE,
AWAITING_RECONCILIATION
externalReference
string | null
required

externalReference; null when absent.

institutionCode
string
required

Registered code (CNPJ root) of the institution.

latestResult
object
required

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

operation
enum<string>
required

Operation.

Available options:
BLOCK,
UNBLOCK,
TRANSFER,
INFO,
INTERRUPT
orderId
string<uuid>
required

Order id.

orderRevision
integer<int64>
required

Highest accepted revision.

originalOrderId
string<uuid> | null
required

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
required

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
required

When the order was parked; null when not parked.

permanentUntil
string<date-time> | null
required

Validity of the permanent block; null otherwise.

receivedAt
string<date-time>
required

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.