The float refills itself, under the same mandate.
When the BRL slot drops below its floor, the agent mints a dynamic Pix charge against the funding source and tops the wallet up. Same mandate, same caps. Payouts never stall at 2am because the float ran dry.
Float dips, agent tops it up.
The agent watches the BRL slot. When it drops below the floor, it mints a dynamic Pix charge against the funding source, tops the wallet up under the same mandate, and payouts keep flowing.
- Watches the BRL slot against a floor you set
- Mints a dynamic Pix copia-e-cola against the funding source
- Top-up runs under the same mandate and caps
- Payouts never stall waiting for a manual refill
The conversation is the easy part.
Payout floats run dry at the worst time. Someone tops them up by hand, and until they do, every payout waits.
Watch the balance and top up by hand
The agent tops up automatically when the slot hits its floor
Payouts stall at 2am when the float runs dry
The float refills itself, so payouts never wait
Wire a top-up and reconcile it later
A dynamic Pix charge funds the slot, sealed to the mandate
Set the top-up outside your spend controls
The refill runs inside the same mandate and caps
A float that keeps itself liquid.
The agent holds the BRL slot above a floor you set. When it dips, codespar_charge mints a dynamic Pix against the funding source and tops it up, under the same mandate that governs every payout.
BRL slot vs floor
Slot below the floor
codespar_chargeDynamic Pix charge
Pix railSlot refilled
Receipt to the mandate
The agent monitors the BRL wallet slot. When the balance crosses the floor, it calls codespar_charge to mint a dynamic Pix against the configured funding source. The top-up settles into the slot under the same mandate and caps, and the receipt is sealed so the refill reconciles against the payouts it enabled.
A few lines. The whole loop.
const session = await codespar.sessions.create(); // keep the BRL payout slot above its floor if (wallet.brl.balance < wallet.brl.floor) { // mint a dynamic Pix against the funding source, under the same mandate const topup = await session.execute("codespar_charge", { rail: "pix", amount: wallet.brl.topupAmount, source: "funding-source", }); await session.verificationStatus(topup.toolCallId); // sealed to the mandate }
codespar_chargeMints a dynamic Pix charge against the funding source to top up the slot.
Wallet (BRL slot)Holds the payout float; the agent keeps it above a floor you set.
Audit ledgerSeals the top-up so the refill reconciles against the payouts it enabled.
Ship it this afternoon.
Open the sandbox, point a session at your providers, and run the whole loop against real rails in minutes — not the quarter it takes to build it by hand.