Skip to main content
POST
Create bank transfer return operation

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

X-Idempotency
string
obrigatório

Idempotency key. Required on every mutation.

X-TTL
string

Seconds the cached response is kept; it may only shorten IDEMPOTENCY_DEFAULT_TTL_SEC. The key itself lives with the operation.

Parâmetros de caminho

operationId
string
obrigatório

Operation UUID of the received TED credit being returned.

Corpo

application/json
returnCode
enum<string>
obrigatório

BACEN return reason (CodDevTransf) of the STR0010: one of the codes the BACEN dicionário de domínios keeps active, without a leading zero (type CodDevTransf, Catálogo v5.13 Vol IV). The retired 10-14, 78, 79 and 81 are refused.

Opções disponíveis:
1,
2,
3,
4,
5,
6,
7,
8,
9,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
31,
40,
51,
52,
53,
61,
63,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
80,
82,
83,
84,
85,
86
Exemplo:

"1"

description
string

Optional free-text description of the return (Hist).

Exemplo:

"Wrong account"

metadata
object

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

Resposta

Created

acceptedAt
string<date-time>
obrigatório

UTC RFC 3339 timestamp at which the command was accepted.

Exemplo:

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

capabilityId
string
obrigatório

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

Exemplo:

"STR0004"

correlationId
string
obrigatório

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

Exemplo:

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

isReplay
boolean
obrigatório

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

Exemplo:

false

operationFamily
enum<string>
obrigatório

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

Opções disponíveis:
bankTransfer
Exemplo:

"bankTransfer"

operationId
string<uuid>
obrigatório

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

Exemplo:

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

status
enum<string>
obrigatório

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

Opções disponíveis:
ACCEPTED,
SUBMITTED,
SENT,
CONFIRMED,
REJECTED,
FAILED,
PENDING_CONFIGURATION,
PENDING_RECONCILIATION,
RETURN_REQUESTED,
RETURNED,
CANCEL_REQUESTED,
CANCELLED,
RECEIVED,
DELIVERED
Exemplo:

"ACCEPTED"

protocolMetadata
object

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