Skip to content
Source index synced with Binance Skills Hub

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
  1. 1
    fiatPaymentsauth

    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.

  2. 2
    onchain-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.

  3. 3
    payment-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
SKILL.md
---
name: settle-and-receipt
description: >-
  Takes a payment request, picks the cheapest rail available in the payer country, settles it, and files the receipt.
  Trigger on: pay this invoice, settle in crypto, cheapest way to send.
---

# Settle and receipt

## PREREQUISITE

Install and authenticate these skills first:

- `fiat`
- `onchain-pay-open-api`
- `payment-assistant`

If any of them is missing, say which one and stop. Do not improvise a replacement.

## SEQUENCE

### Step 1. `fiat`

Read payment methods and limits for the payer country and currency pair.

**Continue only if** a method exists inside the requested amount.

**Otherwise:** Report the limit that blocks the payment and stop.

### Step 2. `onchain-pay-open-api`

Quote the fiat to on-chain route including fees.

**Continue only if** the on-chain route is cheaper than the Pay route.

**Otherwise:** Move to Binance Pay instead.

### Step 3. `payment-assistant`

Execute the transfer, then generate the receive link or QR for the counterparty.

## RULES

- Amount and recipient are read back to the user before the transfer step runs.

## OUTPUT

Report each step that ran, the gate result, and the step that stopped the sequence if one did.
Never report a step as done when its skill returned an error.
NextBuilds in the same areaAll builds