Settle and receipt
Takes a payment request, picks the cheapest rail available in the payer country, settles it, and files the receipt.
- Author
- tobi
- Version
- v1.2.0
- Updated
- 2026-08-02
- Steps
- 3
- Gates
- 2
01Sequence3 steps / 2 gates
- 1fiatPaymentsauth
Read payment methods and limits for the payer country and currency pair.
continue if a method exists inside the requested amount
otherwise Report the limit that blocks the payment and stop.
- 2onchain-pay-open-apiPaymentsauth
Quote the fiat to on-chain route including fees.
continue if the on-chain route is cheaper than the Pay route
otherwise Move to Binance Pay instead.
- 3payment-assistantPaymentsauth
Execute the transfer, then generate the receive link or QR for the counterparty.
no gate on this step
02Rules
- Amount and recipient are read back to the user before the transfer step runs.
03Triggerswhat makes the agent reach for this file
pay this invoicesettle in cryptocheapest way to send
04The file50 lines