Saltar al contenido principal
GET
Get a Transfer

Autorizaciones

Authorization
string
header
requerido

JWT Bearer token authentication. The tenantId is derived from the bearer token or authenticated request context and is not supplied through X-Organization-Id.

Encabezados

X-Organization-Id
string<uuid>
requerido

Midaz organization scope for the request, used for downstream CRM, Fees, and Midaz calls. Required on org-scoped transfer routes in every deployment mode; a missing or non-UUID value returns 400. This is not the tenant identifier — tenantId is derived from the bearer JWT or authenticated context, never from this header. Background workers (TED IN poller, reconciliation) have no request header and, in single-tenant mode, fall back to the deployment's ORGANIZATION_ID env.

Parámetros de ruta

transferId
string<uuid>
requerido

The unique identifier of the transfer.

Respuesta

Indicates that the transfer was found and its details are returned.

transferId
string<uuid>
requerido

The unique identifier of the transfer.

Ejemplo:

"019c96a0-ab10-7cde-f1a2-0e1f2a3b4c5d"

type
enum<string>
requerido

The type of transfer. TED_OUT is an outgoing transfer to an external bank via JD SPB; the voluntary return of a TED IN is also a TED_OUT. TED_IN is an incoming transfer from an external bank. Each TED_IN_STR type is an incoming customer credit received as that STR message, for example TED_IN_STR0041 for an INSS payroll loan received as STR0041R2. P2P is a peer-to-peer transfer within the same institution (same ISPB). CROSS_CORE is a TED to an account that the other core of your institution holds, sent through the JD Courier. CROSS_CORE_IN is a cross-core credit, or the return of a cross-core TED, received from the other core.

Opciones disponibles:
TED_OUT,
TED_IN,
TED_IN_STR0005,
TED_IN_STR0007,
TED_IN_STR0029,
TED_IN_STR0034,
TED_IN_STR0037,
TED_IN_STR0041,
TED_IN_STR0051,
P2P,
CROSS_CORE,
CROSS_CORE_IN
Ejemplo:

"TED_OUT"

status
enum<string>
requerido

The current status of the transfer. For TED OUT: CREATED → PENDING → PROCESSING → COMPLETED, REJECTED, or FAILED. For P2P: CREATED → PROCESSING → COMPLETED or FAILED (PENDING is an SPB-specific state and does not apply to P2P). Transfers can be CANCELLED while in CREATED or PENDING status. For TED IN: RECEIVED → PROCESSING → COMPLETED or FAILED. A COMPLETED TED IN can also transition to FAILED in the event of a chargeback.

Opciones disponibles:
CREATED,
PENDING,
PROCESSING,
COMPLETED,
REJECTED,
FAILED,
CANCELLED,
RECEIVED
Ejemplo:

"COMPLETED"

organizationId
string<uuid>
requerido

The Midaz organization that the transfer is filed under. It equals the X-Organization-Id of the request.

Ejemplo:

"019c96a0-0a98-7287-9a31-786e0809c769"

ledgerId
string<uuid>
requerido

The Midaz ledger that the transfer is filed under. On a P2P between two ledgers, the payer's ledger. Always present. The all-zeroes UUID means that the scope is unrepaired. See Repair Transfer Ledger Scope.

Ejemplo:

"019c96a0-0b10-7c2d-8e3f-4a5b6c7d8e9f"

senderAccountId
string<uuid>
requerido

UUID of the sender account. Always present. For TED IN, where the sender is an external bank with no local account, this is a synthetic identifier deterministically derived from the sender's document.

Ejemplo:

"019c96a0-0c0c-7221-8cf3-13313fb60081"

recipient
object
requerido
amount
number<decimal>
requerido

The transfer amount without the fee.

Ejemplo:

1000.5

feeAmount
number<decimal>
requerido

The fee charged for this transfer.

Ejemplo:

1.5

totalAmount
number<decimal>
requerido

The amount debited from the sender's account: the transfer amount plus any fee charged on top. For TED IN, the gross amount received.

Ejemplo:

1002

createdAt
string<date-time>
requerido

The timestamp when the transfer was created.

Ejemplo:

"2026-02-01T18:30:00Z"

updatedAt
string<date-time>
requerido

The timestamp of the last status update.

Ejemplo:

"2026-02-01T18:35:00Z"

statusHistory
object[]
requerido

The history of status transitions for this transfer.

reconciliationAttempts
integer
requerido

The number of settlement queries already sent for this transfer. Always present, zero included.

Ejemplo:

0

recipientLedgerId
string<uuid>

The recipient's Midaz ledger on a P2P between two ledgers of one organization. Absent on a P2P inside one ledger and on every TED.

Ejemplo:

"0190a0e2-7b1c-7d3e-9f40-5a6b7c8d9e03"

ledgerGroupId
string<uuid>

The Midaz ledger group that a P2P between two ledgers posted as. Absent before the posting, when the expiry recovery completed the transfer, and on a P2P return.

Ejemplo:

"0190a0e2-7b1c-7d3e-9f40-5a6b7c8d9e10"

originalTransferId
string<uuid> | null

On a return, the transfer that it returns. A TED_IN devolution refund names the TED OUT that it compensates, a TED_OUT voluntary return names the TED IN that it sends back, and a P2P return names the P2P that it reverses. On a TED IN return and a P2P return, recipient carries only the ISPB. Read the counterparty from the original transfer.

Ejemplo:

"019c96a0-ab10-7cde-f1a2-0e1f2a3b4c5d"

devolutionCode
string | null

BACEN devolution reason code, present only when the transfer is a devolution.

Ejemplo:

"18"

feeContext
string

The fee label that the initiation carried. Absent when it carried none.

Ejemplo:

"ted_salario"

recipientAccountId
string<uuid> | null

UUID of the recipient account, when the recipient is represented as a Midaz account.

Ejemplo:

"019c96a0-ac10-7efa-b1c2-2a3b4c5d6e7f"

confirmationNumber
string | null

The human-readable confirmation code, if available.

Maximum string length: 20
Ejemplo:

"20260201001"

controlNumber
string | null

The JD SPB control number, present for TED OUT and TED IN transfers.

Maximum string length: 20
Ejemplo:

"202602010001"

midazTransactionId
string<uuid> | null

The corresponding Midaz ledger transaction ID.

Ejemplo:

"019c96a0-ac10-7efa-b1c2-2a3b4c5d6e7f"

description
string | null

The purpose or description of the transfer.

Maximum string length: 140
Ejemplo:

"Payment for services"

metadata
object

Metadata that this service records on the transfer, as key-value pairs. On a return, it also carries returnReasonCode (on a TED IN return) and reversalTransactionId, the ledger transaction that reverses the original, once they are recorded. The metadata that you sent on Initiate Transfer is in clientMetadata.

clientMetadata
object

The metadata that you sent on Initiate Transfer, as key-value pairs. Absent when the transfer carries none. A TED IN transfer carries none.

Ejemplo:
completedAt
string<date-time> | null

The timestamp when the transfer was completed. Null if not yet completed.

Ejemplo:

"2026-02-01T18:35:00Z"

reconciliationStatus
enum<string>

The reconciliation state of the transfer, as stored. EXHAUSTED has the same meaning as MANUAL_REVIEW. Absent on a transfer that never entered reconciliation.

Opciones disponibles:
AWAITING,
RESOLVED,
REVERSING,
REVERTED,
EXHAUSTED,
MANUAL_REVIEW
Ejemplo:

"MANUAL_REVIEW"

lastReconciliationAttemptAt
string<date-time>

The time of the most recent settlement query, when one was sent.

Ejemplo:

"2026-02-01T15:40:00Z"

reconciliationReasonCode
string

Why the transfer entered reconciliation, in the vocabulary of the system that decided it. Absent when no reason is recorded.

Ejemplo:

"JD_UNAVAILABLE"

reconciliationReasonClass
string

The class of reconciliationReasonCode. Absent when no reason is recorded.

Ejemplo:

"transient"

settlementRejectionCode
string

The rejection code of the clearing house, verbatim, for example AAC90 or ALN01. Absent when there is none.

Ejemplo:

"ALN01"