Documentation Index
Fetch the complete documentation index at: https://tracefinance-docs-withdrawal-beneficiary-events.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Deposits credit an account when funds arrive via the chosen funding rail. The customer creates a deposit operation referencing a quote and a rail; the response returns the concrete funding instruction (PIX key, boleto barcode, TED account, or crypto wallet) the customer uses to send money in. The deposit transitions toCOMPLETED once the inbound payment is reconciled.
Prerequisites
- An active account configured for the asset to be credited.
- Valid authentication credentials.
Steps
Create a quote
Quotes lock the FX rate (or a 1:1 spot for same-asset) for a short window and are bound to one account. Use The response returns the quote
sourceAsset for what the customer will send and targetAsset for what gets credited.id, the locked effectiveRate, and expiresAt. The quote can be consumed by exactly one operation before it expires.Create the deposit
Reference the account, the quote, and pick which funding rail the customer will use to send the money in.Returns
201 with the operation in REQUESTED status. The response carries intent.fundingInstruction with the concrete details for the chosen rail — for PIX_KEY that’s the keyType and key to pay; for BOLETO it’s the barcode and dueDate; for TED the bank, branch, and account number; for CRYPTO the network and wallet address.Send the funds
Use the
intent.fundingInstruction from the previous step to make the inbound payment via the chosen rail. The amount must match the quote’s sourceAmount.Track the deposit
Subscribe to
OPERATION_COMPLETED to receive the deposit confirmation once the inbound payment is reconciled, or OPERATION_FAILED if reconciliation fails. Both deliver the same payload as OPERATION_REQUESTED, with currentState.status set to the new status (and currentState.reason populated on failure). The intermediate PROCESSING status is not published as a webhook; poll GET /api/operations/{operationId} if you need to surface it in your UI.What happens next
- Execute a swap — convert the deposited asset within the account.
- Make a withdrawal — send funds out.