Skip to main content
POST
Orchestrate Core operation

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Headers

X-Idempotency
string
required

Idempotency key, max 255 characters

Body

application/json
amount
integer<int64>
required

Transaction amount in centavos (BRL minor units); must be greater than zero.

Required range: x >= 1
Example:

15000

commissionAmount
integer<int64>
required

Commission amount in centavos (BRL minor units); zero or positive.

Required range: x >= 0
Example:

10

endToEndId
string
required

PIX EndToEndID of the transaction, 32 characters, shaped as BACEN's EndToEndIdType (E, then the 8-character participant segment, then YYYYMMDDHHMM, then an 11-character unique tail). The date and minute components are additionally parsed as a real instant, and the participant segment must equal senderISPB, before the operation is accepted.

Pattern: ^E[0-9A-Z]{8}[0-9]{12}[a-zA-Z0-9]{11}$
Example:

"E12345678202604281234ABCDE123456"

feeAmount
integer<int64>
required

Fee amount in centavos (BRL minor units); zero or positive.

Required range: x >= 0
Example:

25

operationId
string
required

Caller-assigned idempotency/business identifier for the operation. Lerian's own bound, not BACEN's: 128 characters is what the orchestration command enforces and what core_sagas.operation_id stores.

Required string length: 1 - 128
Example:

"op-20260428-0001"

senderISPB
string
required

ISPB of the sending participant, exactly 8 numeric digits. BACEN's ISPBType admits [0-9A-Z]{8}; the participant registry this rail routes against stores 8 digits, so the door applies the narrower rule the service can actually satisfy.

Pattern: ^[0-9]{8}$
Example:

"12345678"

commissionRecipientISPB
string

ISPB of the participant receiving the commission (8 numeric digits); optional.

Example:

"87654321"

feePayerISPB
string

ISPB of the participant charged the fee (8 numeric digits); optional.

Example:

"12345678"

Response

OK

commissionAmount
integer<int64>
required

Commission amount applied, in centavos (BRL minor units).

Example:

10

feeAmount
integer<int64>
required

Fee amount applied, in centavos (BRL minor units).

Example:

25

feeAttributionId
string
required

UUID of the fee attribution record; empty when no fee attribution was created.

Example:

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

operationId
string
required

Caller-assigned identifier echoed from the request.

Example:

"op-20260428-0001"

routingDecision
object
required

Routing snapshot showing how the operation was directed through sponsor/indirect participants.

sagaId
string
required

UUID of the orchestration saga coordinating the operation.

Example:

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

sagaStatus
string
required

Current state of the orchestration saga (e.g. COMPLETED).

Example:

"COMPLETED"

settlementId
string
required

UUID of the settlement created for this operation.

Example:

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

settlementStatus
string
required

Current state of the settlement (e.g. PENDING).

Example:

"PENDING"

commissionRecipientISPB
string

ISPB of the participant receiving the commission (8 numeric digits); omitted when no fee attribution applies.

Example:

"87654321"

feePayerISPB
string

ISPB of the participant charged the fee (8 numeric digits); omitted when no fee attribution applies.

Example:

"12345678"