TED OUT lets your customers send money to any account at any Brazilian bank. The two-step flow — initiate, then confirm — gives customers a chance to review the fee before the transfer is committed. Settlement is same-day (D+0) for transfers confirmed before 17:00 Brasília time.Documentation Index
Fetch the complete documentation index at: https://docs.lerian.studio/llms.txt
Use this file to discover all available pages before exploring further.
How it works for your customer
Step 1 — Enter details and review fee The customer provides the recipient’s bank details and the amount. The system calculates the fee and returns the total cost before anything is debited. The customer sees exactly what they will pay. Step 2 — Confirm and send Once the customer confirms, funds (amount + fee) are debited from their account and the transfer is submitted to the BACEN network. A confirmation number is issued immediately.
Prerequisites
Before a transfer can be initiated:
- The sender must have a registered account in CRM
- The sender’s balance must cover the transfer amount plus the applicable fee
- The transfer must be requested on a business day between 06:30 and 17:00 (Brasília time)
Step 1: Initiate the transfer
The customer submits the recipient’s details and the amount. The system validates the request, calculates the fee, and creates a transfer intent that is valid for 24 hours. No funds are moved at this stage. See the full request specification in the Initiate Transfer reference. Endpoint: POST /v1/transfers/initiate Response (key fields):
Fee direction (cash-out): For TED OUT and P2P transfers, the fee is added on top of the transfer amount:
totalAmount = amount + feeAmount. The sender’s account is debited for the full total. This is the opposite of TED IN, where the fee is deducted from the received amount.Step 2: Confirm the transfer
Once the customer reviews the fee and confirms, submit the
initiationId to process the transfer. Funds are provisioned and the payment is sent to the BACEN network.
See the full request specification in the Process Transfer reference.
Endpoint: POST /v1/transfers/process
Response (key fields):
Settlement timeline
Settled (T+90s typical)
The destination bank confirms settlement. Status:
COMPLETED. Confirmation number is finalized.Operating hours
Error handling
When something goes wrong, your customer’s money is always accounted for:
Transfer rejected by the destination bank
Transfer rejected by the destination bank
The transfer is declined by the receiving institution. Provisioned funds are released immediately and the full amount (including fee) is returned to the sender’s balance. Status:
REJECTED. A transfer.failed webhook is sent.Temporary network issue
Temporary network issue
The plugin retries automatically up to three times (configurable via
JD_MAX_RETRIES, default 3). If the transfer cannot be confirmed after retries, a fail-safe refund is issued and the sender’s balance is restored. No manual action required.Chargeback from destination bank
Chargeback from destination bank
If the destination bank returns the funds after initial settlement (for example, account closure or regulatory hold), the amount is reversed in your ledger as a separate transaction. This is handled outside the transfer lifecycle — the original transfer record remains
COMPLETED and a new reversal record is created.Transfer endpoints support idempotency via the
X-Idempotency request header. Use this header when retrying requests to avoid duplicate submissions. See Retries and idempotency for details.Check transfer status
Track the progress of a transfer at any time. Endpoint: GET /v1/transfers/ Response (key fields):
Cancel a transfer
A transfer can be cancelled while it is in
CREATED or PENDING status — before it has been submitted to the network.
Endpoint: POST /v1/transfers//cancel
Common ISPB codes
Last verified: 2026-02-06. Values are subject to change.
| Bank | ISPB |
|---|---|
| Banco do Brasil | 00000000 |
| Bradesco | 60746948 |
| Itaú | 60701190 |
| Santander | 90400888 |
| Caixa Econômica | 00360305 |
| Nubank | 18236120 |
| Inter | 00416968 |

