Read a transfer
Returns the transfer aggregate for the supplied id.
Respuesta
OK
Document type in the MNEMONIC vocabulary (ACCS002) whenever it is known. Outbound: always the mnemonic the caller supplied, unchanged. Inbound: the mnemonic BACEN sent in , published only when the de-para table agrees it names the code that arrived with it. ⚠️ Inbound transfers created before this field was recorded — and BACEN's legacy query envelopes, which omit the element — have no mnemonic stored and are NOT backfilled: those rows answer with the numeric code here, the same value they have always returned. Compare against documentCode to tell the two vocabularies apart.
Count of FAILED outbound transmission attempts that spend the retry budget: the worker cancels the transfer once it reaches the configured budget (5 by default). An attempt held because BACEN STA is unavailable, because our connection to it is misconfigured, or because BACEN refused the credential's password, spends nothing: the transfer waits for its next attempt until BACEN's 48h upload deadline. A manual retry spends nothing. A transfer that succeeded on the first try reports 0. null for inbound transfers, which have no upload leg.
BACEN identifier for the same document (6002). Its provenance differs by direction: on an inbound transfer it is OBSERVED — the BACEN delivered — while on an outbound transfer it is DERIVED from the CURRENT de-para table at read time — it is what that table resolves the mnemonic to today, NOT a persisted record of the identifier that went on the wire. The two coincide while the table is unchanged; if an entry is ever corrected, this field answers the new value for an old transfer. The identifier actually sent is recorded in the log line and, on a BACEN rejection, in the terminal reason. Treat it as an opaque token, not a number: some documents resolve to a non-numeric identifier (ARQTEST resolves to TEST). Omitted entirely when neither source resolves it, which is a valid state for an outbound document type absent from the table — an empty string is never published, because it would be indistinguishable from a genuinely empty code.
Outbound upload held because BACEN STA is unavailable, our connection to it is misconfigured, or BACEN refused the credential's password: when the worker attempts it again. A password refused outside a rotation is not tried again on its own: this is then BACEN's 48h upload deadline, when the worker closes the transfer unless an operator retries it first. Only a transfer that carries it accepts POST /v1/transfers/{id}/retry, which brings that attempt to now. Omitted when the upload is not held.

