Skip to main content
POST
Crear operación de devolución de transferencia bancaria

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

Authorization
string

Bearer JWT token.

X-Idempotency
string

Idempotency key (canonical).

X-Idempotency-Key
string

Idempotency key (legacy alias).

X-TTL
string

Idempotency key TTL in seconds.

Parámetros de ruta

operationId
string
requerido

Original bank-transfer operation UUID.

Cuerpo

application/json
recipientIspb
string
requerido

ISPB of the participant receiving the return, the 8-digit BACEN institution identifier.

Ejemplo:

38166

returnCode
string
requerido

BACEN STR return reason code (devolução) for the reversal.

Ejemplo:

"01"

senderIspb
string
requerido

ISPB of the participant initiating the return, the 8-digit BACEN institution identifier.

Ejemplo:

"12345678"

amount
string

Optional partial return amount as a decimal string in BRL, minor-unit precision; defaults to the full original amount when omitted.

Pattern: ^[0-9]+(\.[0-9]+)?$
Ejemplo:

"50.00"

description
string

Optional free-text description of the return.

Ejemplo:

"Wrong account"

metadata
object

Opaque client-side metadata forwarded verbatim to the legacy submit DTO; not persisted on the return intent.

Respuesta

Created

acceptedAt
string<date-time>
requerido

UTC RFC 3339 timestamp at which the command was accepted.

Ejemplo:

"2026-05-06T18:30:00Z"

capabilityId
string
requerido

STR capability identifier resolved for the accepted operation (e.g. STR0004).

Ejemplo:

"STR0004"

correlationId
string
requerido

Request correlation identifier for tracing the accept across logs and traces.

Ejemplo:

"req-7c8b3a2e-9f1d-4a55-9b8e-1e1234567890"

isReplay
boolean
requerido

True when this response replays a prior idempotent accept rather than creating a new operation.

Ejemplo:

false

operationFamily
string
requerido

Operation family the accepted command belongs to (e.g. bankTransfer).

Ejemplo:

"bankTransfer"

operationId
string<uuid>
requerido

Server-assigned operation aggregate UUID used for subsequent status, return, and cancellation calls.

Ejemplo:

"7c8b3a2e-9f1d-4a55-9b8e-1e1234567890"

status
string
requerido

Current control-plane lifecycle status of the operation; ACCEPTED on initial accept.

Ejemplo:

"ACCEPTED"

protocolMetadata
object

Optional SAFE protocol correlation fields; present once the operation is mapped to STR wire identifiers.