Skip to main content

See both sides run

The same infrastructure with the money going the other way. Watch the mandate gate, the router and the receipt stay identical while the direction flips.

1 min read
View MarkdownEdit on GitHub

Same infrastructure, same governance. Watch the direction of money flip while the mandate gate, the router, and the receipt stay identical.

↘ You get paid

agent · seller agent
sb_sell_idx
Charge R$249 for the Pro Plan and send the Pix code to +55 11 99988-7766 on WhatsApp.
Cobrança criada. Enviando o copia-e-cola no WhatsApp do cliente...
Enviado. Quando o Pix liquidar, emito a NFS-e e te aviso.
codespar_chargepix✓ done620ms
codespar_notifywhatsapp✓ done340ms
codespar_invoicenfse● runningon settle
inbound charge · fiscal document on settlement · same audit chainRun this cookbook in Sandbox →

↗ You send agents out to spend

agent · buyer agent
sb_buy_idx
Buy the cheapest ração golden 15kg at Cobasi and pay with my wallet.
Encontrei por R$ 179,90. Checkout da loja pronto, Pix gerado. Pagando com a carteira, dentro do mandato (cap R$ 500/mês)...
Pago. Recibo assinado rcp_8f2a gravado no ledger. Restante do mandato: R$ 320,10.
codespar_shopcheckout✓ done84s
codespar_walletbalance✓ done180ms
codespar_paypix✓ done1.4s
mandate-gated spend · signed receipt · audit chainRun this cookbook in Sandbox →

✦ Either way, the same artifact

Every settled move on either side seals a signed receipt binding permission, settlement, and proof:

Agentic receipt
rcp_8f2a41c9
signed · Ed25519
Mandate — the permission
mandatecm_gWEZO68q
capBRL 500.00 / month
spent after thisBRL 179.90
Payment — the settlement
railpix
amountBRL 179.90
end-to-end refE18236120…7401
Delivery — the proof
evidencestore order #1049-B confirmed
chain a91c…04be 7d2f…c918verifiable offline via did:web
A signed agentic receipt binding the mandate, the settled payment, and the delivery proof, chained into the audit ledger and verifiable offline.
See both sides run | CodeSpar