# PayBox plugin

> Pay any Intents Checkout invoice, and swap to any chain, from a PayBox wallet in Claude, ChatGPT or Grok.

PayBox is a non-custodial agent wallet you use from Claude, ChatGPT and Grok. The Intents plugin
for PayBox lets your agent pay any Intents Checkout invoice and swap to chains PayBox doesn't hold
(native BTC, NEAR, Tron and more).

> The plugin is in review for the PayBox marketplace. Until it's listed, PayBox pays Intents
> invoices directly over x402: give it the invoice's x402 URL
> (`https://api.intents.fi/v0/checkout/{id}/agent`).

## Pay an invoice

Paste the merchant's payment link, or the "Pay this Intents invoice: …" prompt from their checkout's
**Pay with an AI agent** option. Your agent:

1. reads the invoice and shows you the merchant, the amount and the expiry (`intents_get_invoice`);
2. lists the ways to pay from what your wallet holds, cheapest first (`intents_quote_invoice`);
3. proposes the payment (`intents_pay_invoice`): an x402 payment in USDC on Base or Solana, or a
   transfer to the invoice's one-time deposit address for a token on an EVM chain.

PayBox simulates the proposal and nothing moves until you approve it with your passkey. A failed
payment comes back to your wallet. The plugin re-checks that the invoice is still open before every
proposal.

## Swap to any chain

`intents_swap_quote` quotes from what you hold to any supported asset. `intents_swap` needs your
destination address on the receiving chain (PayBox has no wallet there), creates the swap and
proposes one transfer to its deposit address. Refunds go to your PayBox wallet.

## Tools

| Tool | Money? | What it does |
|---|---|---|
| `intents_invoice_links` | no | Finds the invoice in a link or pasted prompt |
| `intents_get_invoice` | no | Merchant, amount, settlement asset, status, expiry |
| `intents_quote_invoice` | no | Ways to pay from the wallet: you pay, merchant receives, ETA, cost |
| `intents_pay_invoice` | yes | Proposes the x402 payment or the transfer |
| `intents_swap_quote` | no | A swap quote to any supported asset |
| `intents_swap` | yes | Creates the swap and proposes the transfer |
| `intents_status` | no | An invoice or a swap, as it is now |

The plugin calls only `api.intents.fi` and holds no secrets. Fees: 0.4% per invoice payment (free
when you pay in the asset the merchant settles in); swaps show one total cost on the quote.

---

Source: https://intents.fi/docs/agents/paybox · The whole corpus: https://intents.fi/docs/llms-full.txt
