Santander

Paying boletos straight from the escrow account

Santander Corretora · Escrow Platform · Tax slips live, boletos launching

Payment status flow: lookup by barcode line (an already-paid boleto only returns its status), scheduling with balance provisioning, approval by the contract parties and a fresh lookup before paying. Payment has up to 3 attempts with a fallback channel: on success it issues the receipt; after 3 failures it alerts back office and the client, and reprocessing is the next delivery.Lookupby barcode lineSchedulingreserves that day's free balanceApprovalby the contract partiesFresh lookupavoids paying twicePaymentup to 3 attempts, with a fallbackok3 failuresPaidreceiptissuedAlertback officeand clientReprocessingnext delivery

Executive summary

Product

In an escrow account, funds only move through instructions approved under the contract. By rule, that money can't be handed to a third-party payment company — paying bills required in-house infrastructure.

Challenge

To pay a boleto (Brazil's standard bank slip), clients had to move money from escrow to their own account and only then pay. The bank was losing deals to competitors that already offered this, and a large client asked for it explicitly.

  • Indirect, two-step payment outside the contract's control
  • Deals stalled for lack of the feature
  • No in-house bill payment infrastructure

Solution

Launching

Tax slip and boleto payments as a new instruction type: lookup by barcode line, scheduling with balance provisioning, approval by the contract parties, a fresh lookup before paying, retries with a fallback channel, receipt and monitoring.

What set it apart

I modeled the data with boletos and tax slips as separate entities, built the monitoring that shows back office each instruction's journey and the boleto and tax slip reports, plus the tax slip receipt. Reprocessing and the boleto receipt are next.

Personal reflection

I learned the payments domain end to end — barcode lines, boleto registration at Núclea and the constraints specific to a guarantee account. I also saw how a simple modeling decision avoids a generic type that would turn into tech debt.

Impact

Launch phases: tax slips first, then boletos
2
Automatic retries before alerting back office and client
3
Steps outside escrow: payment leaves the guarantee account directly
0

Restricted access

The full process is password-protected

The process details include sensitive product information and are only visible with the access password. The summary above is public.