# send21 > send21: crypto pay links and API for people and AI agents. It is non-custodial payment software for BTC (on-chain and Lightning), USDC, USDT, EURC, SOL and ETH on Bitcoin, Solana, Ethereum, Base, Arbitrum and Polygon. It creates payment requests, pay links and payment drafts, priced in a crypto amount or in any of 161 fiat currencies with a locked exchange rate, and watches the chain until the payment confirms. The payer signs and sends from their own wallet. send21 never holds private keys or funds, never signs and never broadcasts. It is not a custodian, exchange, broker or payment service provider. Humans use the web app; AI agents use the REST API or the MCP server. Key facts for agents: - Base URL: `https://send21.io/api/v1`. OpenAPI: `https://send21.io/openapi.json` (Swagger UI at `/swagger`). - Auth: `Authorization: Bearer s21_`. Scoped API keys are created by the human account owner. Scopes: `drafts:read`, `drafts:write`, `addressbook:read`, `addressbook:write`, `webhooks:manage`. No key can move funds. - MCP server: `https://send21.io/mcp`, Streamable HTTP, stateless, same bearer key. Tools: create_draft, get_draft, get_draft_status, list_draft_quotes, get_transaction_template, submit_lightning_proof, create_payment_request, get_payment_request, list_address_book, propose_receiving_address, get_account_status, create_account, get_rate, get_fee_schedule. New accounts let API keys use only addresses the owner approved: an agent proposes an address (propose_receiving_address), the owner approves it in the app with a passkey or authenticator code, and any other address returns 422 address_not_approved. An agent without a key can call create_account with the owner's email: it gets a bootstrap key at once, the owner takes the account over from an emailed link (72 hours), and until then creating anything returns 403 owner_not_confirmed; unclaimed accounts are deleted after 7 days. `tools/list` and get_fee_schedule work without a key. Public resources, no key: send21://docs/overview, send21://docs/currencies, send21://fees/schedule, send21://docs/webhooks, send21://brand/guidelines and the logo files (send21://brand/*.svg and a PNG) for showing send21 on a website. Prompts: create_pay_link, check_payment, handle_amount_mismatch. Listed on [Smithery](https://smithery.ai/servers/send21io/mcp) and [Glama](https://glama.ai/mcp/servers/send21io/mcp). MCP Server Card: https://send21.io/mcp/server-card (AI Catalog: https://send21.io/.well-known/ai-catalog.json). Every tool has MCP annotations (read-only, destructive, idempotent, open-world hints). MCP sign-in (OAuth 2.1, PKCE, dynamic client registration) at https://send21.io/mcp/oauth: the owner signs in and approves in the browser, no key to copy; connected apps only ever use approved addresses. Muse Code setup: https://send21.io/docs/muse. Cursor and Grok Bot plugin (MCP server plus create-pay-link, check-payment and verify-webhooks skills): https://github.com/send21io/send21-plugin. Frameworks: LangChain (pip install langchain-send21), Vercel AI SDK (npm install ai-sdk-tool-send21 ai zod), Haystack (pip install send21-haystack). - Assets per network: Bitcoin: BTC. Lightning: BTC to a Lightning address. Solana: USDC, USDT, EURC, SOL, wrapped BTC (Portal). Ethereum: USDC, USDT, EURC, ETH, WBTC. Base: USDC, EURC, ETH. Arbitrum: native USDC, ETH. Polygon: native USDC. Decimals: BTC 8, USDC/USDT/EURC 6, SOL 9 (lamports), ETH 9 (stored in gwei, sent in wei). - Payment requests (`POST /payment-requests`): a fiat-priced pay link that offers several currencies. The payer scans one standard QR (BIP-21, Solana Pay, EIP-681 or a Lightning invoice) and sends a single transfer from any wallet. When one currency is offered on several networks, pass `network` to `POST /checkout/{token}/select`. - Drafts (`POST /drafts`): one payment to one receiver, exact or fiat-pegged. `GET /drafts/{id}/tx-template` returns a multi-output template for PSBT wallets (Bitcoin Core `walletcreatefundedpsbt` arguments, Electrum and Sparrow pay-to-many CSV). Batch up to 25 drafts with `POST /drafts/batch`. Recurring drafts with `POST /recurring-templates` (daily, weekly, monthly). - Lightning: pass the receiver's Lightning address (name@wallet.com) as `receiverAddress` with `paymentMethod: "Lightning"`. send21 fetches the invoice and confirms the payment when the provider supports LUD-21 (`lightningConfirmable` on the draft). For a pasted `bolt11` invoice (no receiverAddress needed), or a provider without LUD-21, post the payment preimage to `POST /drafts/{id}/lightning-proof` to confirm. - Different amounts: a transfer within 10% of the billed amount never confirms on its own. The draft keeps its status; `amountMismatch.reviewState` (also on `GET /drafts/{id}/status`) is `pending`, then `accepted` (`POST /drafts/{id}/accept-received`, `acceptReason`), `rejected` (`POST /drafts/{id}/reject-received`, `rejectReason` required) or `unresolved` (the draft expired undecided; it can still be accepted). Events: draft.amount_mismatch, draft.mismatch_accepted, draft.mismatch_rejected, draft.mismatch_reminder (2 hours before expiry), draft.mismatch_unresolved. The money is already in the receiver's wallet; refunds are manual. Optional `shortfallPolicy` auto-accepts small shortfalls, never overpayments. - One link per order: `reuseOpenForOrder: true` on `POST /payment-requests` returns the open link for the same `orderId` instead of creating a second; a new Idempotency-Key alone creates a new link. `GET /payment-requests?orderId=` lists them. - Signer safety: `declineNote` on payment requests (what happens if the human does not pay, shown on the pay page as "If you don't pay:"); `changeSignals` / `changeNotes` on payment requests and drafts (`new_address`, `new_asset`, `unusual_amount`; empty when nothing is unusual, and the pay page shows the same lines); optional `shortfallPolicy` `{ absorbUpToPercent: 0-10, absorbedBy: "receiver" }` accepts small short payments automatically (never overpayments); `acceptReason` on `POST /drafts/{id}/accept-received`; webhooks `draft.mismatch_accepted` and `payment_request.expired` (`opened`, `quoteRequested`, no payer data). No escrow, holds or delayed release: send21 never holds funds. - Integrity: a draft's `core` never changes after creation (a change means a new draft); `coreSha256` is SHA-256 over its RFC 8785 (JCS) form. A fiat-priced draft's rate lock is an immutable `quote` (15 minutes) with its own id and `sha256`; a re-quote records a new one (`GET /drafts/{id}/quotes`) and payment webhooks carry `quoteId`. The draft's expiry (`expiryHours`) never moves. Timestamps everywhere are UTC with three fraction digits and `Z`. Hash base units, never `amountFormatted` or `amountBtc` (display only). - Idempotency: send an `Idempotency-Key` header on `POST /drafts` and `POST /payment-requests`. The same key with the same request returns the same object; the same key with another amount, currency or address is refused with 422 (nothing is created). `reuseOpenForOrder` only returns an open link that asks for the same amount and addresses. - Unique amounts: two open payments to one address never share an amount, because payments are matched by exact amount. A fiat-priced amount may be raised by a few base units (at most 1000) to make it unique; an exact amount another account already waits for on that address is refused with 409. - Confirmation: before a payment is marked confirmed, send21 looks the transaction up once more at a second source; a replaced or reorged-out payment sends the draft back to AwaitingPayment. Native ETH seen only as a balance increase (no explorer) waits for the receiver (`reviewReason: "balance_check"`). - Pasted Lightning invoices must carry the draft amount, and one invoice backs one draft. Token contracts, mints and the zero address are refused as receivers. - Pay-link rate lock: a pay-link payment of the exact amount that arrives more than 10 minutes after its rate lock ended waits for the receiver like a different amount (`draft.amount_mismatch` with `reviewReason: "rate_lock_expired"`). - Status: poll `GET /drafts/{id}/status`, or better, register webhooks with `POST /webhooks`. Events: draft.created, draft.seen, draft.confirmed, draft.amount_mismatch, draft.mismatch_accepted, draft.mismatch_rejected, draft.mismatch_reminder, draft.mismatch_unresolved, draft.expired, draft.cancelled, payment_request.expired, test. Each delivery is signed with `X-Send21-Signature: sha256=` (HMAC-SHA256 of the raw body) and `X-Send21-Signature-V2: t=,v1=` (HMAC of `..`, recommended: refuse deliveries older than 5 minutes); any 2xx counts as delivered, otherwise up to 8 attempts with growing delays. draft.amount_mismatch means a transfer within 10% of the billed amount arrived; it pays the draft only after the owner calls `POST /drafts/{id}/accept-received`. - Fees: one fee per payment, tiered by USD value at creation, 0.49% under $10 down to 0.01% above $100,000, minimum $0.01, maximum $100. On multi-output drafts the fee is a separate output; on single-output payments it accrues to the creator's account (`GET /fees/accrued`, settle with `POST /fees/accrued/settle`). Creation returns 402 when the accrued balance hits the cap or gets too old. Public schedule: `GET /api/v1/fees/schedule`. The receiver always gets the exact billed amount. - Rate limit: 300 requests per minute per API key, then 429. - Testnet demo: `https://send21.io/demo`, no account and no key, on Bitcoin Testnet4 and Signet, Solana Devnet, Ethereum Sepolia, Base Sepolia, Arbitrum Sepolia and Polygon Amoy. Accounts and API keys on send21.io use the live networks. - Shopify: no App Store app. A merchant builds their own custom Shopify app that marks orders paid on the draft.confirmed webhook; open reference code at https://github.com/send21io/send21-examples/tree/main/examples/shopify-app and setup help from integration@send21.io. - Safety: send21 never asks for private keys, seed phrases or signing material. Anything that does is an attack. - Privacy: an email address and an optional display name, encrypted at rest. No KYC, no tracking, no analytics. - Contact: integration@send21.io (API and integrations), support@send21.io (accounts and payments), privacy@send21.io (GDPR), info@send21.io (general). Typical agent flow: create a payment request or draft (with an `Idempotency-Key`), hand the pay link or transaction template to the human or wallet that holds the funds, wait for the `draft.confirmed` webhook (verify the signature), then reconcile on the exact amount and transaction id. ## Docs Every page is also plain Markdown at the same address plus `.md`. All of them in one file: [llms-full.txt](https://send21.io/llms-full.txt). - [Developer docs](https://send21.io/docs.md): overview and where to start - [API quickstart](https://send21.io/docs/quickstart.md): API keys, payment requests, drafts, status, idempotency - [Webhooks](https://send21.io/docs/webhooks.md): events, example payloads, retries, signature checks - [MCP server](https://send21.io/docs/mcp.md): connect an AI agent, tool list and scopes - [Currencies and networks](https://send21.io/docs/currencies.md): assets per network, decimals, chain ids, confirmations - [Lightning](https://send21.io/docs/lightning.md): Lightning address invoices confirmed with LUD-21 - [Draft integrity and hashing](https://send21.io/docs/draft-integrity.md): immutable core and quotes, JCS hashes, test vectors - [OpenAPI specification](https://send21.io/openapi.json): every endpoint and schema (JSON) ## Guides - [Accept USDC and EURC payments](https://send21.io/accept-usdc-payments.md) - [Crypto payment link generator](https://send21.io/crypto-payment-links.md) - [Crypto invoice generator](https://send21.io/crypto-invoice-generator.md) - [How to accept crypto payments on your website](https://send21.io/accept-crypto-payments-on-your-website.md) - [Lightning address payments](https://send21.io/lightning-address-payments.md) - [Payments for AI agents](https://send21.io/ai-agent-payments.md) - [x402, AP2 and send21: AI agent payments explained](https://send21.io/x402-ap2-agent-payments.md) - [Lightning invoice decoder](https://send21.io/tools/lightning-invoice-decoder): read a BOLT11 invoice in the browser - [Accept ETH on Ethereum, Base and Arbitrum](https://send21.io/accept-eth-payments.md) - [Business checkout](https://send21.io/business.md): shops, webshops and point of sale - [Pricing](https://send21.io/pricing.md): one fee per payment, 0.49% down to 0.01%, capped at $100 ## Optional - [send21 vs BTCPay Server](https://send21.io/compare/btcpay-server.md) - [Non-custodial alternative to crypto payment gateways](https://send21.io/compare/hosted-crypto-gateways.md) - [send21 as a Coinbase Commerce alternative](https://send21.io/compare/coinbase-commerce.md) - [send21 as a NOWPayments alternative](https://send21.io/compare/nowpayments.md) - [send21 as a BitPay alternative](https://send21.io/compare/bitpay.md) - [About send21](https://send21.io/about.md) - [Testnet demo](https://send21.io/demo.md) - [Terms of service](https://send21.io/terms.md) - [Privacy policy](https://send21.io/privacy.md) # Crypto pay links and API for people and AI agents. Paid straight to your own wallet. Send a pay link or invoice priced in your own currency, or create one from your code or your AI agent through the API. The payer picks BTC (on-chain or Lightning), USDC, USDT, EURC, SOL or ETH and pays from their own wallet. send21 is non-custodial: it never holds your money or your keys. [Create a free account](https://send21.io/login?mode=register) [Try the demo, no sign-up](https://send21.io/demo) Works with any wallet that can scan a QR code ## Your money never passes through send21 ### Nothing to steal send21 has no wallets, no private keys and no signing code. Even a full server break-in cannot move your money. ### You get the full amount The send21 fee is never taken from the payment. The receiver gets exactly what was billed, and the payer's wallet sets the network fee. ### Price in your own currency Bill in EUR, USD, SEK or any of **161 currencies**. The exchange rate locks for 15 minutes and is recorded on the payment. Or ask for an exact crypto amount. ## Get paid in three steps ### 1. Create a payment request Set the amount, the currencies you accept and your own receiving addresses. In the app, or by API from your shop or AI agent. ### 2. The payer pays from their wallet They scan one QR code with any wallet and send. The money goes straight to you. send21 never touches it. ### 3. You see it confirmed send21 watches the chain and tells you by email and signed webhook when the payment arrives and confirms. ### Supported currencies and networks | Network | Currencies | | --- | --- | | Bitcoin on-chain | BTC | | Lightning to a Lightning address | BTC | | Solana | USDC USDT EURC SOL Wrapped BTC | | Ethereum | USDC USDT EURC ETH WBTC | | Base | USDC EURC ETH | | Arbitrum | USDC (native) ETH | | Polygon | USDC (native) | Use any of these on pay links and drafts, priced in any of 161 currencies. For Lightning, send21 gets the invoice from your Lightning address and confirms the payment automatically when your Lightning provider supports it (LUD-21). [Details per network](https://send21.io/docs/currencies) . ## Crypto payments for AI agents, without giving them your keys An agent creates pay links and payment drafts over the REST API or the MCP server. A person, or the operator's own wallet, signs every payment. No API key can move funds, because send21 holds none. ### Scoped API keys Grant only what the agent needs: `drafts:write`, `drafts:read`, `webhooks:manage`. ### MCP server built in Point any MCP client at `https://send21.io/mcp` and get tools for drafts, pay links, rates and fees. ### Signed webhooks HMAC-SHA256 signed events such as `draft.confirmed`, so you never need to poll. ### Safe retries and batches An `Idempotency-Key` makes retries safe. Create up to 25 drafts in one call. ### Pay links by API `POST /payment-requests` returns a hosted pay page priced in fiat, payable in any supported currency. ### Recurring payments Daily, weekly or monthly drafts created automatically. The payer still signs each one. ### Create a draft in one call ``` curl -X POST https://send21.io/api/v1/drafts \ -H "Authorization: Bearer s21_yourkey" \ -H "Idempotency-Key: invoice-2026-001" \ -H "Content-Type: application/json" \ -d '{ "receiverAddress": "bc1q...", "network": "Mainnet", "paymentMethod": "MultiOutput", "fiatCurrency": "USD", "fiatAmount": 50.00, "memo": "Invoice 2026-001" }' ``` ### The full agent flow #### Authenticate Send a scoped key as `Authorization: Bearer s21_...`. #### Create the draft `POST /api/v1/drafts` with the receiver address and either an exact `amountSats` or a `fiatCurrency` and `fiatAmount`. The response shows the receiver amount, the send21 fee and the locked rate. #### Sign in your own wallet `GET /api/v1/drafts/{id}/tx-template` returns the exact outputs, a `bitcoin-cli` example and a pay-to-many CSV. Sign and broadcast with your own node, wallet or HSM. Private keys never touch send21. #### Get the result send21 matches the payment on-chain and sends `draft.confirmed` to your webhook. For a quick check, `GET /drafts/{id}/status` returns the status, txid and confirmations. [Read the API quickstart](https://send21.io/docs/quickstart) [Connect an agent over MCP](https://send21.io/docs/mcp) For machines: [/llms.txt](https://send21.io/llms.txt) , the OpenAPI spec at [/swagger](https://send21.io/swagger/index.html) , and the MCP endpoint at `https://send21.io/mcp` (Streamable HTTP). ## One small fee per payment, capped at $100 From 0.49% on small payments down to 0.01% above $100,000. No subscription, no setup fee, no exchange-rate spread. The fee is never taken from the payment, so the receiver always gets the full amount. [See how the fee is collected](https://send21.io/pricing) ## Works with the wallets people already use - **Pay links and single payments:** any wallet that can scan a QR code and send an exact amount. The QR uses the standard formats (BIP-21, Solana Pay, EIP-681 and Lightning invoices). - **Batched Bitcoin drafts:** a PSBT wallet such as Bitcoin Core, Sparrow, Electrum. Hardware wallets sign through these. - **Batched drafts on Ethereum and other EVM chains:** a batching wallet such as Safe, or send each transfer on its own. Always check the address and amount in your own wallet before you sign. ## Run a shop? Take crypto online and at the counter Price in your own currency and show one QR code. Your customer pays with the crypto they hold, straight to your wallet. The confirmation webhook carries your order id and the exact rate for your books. [See send21 for business](https://send21.io/business) ## Questions ### Does send21 hold funds or private keys? No. send21 is software that prepares payment instructions. It has no private keys, no signing code and no way to broadcast. Every payment is signed in the payer's own wallet, and funds move directly from payer to receiver. ### Which currencies and networks are supported? BTC on-chain and over Lightning, USDC, USDT, EURC, SOL and ETH, across Bitcoin, Solana, Ethereum, Base, Arbitrum and Polygon. Prices can be set in any of 161 world currencies, and the exchange rate locks when the payer picks a currency. ### Which wallets can payers use? Any wallet that scans a QR code. Pay links and new drafts are a single payment using the standard formats (BIP-21, Solana Pay, EIP-681, Lightning invoices). Batched drafts are an option for PSBT wallets such as Bitcoin Core, Sparrow and Electrum, and for batching wallets such as Safe. ### How can a webshop accept purchases from AI agents? Your backend creates a payment request with one API call: the price in your currency, your receiving addresses and your order id. The pay page and API responses are machine-readable, so an agent can pick a currency and pay from its operator's wallet. Your shop reconciles through a signed webhook that carries the order id and the exact rate. ### What does send21 cost? One fee per payment, tiered by size: 0.49% on small payments down to 0.01% above $100,000, with a $0.01 minimum and a $100 maximum. There is no subscription, and the receiver always gets the exact billed amount. ## Create your first payment link Free account, no subscription. You only pay a small fee when you get paid. [Create a free account](https://send21.io/login?mode=register) [Try the demo first](https://send21.io/demo) --- Source: https://send21.io/ # Developer docs Everything you need to create payment requests and drafts from your own code or from an AI agent. send21 prepares payment instructions; the payer always signs in their own wallet, and send21 never holds keys or funds. ## Start here - [API quickstart](https://send21.io/docs/quickstart): API keys, your first payment request and draft, status and idempotency. - [Webhooks](https://send21.io/docs/webhooks): events, payloads, retries and signature checks. - [MCP server](https://send21.io/docs/mcp): connect an AI agent over the Model Context Protocol. - [Muse Code](https://send21.io/docs/muse): add send21 to Meta's coding agent. - [Currencies and networks](https://send21.io/docs/currencies): which assets each network carries, decimals and confirmations. - [Lightning](https://send21.io/docs/lightning): pay links and drafts that confirm through the receiver's Lightning address. - [Draft integrity and hashing](https://send21.io/docs/draft-integrity): the immutable core, quotes, coreSha256 and test vectors. ## Machine-readable references - OpenAPI 3 specification: [/openapi.json](https://send21.io/swagger/v1/swagger.json), browsable at [/swagger](https://send21.io/swagger/index.html). - Overview for language models: [/llms.txt](https://send21.io/llms.txt), with every doc in one file at [/llms-full.txt](https://send21.io/llms-full.txt). - Every docs page is also available as Markdown: add `.md` to the address, for example [/docs/webhooks.md](https://send21.io/docs/webhooks.md). ## Try it without an account The [testnet demo](https://send21.io/demo) runs the whole flow on test networks with free test coins: a draft, a QR payment from your own wallet, and an on-chain confirmation. No account and no email. --- Source: https://send21.io/docs # API quickstart The send21 API has two building blocks. A **payment request** asks to get paid: the payer opens a link, picks a currency and pays from any wallet. A **payment draft** prepares a payment to someone else, which the sender signs in their own wallet. Base URL: `https://send21.io/api/v1`. ## 1. Create an API key Sign in and open [API keys](https://send21.io/api-keys). Pick only the scopes you need. Keys look like `s21_...` and are shown once. No key can move funds, because send21 never holds any. | Scope | Allows | | --- | --- | | `drafts:read` | Read drafts, payment requests, templates, status and rates | | `drafts:write` | Create, cancel and re-quote drafts and payment requests | | `addressbook:read` | Read saved addresses | | `addressbook:write` | Change saved addresses | | `webhooks:manage` | Register and delete webhook endpoints | ## 2. Ask to get paid: a payment request Price it in any of 161 fiat currencies and list the currencies you accept, each with your own receiving address. The response contains `payPath`; share `https://send21.io` plus that path as a link or QR code. The rate locks when the payer picks a currency. ```bash curl -X POST https://send21.io/api/v1/payment-requests \ -H "Authorization: Bearer s21_YOUR_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: order-1042" \ -d '{ "fiatCurrency": "EUR", "fiatAmount": 49.00, "orderId": "ORDER-1042", "memo": "Invoice 1042", "options": [ { "currency": "Eurc", "network": "Base", "address": "0xYourAddress" }, { "currency": "Usdc", "network": "Solana", "address": "YourSolanaAddress" }, { "currency": "Btc", "network": "Mainnet", "address": "you@your-wallet.com", "method": "Lightning" } ] }' ``` ## Help the person who pays - `declineNote` (optional, up to 200 characters): what happens if they do not pay. The pay page shows it under the amount as "If you don't pay:". Plain text only. - `changeSignals` and `changeNotes` (read-only, on create and GET by id): what is unusual compared with your paid payments. `new_address`, `new_asset` and `unusual_amount` (more than 2x your usual amount in that currency). The pay page shows the same lines above the payment, and shows nothing when nothing is unusual. - `shortfallPolicy` (optional): `{ "absorbUpToPercent": 2, "absorbedBy": "receiver" }` accepts payments that arrive up to 2% short, for example when an exchange takes its fee from the amount. Overpayments always wait for you. - When a pay link expires unpaid, the `payment_request.expired` webhook says whether the payer opened it and whether they picked a currency. - One pay link per order: send `reuseOpenForOrder: true` and an open link for the same `orderId` is returned instead of a second one. A new `Idempotency-Key` alone always creates a new link. `GET /payment-requests?orderId=` lists the links for an order. ## 3. Prepare a payment: a draft A draft pays a receiver. Use `paymentMethod: "MultiOutput"` for any on-chain payment, or `"Lightning"`. Add `singleOutput: true` for one QR payment from any wallet, with the send21 fee billed to your account. Without it, the fee is a separate output and the draft suits PSBT and batching wallets. Fetch wallet-ready instructions from `GET /drafts/{id}/tx-template`. ```bash curl -X POST https://send21.io/api/v1/drafts \ -H "Authorization: Bearer s21_YOUR_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: payout-77" \ -d '{ "receiverAddress": "0xReceiverAddress", "network": "Arbitrum", "currency": "Usdc", "paymentMethod": "MultiOutput", "singleOutput": true, "fiatCurrency": "SEK", "fiatAmount": 1500 }' ``` ## 4. Track the payment - Poll `GET /drafts/{id}/status` for `AwaitingPayment`, `Seen`, `Confirmed`, `Expired` or `Cancelled`. Once confirmed, `confirmedAt` says when; it is set once and never changes. - Better: register a [webhook](https://send21.io/docs/webhooks) and react to `draft.confirmed`. - A transfer within 10% of the billed amount (over or under) is never confirmed on its own. The draft keeps its status (`AwaitingPayment`); `amountMismatch.reviewState` (also on `GET /drafts/{id}/status`) says `pending`, and `draft.amount_mismatch` is sent once. - Decide with `POST /drafts/{id}/accept-received` (`acceptReason`; the draft continues as paid, `draft.mismatch_accepted`) or `POST /drafts/{id}/reject-received` (`rejectReason`, required; `draft.mismatch_rejected`). Both store who decided and why. - Still undecided 2 hours before the draft expires: one `draft.mismatch_reminder` (and an email). At expiry the draft becomes `Expired` with `reviewState: unresolved`; `draft.expired` carries the received amount and `draft.mismatch_unresolved` is sent. You can still accept it afterwards. - The money is always already in the receiving wallet. send21 never holds funds, so a declined or unresolved payment is refunded by the receiver, outside send21. - With `shortfallPolicy`, short payments within your percent are accepted automatically (`acceptReason: "auto: shortfallPolicy"`). Overpayments always wait for a person. ## Good to know - Send an `Idempotency-Key` header on create calls. A retry with the same key returns the original object. - Batch creation: `POST /drafts/batch` takes up to 25 drafts. - Rate limit: 300 requests per minute per key. A 429 means back off; prefer webhooks over tight polling. - A 402 on a create call means accrued fees must be settled first; the body names `POST /fees/accrued/settle`. - Calls signed in with the website's session cookie instead of a key (for example a script that creates API keys) must send the header `X-CSRF: 1` on every POST, PUT and DELETE, or they get 403 "Missing X-CSRF header.". It is an anti-forgery check: other sites cannot set it. Requests with an API key do not need it. - Full reference: [/swagger](https://send21.io/swagger/index.html) and [/openapi.json](https://send21.io/swagger/v1/swagger.json). --- Source: https://send21.io/docs/quickstart # Webhooks send21 calls your server when a draft changes. Register an endpoint with `POST /api/v1/webhooks` (scope `webhooks:manage`) and the events you want. The response contains the signing secret once. Send a test event any time with `POST /api/v1/webhooks/{id}/test`. ## Delivery Each delivery is a `POST` with `Content-Type: application/json` and the body `{ "event": "", "data": { ... } }`. Any 2xx response counts as delivered. Anything else, or no answer within 15 seconds, is retried after 1, 2, 4, 8 minutes and so on, up to 8 attempts. Deliveries can arrive out of order. | Header | Meaning | | --- | --- | | `X-Send21-Event` | The event type | | `X-Send21-Delivery` | Unique delivery id; retries reuse it, so use it to ignore duplicates | | `X-Send21-Signature` | Original signature, kept for existing integrations: `sha256=` plus the lowercase hex HMAC-SHA256 of the raw body, keyed with your secret. It has no timestamp, so prefer V2 | | `X-Send21-Timestamp` | When the delivery was sent, in Unix seconds | | `X-Send21-Signature-V2` | `t=,v1=..">`. Recommended: it also signs the time and the delivery id, so a copied delivery cannot be replayed. Refuse deliveries more than 300 seconds (5 minutes) old | ## Verify the signature Check `X-Send21-Signature-V2`: compute the HMAC over `..`, using the raw request bytes before parsing JSON, compare in constant time and refuse deliveries more than 300 seconds (5 minutes) old. Answer 401 when the header is missing or wrong. An older integration that checks `X-Send21-Signature` (HMAC of the raw body only) keeps working, but a copied delivery passes that check again. Before you ship goods, check that the amount, currency and `orderId` are the ones you expect. ```js // X-Send21-Signature-V2: t=,v1=.."> const sig = String(req.headers['x-send21-signature-v2'] ?? ''); const t = /(?:^|,)t=(\d+)/.exec(sig)?.[1]; const v1 = /(?:^|,)v1=([0-9a-f]{64})/.exec(sig)?.[1]; const deliveryId = String(req.headers['x-send21-delivery'] ?? ''); const fresh = t !== undefined && Math.abs(Date.now() / 1000 - Number(t)) <= 300; const expected = crypto.createHmac('sha256', secret) .update(t + '.' + deliveryId + '.').update(rawBody).digest('hex'); const ok = fresh && v1 !== undefined && crypto.timingSafeEqual(Buffer.from(v1, 'hex'), Buffer.from(expected, 'hex')); if (!ok) return res.status(401).end(); ``` ## The same check in Python ```python import hmac, hashlib, re, time sig = request.headers.get("X-Send21-Signature-V2", "") t = re.search(r"(?:^|,)t=(\d+)", sig) v1 = re.search(r"(?:^|,)v1=([0-9a-f]{64})", sig) delivery_id = request.headers.get("X-Send21-Delivery", "") valid = False if t and v1 and abs(time.time() - int(t.group(1))) <= 300: signed = t.group(1).encode() + b"." + delivery_id.encode() + b"." + raw_body expected = hmac.new(secret.encode(), signed, hashlib.sha256).hexdigest() valid = hmac.compare_digest(expected, v1.group(1)) ``` ## Events | Event | When | | --- | --- | | `draft.created` | A draft was created: by you, an API key, a recurring template, or a payer picking a currency on a pay link | | `draft.seen` | A payment was seen but is not confirmed yet. Also sent with `acceptedByOwner: true` when you accept a payment with a different amount | | `draft.confirmed` | The payment reached its required confirmations. For Lightning: the provider confirmed it with a valid preimage | | `draft.amount_mismatch` | A transfer within 10% of the billed amount arrived (`reviewState: pending`). It does not pay the draft until you accept it. Sent once | | `draft.mismatch_rejected` | You declined it with `rejectReason`. Carries both amounts and `refund: "manual"`: the money is in your wallet and any refund is up to you | | `draft.mismatch_reminder` | Still undecided 2 hours before the draft expires. Sent once | | `draft.mismatch_unresolved` | The draft expired (or was cancelled) while the transfer was undecided. Money arrived; nobody decided. You can still accept it | | `draft.expired` | The draft expired unpaid. If a transfer with a different amount was undecided, `receivedAmountSats` and `reviewState: unresolved` are set. For pay-link payments it also says `opened` and `quoteRequested` | | `draft.mismatch_accepted` | A payment with a different amount was accepted: by you, with `acceptReason`, or by the draft's `shortfallPolicy` (`acceptReason: "auto: shortfallPolicy"`). Carries the expected and received amounts | | `payment_request.expired` | A pay link expired unpaid. `opened`: the payer loaded the pay page (link previews and bots ignored). `quoteRequested`: they picked a currency. No IP or payer data | | `draft.cancelled` | The draft was cancelled | | `test` | Sent by the test endpoint | ## Payload `draft.seen`, `draft.confirmed`, `draft.amount_mismatch` and `draft.expired` share this shape. Amounts ending in `Sats` are base units of the sent asset: 8 decimals for BTC, 6 for USDC, USDT and EURC, 9 for SOL and ETH (ETH in gwei). `txId` is the transaction id, or the payment hash for Lightning. `receivedAmountSats` and `receivedAmount` appear when the amount differs from the billed amount, including on the `draft.confirmed` of an accepted short or over payment. `paymentRequestId` and `orderId` are set for pay-link payments. `quoteId` names the quote (rate lock) a fiat-priced payment was matched against. `confirmedAt` is set once the draft is confirmed and never changes. Timestamps are always UTC with three fraction digits and `Z`, the same as in the REST API. ```json { "event": "draft.confirmed", "data": { "draftId": "3f6c2a9e-5d1b-4c8e-9a7f-2b4d6e8f0a1c", "quoteId": "9b2e7c41-6a3d-4f8e-b1c5-0d9a8e7f6c2b", "status": "Confirmed", "txId": "5KqZ9bQ...", "confirmations": 1, "sentCurrency": "USDC", "network": "Solana", "amountSats": 50000000, "sentAmount": "50.000000", "fiatCurrency": "EUR", "fiatAmount": 46, "conversionRate": 0.92, "rateSource": "coinbase", "platformFee": { "accrued": true, "waived": false, "percent": 0.39, "feeUsd": 0.2, "feeBaseUnits": 195000, "feeAmount": "0.195000", "currency": "USDC" }, "paymentRequestId": "8d1e4b7a-0c2f-4e6d-b3a9-7f5c1e2d4a6b", "orderId": "ORDER-1042", "confirmedAt": "2026-10-06T08:22:21.000Z", "occurredAt": "2026-10-06T08:22:22.000Z" } } ``` ## Endpoint rules - Endpoints must use HTTPS and resolve to a public address; private and internal addresses are refused. - Store the secret in a secret manager. It is shown only once. - Reconcile with `orderId` and the exact amount, not with the time of arrival. --- Source: https://send21.io/docs/webhooks # MCP server for AI agents send21 runs a Model Context Protocol server at `https://send21.io/mcp` (Streamable HTTP, stateless). An agent can prepare and track payments with a scoped API key, and no key can move funds: a human or the operator's own wallet signs every payment. ## Connect Two ways in: sign in (below, no key to copy) or the same `Authorization: Bearer s21_...` header as the REST API. Listing the tools, reading the fee schedule, and every resource and prompt work without either; every other tool needs one. Coding agents such as Cursor, Claude Code and VS Code can add send21 as a remote MCP server and build payments into your app while they write the code. Create a key in [API keys](https://send21.io/api-keys) with only the scopes the job needs. No key can move funds. Cursor (`.cursor/mcp.json`), LM Studio (Program tab, Install, Edit mcp.json) and other clients that use `mcpServers`: ```json { "mcpServers": { "send21": { "url": "https://send21.io/mcp", "headers": { "Authorization": "Bearer s21_YOUR_KEY" } } } } ``` ## Sign in instead of a key Clients that support MCP sign-in (OAuth), such as Claude, Claude Code, Cursor, VS Code and Muse Code, can connect without a key. Add `https://send21.io/mcp/oauth` as a remote MCP server with no headers. The client opens send21 in your browser; you sign in, see what the app asks for, and approve. In Claude, add it as a custom connector with that URL. The app gets a token that renews itself every hour. It works like an API key with the scopes you approved, but only ever with receiving addresses you approved, whatever your account setting. You get an email for each new connection, and it is listed under [API keys](https://send21.io/api-keys) as a connected app, where Disconnect ends it at once. A connection nobody uses for 90 days ends by itself. `https://send21.io/mcp` takes sign-in too, but only asks for it when a tool needs it, so directories can list the tools without signing in. `/mcp/oauth` asks on the first request, which is what clients need to offer the sign-in when you add the server. Discovery: `/.well-known/oauth-protected-resource/mcp/oauth` and `/.well-known/oauth-authorization-server` (authorization code with PKCE S256, dynamic client registration, rotating refresh tokens). ```bash claude mcp add --transport http send21 https://send21.io/mcp/oauth # then run /mcp in Claude Code and choose send21 to sign in ``` ## Connect from Claude Code With a key: ```bash claude mcp add --transport http send21 https://send21.io/mcp \ --header "Authorization: Bearer s21_YOUR_KEY" ``` ## Connect from VS Code In `.vscode/mcp.json`: ```json { "servers": { "send21": { "type": "http", "url": "https://send21.io/mcp", "headers": { "Authorization": "Bearer s21_YOUR_KEY" } } } } ``` ## Connect from Muse Code Meta's coding agent takes send21 in `mcp_servers`; see [Use send21 with Muse Code](https://send21.io/docs/muse). ## Rules for a coding agent Paste this into your `AGENTS.md`, `CLAUDE.md` or Cursor rules, so the agent keeps to them while it builds: ```markdown ## Payments (send21) - Use the send21 MCP server for crypto pay links. Read send21://docs/overview first. - Create pay links with create_payment_request. Send an orderId with reuseOpenForOrder: true, so a retry returns the open link instead of creating a second one. - Pay links only go to receiving addresses the owner approved. If you need a new one, call propose_receiving_address and tell me; I approve it myself. A 422 address_not_approved means it is not approved yet. - Call get_account_status when something is blocked and follow its next steps. - Never mark an order paid from the browser. Wait for the signed webhook (draft.confirmed), verify X-Send21-Signature-V2, and check amount, asset and orderId on the server. Retries reuse X-Send21-Delivery: ignore deliveries you already handled. - Amount mismatches are mine to decide; never accept or decline one. - Never hold keys, sign or send payments. The payer signs in their own wallet. ``` ## Frameworks For agents built in code rather than connected over MCP, send21 also comes as framework packages: - [LangChain](https://github.com/send21io/send21-examples/tree/main/integrations/langchain): `pip install langchain-send21` - [Vercel AI SDK](https://github.com/send21io/send21-examples/tree/main/integrations/vercel-ai-sdk): `npm install ai-sdk-tool-send21 ai zod`, send21 tools for TypeScript agents - [Cursor and Grok Bot plugin](https://github.com/send21io/send21-plugin): the MCP server plus create-pay-link, check-payment and verify-webhooks skills - [Haystack](https://github.com/send21io/send21-haystack): `pip install send21-haystack`, a component that prepares a pay link (not an official deepset integration) ## Tools | Tool | What it does | Scope | | --- | --- | --- | | `create_payment_request` | Create a fiat-priced pay link with the currencies you accept. Optional `declineNote` (what happens if the human does not pay), `shortfallAbsorbUpToPercent` and `reuseOpenForOrder` (one open link per orderId) | `drafts:write` | | `get_payment_request` | Read a payment request, its payment status and its `changeSignals` | `drafts:read` | | `create_draft` | Prepare a payment to a receiver address | `drafts:write` | | `get_draft` | Read a draft with amounts, fee, quote, core hash and `changeSignals` | `drafts:read` | | `list_draft_quotes` | Every quote (rate lock) of a fiat-priced draft | `drafts:read` | | `get_draft_status` | Cheap status snapshot for polling, with `reviewState` when a payment with a different amount arrived | `drafts:read` | | `get_transaction_template` | Wallet-ready payment instructions for a draft | `drafts:read` | | `submit_lightning_proof` | Confirm a paid Lightning draft with the payment preimage | `drafts:write` | | `list_address_book` | Saved receiver and own addresses, with which ones the owner approved | `addressbook:read` | | `propose_receiving_address` | Propose an address for the owner to approve; it stays unusable until they do | `addressbook:write` | | `get_account_status` | What stands between the agent and a live pay link, and the next steps | `drafts:read` | | `create_account` | Sign the human owner up and get a bootstrap key; the owner takes the account over from an emailed link | none | | `get_rate` | Exchange rate for an asset in a fiat currency | `drafts:read` | | `get_fee_schedule` | The public fee schedule | none | ## Resources Public and read-only, no key needed. They are built from the same sources as this site and the REST API, so they never disagree with them. | URI | What it holds | | --- | --- | | `send21://docs/overview` | What send21 is and is not, flows, currencies, fees and links (the same text as llms.txt) | | `send21://docs/currencies` | Every currency and network a payment can use, with the exact API values, and the 161 fiat currencies | | `send21://fees/schedule` | The fee schedule as JSON, the same as `GET /api/v1/fees/schedule` | | `send21://docs/webhooks` | Events, delivery headers, retries and the `X-Send21-Signature-V2` check with code | | `send21://brand/guidelines` | Which logo for which background, colours, spacing, and the download URL of every logo file | | `send21://brand/logo-horizontal-on-dark.svg` | Main logo for dark backgrounds (also `.png`, 400 x 114) | | `send21://brand/logo-stacked-on-dark.svg` | Stacked logo for dark backgrounds and square spaces | | `send21://brand/icon-on-dark.svg` | The icon alone, for avatars and small spaces | | `send21://brand/wordmark-on-light.svg` | Wordmark for white or light backgrounds | | `send21://brand/wordmark-on-dark.svg` | Wordmark for dark backgrounds | ## Prompts Clients such as Claude offer these as ready-made commands. Each one steers the agent through the tools in an order that keeps the rules: your own addresses only, the payer signs in their own wallet, and a person decides about a payment with a different amount. | Prompt | Arguments | What it does | | --- | --- | --- | | `create_pay_link` | `amount`, `fiatCurrency`, `acceptedCurrencies`, optional `memo` and `orderId` | Builds the options from your currencies and addresses, calls `create_payment_request` and returns the link | | `check_payment` | `id` (pay link or draft) | Reads the pay link or draft and explains in plain words where it stands | | `handle_amount_mismatch` | `draftId` | Shows what was billed and what arrived, and how you accept or decline it; it never decides for you | ## Approved addresses: humans approve where the money lands New accounts only let API keys use addresses the owner approved (receiving-address policy `ApprovedOnly`; older accounts can turn it on in Settings). A key that names any other address gets 422 `address_not_approved` and nothing is created, so a prompt-injected agent or a leaked key cannot point a payment at an address of its choosing. The flow: the agent calls `propose_receiving_address`. The owner gets an email without any approve link, signs in to send21, compares the address character by character, and approves it with a passkey or an authenticator code. An emailed code is never enough, because an agent that reads the owner's inbox could use it. No API key and no scope can approve an address. `get_account_status` tells the agent what is still missing. Pay links need the owner's own approved receiving addresses; drafts may pay any approved address. A pasted Lightning invoice names no address to approve, so with `ApprovedOnly` a key uses a Lightning address instead. Payments the owner creates in the app are not limited. ## Agents sign up, owners take over An agent without a key can call `create_account` (or `POST /api/v1/accounts/agent-signup`) with the owner's email address, its own name and what it will use the account for. It gets a bootstrap key at once (read, drafts and address-book scopes, valid 90 days, shown once), and the owner gets an email with a link to take the account over. Until the owner opens the link (valid 72 hours) and sets up a passkey or a password, the key can read, propose addresses and call `get_account_status`, but creating anything returns 403 `owner_not_confirmed`. After that the approved-address rules apply: the agent creates pay links only to addresses the owner approved. An owner who did not ask for the account deletes it from the same page; an account nobody takes over is deleted after 7 days. At most 3 agent sign-ups per network per day; an email that already has an account gets 409 `account_exists`, and the agent asks the owner for a key instead. ## Agent proposes, human signs The safe split for agents: the agent creates the payment request or draft, and the payment is signed in a wallet the agent does not control. A compromised agent or API key can create instructions but cannot spend. Every tool calls the REST API in-process, so scopes, validation, idempotency and rate limits are the same as for REST clients. ## Tool annotations Every tool declares a title and the MCP hints. The nine read tools (`get_*`, `list_*`) are `readOnlyHint: true`, so clients that run read-only tools without asking (Muse Code, for example) can check status without a prompt. The five write tools (`create_payment_request`, `create_draft`, `submit_lightning_proof`, `propose_receiving_address`, `create_account`) are not read-only. No tool is destructive: none can delete anything or move funds. `submit_lightning_proof` is idempotent; `create_account` is `openWorldHint: true` because it emails the owner. ## Payment states How send21's statuses map to the states agent platforms ask for: | State | Pay link (`get_payment_request`) | Draft (`get_draft_status`) | | --- | --- | --- | | Quoted | `Open` with `draftStatus: AwaitingPayment`: the payer picked a currency and the price is locked | `AwaitingPayment`; a fiat price is locked for 15 minutes | | Pending | `Open` with `draftStatus: Seen` | `Seen`: the payment is seen, not yet confirmed | | Confirmed | `Completed` | `Confirmed` | | Failed | `Expired` unpaid | `Expired`; a payment with a different amount that was declined or never decided has `reviewState` `rejected` or `unresolved` | | Cancelled | `Cancelled` | `Cancelled` | ## No duplicate payments - `reuseOpenForOrder: true` with an `orderId` returns the open pay link for that order instead of creating a second one. - An `Idempotency-Key` (header, or `idempotencyKey` on `create_draft`) makes a retry return the original object; the same key with different parameters is refused. - A payment with a different amount never confirms on its own: `reviewState: pending` waits for the owner to accept or decline it. ## Examples Open-source example apps, each a working integration you can copy. Every one uses approved addresses and verifies signed webhooks. - [send21-examples](https://github.com/send21io/send21-examples): MCP, webhook receiver, LangChain, Vercel AI SDK and Shopify samples - [send21-agent-budget](https://github.com/send21io/send21-agent-budget): a budget guard between an AI agent and the MCP server - [send21-over-budget-handoff](https://github.com/send21io/send21-over-budget-handoff): an agent with a hard spend cap hands the payment to a human with a pay link, then resumes on the signed webhook - [send21-coffee-button](https://github.com/send21io/send21-coffee-button): Lightning-first "buy me a coffee" button, README badge and supporters wall - [send21-file-paywall](https://github.com/send21io/send21-file-paywall): sell a file, one pay link per purchase, single-use download links - [send21-telegram-shop](https://github.com/send21io/send21-telegram-shop): Telegram mini-shop bot with a cart and one pay link per order - [send21-discord-tipbot](https://github.com/send21io/send21-discord-tipbot): Discord tip bot - [send21-stream-tips](https://github.com/send21io/send21-stream-tips): tip alerts in your OBS overlay - [send21-split-the-bill](https://github.com/send21io/send21-split-the-bill): split a bill into one QR per friend - [send21-event-ticket](https://github.com/send21io/send21-event-ticket): signed QR tickets with one-time door check-in - [send21-pos-simulator](https://github.com/send21io/send21-pos-simulator): demo card terminal with a send21 QR option (the card is simulated) - [send21-parking-meter](https://github.com/send21io/send21-parking-meter): pay for parking time and extend it from your phone - [send21-pay-per-use](https://github.com/send21io/send21-pay-per-use): laundromat or arcade machine unlocked by a pay link ## Directory listings - Official MCP Registry: `io.github.send21io/mcp` - Smithery: [smithery.ai/servers/send21io/mcp](https://smithery.ai/servers/send21io/mcp) - Glama: [glama.ai/mcp/servers/send21io/mcp](https://glama.ai/mcp/servers/send21io/mcp) - MCP Server Card (connection details before connecting): `https://send21.io/mcp/server-card`, listed in the AI Catalog at `https://send21.io/.well-known/ai-catalog.json`. The registry entry itself: `https://send21.io/mcp/server.json` --- Source: https://send21.io/docs/mcp # Use send21 with Muse Code Muse Code is Meta's coding agent for the terminal and CI. Add send21 as an MCP server and it can create crypto pay links and check whether they were paid while it builds your app. Muse Code prepares the pay link; the payer signs and sends from their own wallet. send21 never holds keys or funds, so no key you give Muse Code can move money. ## Before you start - Sign in to send21 and open [API keys](https://send21.io/api-keys). Create a key with only the scopes the job needs, for example `drafts:read`, `drafts:write` and `addressbook:read`. Name it Muse Code. Keys are shown once. - Approve your receiving addresses in the send21 app. Pay links only go to addresses you approved. - Put the key in an environment variable, for example `SEND21_API_KEY`, not in the settings file. ## Add send21 to Muse Code Add send21 to the `mcp_servers` block of `~/.config/muse/settings.json`. If the file already exists, add only the `send21` entry and keep `"schema_version": 1`: Muse Code refuses a settings file without it. `${SEND21_API_KEY}` is read from the environment. ```json { "schema_version": 1, "mcp_servers": { "send21": { "transport": "streamable_http", "url": "https://send21.io/mcp", "headers": { "Authorization": "Bearer ${SEND21_API_KEY}" }, "mode": "optional" } } } ``` ## Or sign in instead of a key Muse Code can sign in to remote servers. Use `"url": "https://send21.io/mcp/oauth"` with no `headers`, then run `muse mcp login send21`: send21 opens in your browser, you sign in and approve. The connection renews itself and only ever uses receiving addresses you approved. ## Check the connection - Run `/mcp` in a session to see send21 and its 14 tools. - With `mode: "optional"`, Muse Code skips send21 with a warning if it cannot connect, instead of stopping the run. Leave `mode` out (`required`) to make send21 mandatory. - Every send21 tool says whether it only reads. With approvals on, Muse Code runs the read-only tools (status, rates, address book) without asking and asks before the tools that create something. See [tool annotations](https://send21.io/docs/mcp). ## What Muse Code can do - Create a pay link priced in any of 161 fiat currencies, paid in BTC (on-chain or Lightning), USDC, USDT, EURC, SOL or ETH to your approved addresses. USDT is on Solana and Ethereum only. - Create payment drafts and wallet-ready payment instructions. - Check whether a pay link or draft is paid. - Propose a new receiving address for you to approve. - Read your address book, account status, exchange rates and fees. ## What Muse Code cannot do - Move, sign or send money. The payer always signs in their own wallet. - Approve a receiving address. You do that yourself in the send21 app with a passkey or authenticator code. A pay link to any other address is refused. - Accept or decline a payment with a different amount. That decision is yours. - See your private keys or seed phrase. send21 never asks for them. ## Rules for the agent Paste the [rules for a coding agent](https://send21.io/docs/mcp) into your project's `AGENTS.md`, so Muse Code keeps to them while it builds. ## Try it first The [testnet demo](https://send21.io/demo) runs the whole flow on test networks with free test coins, with no account and no key. Accounts and API keys use the live networks; a pay link moves no money until someone pays it. Questions: info@send21.io. --- Source: https://send21.io/docs/muse # Currencies and networks Payments settle in the asset the payer picks, directly to the receiver's own wallet. Prices can be set in any of 161 fiat currencies and convert at a rate locked for 15 minutes. ## What each network carries | Network (API value) | Currencies (API values) | | --- | --- | | Bitcoin (`Mainnet`) | BTC (`Btc`) on-chain, and over Lightning with `paymentMethod: "Lightning"` | | Solana (`Solana`) | `Usdc`, `Usdt`, `Eurc`, native `Sol`, wrapped BTC (`Btc`) | | Ethereum (`Ethereum`) | `Usdc`, `Usdt`, `Eurc`, native `Eth`, WBTC (`Btc`) | | Base (`Base`) | `Usdc`, `Eurc`, native `Eth` | | Arbitrum (`Arbitrum`) | native `Usdc` (not USDC.e), native `Eth` | | Polygon (`Polygon`) | native `Usdc` (not USDC.e) | ## Amounts and decimals API amounts (`amountSats`, `amountBaseUnits`) are integers in the asset's base units. | Asset | Decimals | Base unit | | --- | --- | --- | | BTC and wrapped BTC | 8 | satoshi | | USDC, USDT, EURC | 6 | micro-unit | | SOL | 9 | lamport | | ETH | 9 | gwei (payment links carry the value in wei) | ## Payment links - Bitcoin: BIP-21 (`bitcoin:`). Lightning: the invoice (`lightning:`). - Solana: Solana Pay (`solana:`), with `spl-token` for tokens. - EVM chains: EIP-681 (`ethereum:`) with chain id 1 (Ethereum), 8453 (Base), 42161 (Arbitrum) or 137 (Polygon). ## Detection and confirmation - Payments are matched by exact amount at the receiver address, so two open payments to one address never share an amount: a fiat-priced amount may be a few base units higher than the plain conversion. Use a fresh address per payment where you can. - Before a payment is marked confirmed, send21 looks the transaction up once more at a second source. A payment that was replaced or reorged out sends the draft back to awaiting payment. - A transfer within 10% of the billed amount is recorded for the receiver to accept or decline (`reviewState`), never ignored and never confirmed on its own. - One confirmation by default; Polygon waits for 16. Solana counts finalized transactions. - Native ETH is detected with free sources: public block explorers where they exist, optional free-tier explorer keys, and a balance check over public RPC. A payment seen only by the balance check cannot show who sent it, so the receiver confirms it (`reviewReason: balance_check`). - Lightning is confirmed through the receiver's Lightning address when the provider supports LUD-21. See [Lightning](https://send21.io/docs/lightning). ## Test networks The [demo](https://send21.io/demo) covers Testnet4, Signet, Solana Devnet, Ethereum Sepolia, Base Sepolia, Arbitrum Sepolia and Polygon Amoy. On send21.io the test networks are reserved for the demo; account drafts use the live networks. --- Source: https://send21.io/docs/currencies # Lightning payments With a Lightning address (like `you@your-wallet.com`), send21 can confirm Lightning payments without ever holding them. The invoice comes from the receiver's own wallet provider and pays the receiver directly. ## How it works - The receiver gives a Lightning address, on a draft (`receiverAddress` with `paymentMethod: "Lightning"`) or as a pay-link option (`method: "Lightning"`). - When the payer is ready, send21 asks that address (LNURL-pay) for an invoice of the exact amount and checks the invoice's amount and network. - The payer scans the invoice with any Lightning wallet. The money goes straight to the receiver's wallet. - If the provider supports LUD-21, send21 polls its verify URL and confirms the payment once it returns a preimage that hashes to the invoice's payment hash. `lightningConfirmable` on the draft tells you in advance. ## Limits - Not every Lightning wallet provider supports LUD-21. Without it the payment still works, and you confirm it with the proof of payment (below). - send21 cannot see a pasted BOLT11 invoice being paid. After paying, post the proof of payment (the 64-character preimage the paying wallet shows) to `POST /drafts/{id}/lightning-proof`. send21 checks that it hashes to the invoice's payment hash and confirms the draft. No on-chain address is needed for a pasted invoice. - Invoices expire; the rate lock ends with the invoice. Re-quote the draft for a fresh invoice. - An invoice cannot carry a fee output, so the send21 fee is billed to the creator's account and settled later. A pasted invoice carries no send21 fee. --- Source: https://send21.io/docs/lightning # Draft integrity and hashing Every draft has a core that never changes after creation, and every fiat-priced draft has quotes that never change once recorded. send21 publishes a SHA-256 hash of each, so you can sign, store or compare a draft without reimplementing our rules. ## The core never changes The draft response has a `core` object and its hash `coreSha256`. Changing any core field is refused, by the API and by the database itself. A different payment means a new draft with a new id. Core fields: `id`, `network`, `currency`, `paymentMethod`, `receiverAddress`, `tokenAddress`, `lightningAddress`, `bolt11` (pasted invoices only), `amountBaseUnits` (drafts priced in an exact crypto amount; null when priced in fiat), `fiatAmount`, `fiatCurrency`, `memo`, `shortfallAbsorbPercent`, `paymentRequestId`, `createdAt`, `expiresAt`, plus `schema` (`send21.draft.core.v1`). Everything else is state and may change: `status`, `paidTxId`, `requiredConfirmations`, confirmations, `amountMismatch` and its acceptance, `updatedAt`, and the current quote of a fiat-priced draft. Events are recorded next to the core, never in it: `confirmedAt` (when the payment was confirmed, set once) and, for a payment with a different amount, `amountMismatch.acceptedAt`, `acceptedBy` and `acceptReason` (who accepted it, when and why). The pay page shows the payer the same `coreSha256` as a short "payment fingerprint", with the full value one click away. A payer can keep it and quote it later; the receiver, or anyone the receiver shows the draft to, can recompute it from `core`. ## Quotes A fiat-priced draft converts its fiat price at a rate locked for 15 minutes. That lock is a quote: `quote` in the draft response, with `id`, `draftId`, `rate`, `rateSource`, `fiatAmount`, `fiatCurrency`, `cryptoAmountBaseUnits`, `platformFeeBaseUnits`, `network`, `currency`, `tokenAddress`, `bolt11` (Lightning-address drafts), `lockedAt`, `lockedUntil`, `schema` (`send21.draft.quote.v1`) and `sha256`. `source` and `expiresAt` are older names for `rateSource` and `lockedUntil`, kept for existing clients and hashed like every other member. A quote never changes. Re-quoting after the lock (`POST /drafts/{id}/requote`) records a new quote with a new id and makes it current; earlier quotes stay readable at `GET /drafts/{id}/quotes`. Payment webhooks carry `quoteId`: the quote the payment was matched against. Drafts priced in an exact crypto amount have no quote; their amount is in the core. ## How to hash - Take the `core` object (or a quote without its `sha256` member) exactly as the API returns it, every member included, nulls too. - Canonicalize it with RFC 8785 (JCS): members sorted by key, no whitespace, strings and numbers written the way JavaScript `JSON.stringify` writes them. - Hash the UTF-8 bytes with SHA-256 and compare the lowercase hex with `coreSha256` or `quote.sha256`. - Timestamps are strings in one fixed form everywhere (REST, MCP, webhooks): UTC, exactly three fraction digits, `Z`, like `2026-10-12T08:00:00.123Z`. - Hash base units (`amountBaseUnits`, `cryptoAmountBaseUnits`), never `amountFormatted` or `amountBtc`: those are display strings. ```js const jcs = (o) => JSON.stringify(Object.fromEntries(Object.keys(o).sort().map((k) => [k, o[k]]))); const sha256 = (s) => crypto.createHash('sha256').update(s, 'utf8').digest('hex'); const draft = await (await fetch('https://send21.io/api/v1/drafts/' + id, { headers })).json(); const coreOk = sha256(jcs(draft.core)) === draft.coreSha256; const { sha256: quoteHash, ...quote } = draft.quote ?? {}; const quoteOk = !draft.quote || sha256(jcs(quote)) === quoteHash; ``` ## Test vectors Core of a fiat-priced draft (25 EUR paid in USDC on Base): ```json // canonical form (JCS), one line: {"amountBaseUnits":null,"bolt11":null,"createdAt":"2026-10-12T08:00:00.123Z","currency":"Usdc","expiresAt":"2026-10-13T08:00:00.123Z","fiatAmount":25,"fiatCurrency":"EUR","id":"3f2a1c4e-0000-4000-8000-000000000001","lightningAddress":null,"memo":"Invoice 2026-001","network":"Base","paymentMethod":"MultiOutput","paymentRequestId":null,"receiverAddress":"0x52908400098527886E0F7030069857D2E4169EE7","schema":"send21.draft.core.v1","shortfallAbsorbPercent":null,"tokenAddress":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"} // SHA-256: 327bb193ff1cfdf2ecf25a89fb0f4a99b65aefa39524799ec43c6adab9c833d7 ``` ## Quote test vector The quote that belongs to it: ```json // canonical form (JCS), one line: {"bolt11":null,"cryptoAmountBaseUnits":27982986,"currency":"Usdc","draftId":"3f2a1c4e-0000-4000-8000-000000000001","expiresAt":"2026-10-12T08:15:00.123Z","fiatAmount":25,"fiatCurrency":"EUR","id":"3f2a1c4e-0000-4000-8000-000000000002","lockedAt":"2026-10-12T08:00:00.123Z","lockedUntil":"2026-10-12T08:15:00.123Z","network":"Base","platformFeeBaseUnits":0,"rate":0.8934,"rateSource":"coinbase","schema":"send21.draft.quote.v1","source":"coinbase","tokenAddress":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"} // SHA-256: 67de0e66b1a138b86e5b06e7b2fb63c4ad9a21d38f3ef6bb2eb47277dd1f3481 ``` ## Expiry, rate locks and different amounts - A draft's expiry is set once, when it is created (`expiryHours`, 1 to 720, default 24), and never moves. A re-quote only renews the rate lock within that life. - The rate lock (quote) lasts 15 minutes. Pay before `quote.lockedUntil`, or re-quote first. - A transfer within 10% of the billed amount (over or under) is never confirmed on its own. The draft keeps its status (`AwaitingPayment`); `amountMismatch.reviewState` (also on `GET /drafts/{id}/status`) says `pending`, and `draft.amount_mismatch` is sent once. - Decide with `POST /drafts/{id}/accept-received` (`acceptReason`; the draft continues as paid, `draft.mismatch_accepted`) or `POST /drafts/{id}/reject-received` (`rejectReason`, required; `draft.mismatch_rejected`). Both store who decided and why. - Still undecided 2 hours before the draft expires: one `draft.mismatch_reminder` (and an email). At expiry the draft becomes `Expired` with `reviewState: unresolved`; `draft.expired` carries the received amount and `draft.mismatch_unresolved` is sent. You can still accept it afterwards. - The money is always already in the receiving wallet. send21 never holds funds, so a declined or unresolved payment is refunded by the receiver, outside send21. - With `shortfallPolicy`, short payments within your percent are accepted automatically (`acceptReason: "auto: shortfallPolicy"`). Overpayments always wait for a person. - Transfers more than 10% off are not matched to the draft. --- Source: https://send21.io/docs/draft-integrity # Accept USDC and EURC payments Price your invoice in your own currency and let the client pay in USDC or EURC, straight to your wallet. send21 prepares the payment link and records the exact rate; it never holds the money. ## How it works - Create a pay link: set the amount in EUR, SEK, USD or any of 161 currencies. - Choose the stablecoins and networks you accept, each with your own receiving address: USDC on Solana, Ethereum, Base, Arbitrum or Polygon, EURC on Solana, Ethereum or Base. - Share the link or QR code. The client picks a currency, the rate locks for 15 minutes, and they pay from any wallet. - You get an email and a signed webhook when it confirms, with the amount, rate and source. ## Why freelancers and small companies use it - The money arrives in your wallet, not in a platform balance waiting for payout. - The rate and its source are recorded on each payment and the draft PDF, which helps with bookkeeping. - Short payments, common with exchange withdrawals, are flagged for you to accept or decline, with a reminder before the payment expires. Or accept small shortfalls automatically. - One fee per payment, from 0.49% on small amounts down to 0.01%, capped at $100. See [pricing](https://send21.io/pricing). ## USDC, EURC or USDT? USDC and EURC are issued by Circle and authorized as e-money tokens under MiCA in the EU. USDT remains available for payments between self-custody wallets, but EU exchanges delisted it, so EU clients usually prefer USDC or EURC. This is not legal or tax advice. ## Questions ### Do I need a send21 wallet? No. send21 has no wallets. You receive in any wallet you control, for example Phantom, MetaMask, Rabby or a hardware wallet. ### Can the client pay from an exchange? Yes, if the exchange can withdraw to the network you accept. Exchanges often deduct a withdrawal fee; send21 flags such short payments so you can accept them. --- Source: https://send21.io/accept-usdc-payments # Crypto payment link generator A send21 pay link asks for a fixed amount in your currency and lets the payer choose how to pay. The rate locks when they choose, so your price holds, and the payment goes straight to your wallet. ## How to create a crypto payment link - **Sign up free** with an email address. - **Open Get paid** and enter the amount in your currency, a message for the payer, and the coins you accept, each with your own receiving address. - **Share the link** or its QR code. When it is paid, you get an email and, if you want, a signed webhook. ## What the payer sees - Your amount in your currency, your message, and the currencies you accept. - After picking one: one QR code, the exact amount, and how long the rate is locked. - Payment from any wallet: BIP-21 for bitcoin, a Lightning invoice, Solana Pay, or EIP-681 for EVM chains. - A notice not to pay again if a payment with a different amount already arrived. ## What you get - Payment straight to your own addresses, one per network you accept. - An email and a signed webhook when the payment is seen and confirmed, with your order id. - A list of your requests with their status, and drafts with PDFs for your records. ## Make one In the app, open **Get paid**. From code, one call to `POST /api/v1/payment-requests` (see the [quickstart](https://send21.io/docs/quickstart)). AI agents can do the same through the [MCP server](https://send21.io/docs/mcp). --- Source: https://send21.io/crypto-payment-links # Lightning address payments that confirm themselves Put your Lightning address on a pay link next to on-chain options. send21 fetches an invoice for the exact amount from your own wallet provider, and confirms the payment when your provider supports LUD-21. ## Why it matters Lightning makes small bitcoin payments fast and cheap. With a Lightning address, the invoice comes from your own wallet, so the money goes straight to you. send21 only checks whether it was paid. ## Set it up - Find your Lightning address in your wallet app. Many wallets give one, in the form name@provider. - Create a pay link and tick **Also accept BTC over Lightning**, then enter the address. - send21 checks that the address answers before the link goes live. - When a payer picks Lightning, send21 fetches a fresh invoice for the locked amount. ## Good to know - Automatic confirmation needs LUD-21 support from your provider; the draft shows whether it is available. - Invoices expire, and the rate lock ends with the invoice. - Technical details: [Lightning docs](https://send21.io/docs/lightning). --- Source: https://send21.io/lightning-address-payments # Payments for AI agents, without giving them your keys Agents are good at preparing payments and bad places to keep money. With send21 an agent creates payment requests and drafts through a scoped API key, and the payment is signed in a wallet the agent does not control. ## Resources Public and read-only, no key needed. They are built from the same sources as this site and the REST API, so they never disagree with them. | URI | What it holds | | --- | --- | | `send21://docs/overview` | What send21 is and is not, flows, currencies, fees and links (the same text as llms.txt) | | `send21://docs/currencies` | Every currency and network a payment can use, with the exact API values, and the 161 fiat currencies | | `send21://fees/schedule` | The fee schedule as JSON, the same as `GET /api/v1/fees/schedule` | | `send21://docs/webhooks` | Events, delivery headers, retries and the `X-Send21-Signature-V2` check with code | | `send21://brand/guidelines` | Which logo for which background, colours, spacing, and the download URL of every logo file | | `send21://brand/logo-horizontal-on-dark.svg` | Main logo for dark backgrounds (also `.png`, 400 x 114) | | `send21://brand/logo-stacked-on-dark.svg` | Stacked logo for dark backgrounds and square spaces | | `send21://brand/icon-on-dark.svg` | The icon alone, for avatars and small spaces | | `send21://brand/wordmark-on-light.svg` | Wordmark for white or light backgrounds | | `send21://brand/wordmark-on-dark.svg` | Wordmark for dark backgrounds | ## Prompts Clients such as Claude offer these as ready-made commands. Each one steers the agent through the tools in an order that keeps the rules: your own addresses only, the payer signs in their own wallet, and a person decides about a payment with a different amount. | Prompt | Arguments | What it does | | --- | --- | --- | | `create_pay_link` | `amount`, `fiatCurrency`, `acceptedCurrencies`, optional `memo` and `orderId` | Builds the options from your currencies and addresses, calls `create_payment_request` and returns the link | | `check_payment` | `id` (pay link or draft) | Reads the pay link or draft and explains in plain words where it stands | | `handle_amount_mismatch` | `draftId` | Shows what was billed and what arrived, and how you accept or decline it; it never decides for you | ## Approved addresses: humans approve where the money lands New accounts only let API keys use addresses the owner approved (receiving-address policy `ApprovedOnly`; older accounts can turn it on in Settings). A key that names any other address gets 422 `address_not_approved` and nothing is created, so a prompt-injected agent or a leaked key cannot point a payment at an address of its choosing. The flow: the agent calls `propose_receiving_address`. The owner gets an email without any approve link, signs in to send21, compares the address character by character, and approves it with a passkey or an authenticator code. An emailed code is never enough, because an agent that reads the owner's inbox could use it. No API key and no scope can approve an address. `get_account_status` tells the agent what is still missing. Pay links need the owner's own approved receiving addresses; drafts may pay any approved address. A pasted Lightning invoice names no address to approve, so with `ApprovedOnly` a key uses a Lightning address instead. Payments the owner creates in the app are not limited. ## Agents sign up, owners take over An agent without a key can call `create_account` (or `POST /api/v1/accounts/agent-signup`) with the owner's email address, its own name and what it will use the account for. It gets a bootstrap key at once (read, drafts and address-book scopes, valid 90 days, shown once), and the owner gets an email with a link to take the account over. Until the owner opens the link (valid 72 hours) and sets up a passkey or a password, the key can read, propose addresses and call `get_account_status`, but creating anything returns 403 `owner_not_confirmed`. After that the approved-address rules apply: the agent creates pay links only to addresses the owner approved. An owner who did not ask for the account deletes it from the same page; an account nobody takes over is deleted after 7 days. At most 3 agent sign-ups per network per day; an email that already has an account gets 409 `account_exists`, and the agent asks the owner for a key instead. ## Agent proposes, human signs - The agent calls `create_payment_request` or `create_draft` over [MCP](https://send21.io/docs/mcp), or the same REST endpoints. - The payer, or the operator, reviews and signs in their own wallet. - The agent follows the result through `get_draft_status` or a [webhook](https://send21.io/docs/webhooks). - A leaked key can create instructions but cannot spend anything, because send21 holds nothing. ## Built for automation - Idempotency keys make retries safe. - Batch creation of up to 25 drafts per call, and recurring templates. - Machine-readable pay pages and responses, with your order id echoed in every webhook. - Discovery files for agents: [/llms.txt](https://send21.io/llms.txt), [/llms-full.txt](https://send21.io/llms-full.txt) and [/openapi.json](https://send21.io/swagger/v1/swagger.json). ## Selling to agents A webshop can let an AI agent complete checkout: the backend creates a payment request per order, the agent picks a currency and pays from its operator's wallet, and the shop marks the order paid on `draft.confirmed`. --- Source: https://send21.io/ai-agent-payments # Accept ETH on Ethereum, Base and Arbitrum Many payers hold ETH and nothing else. A send21 pay link can offer native ETH on Ethereum, Base and Arbitrum next to stablecoins, priced in your own currency. ## How it works - Add ETH as an option on a pay link, with your EVM address. - The payer picks ETH and a network. The rate locks and the wallet opens a standard EIP-681 link with the exact amount. - send21 detects the payment, also when it comes from a smart wallet, and confirms it to you by email and webhook. ## Good to know - ETH amounts are stored in gwei (9 decimals) and sent in wei. - On Base, keep one open ETH payment per address at a time for the most reliable matching. - ETH fee settlements are paid on Ethereum. - More detail: [currencies and networks](https://send21.io/docs/currencies). --- Source: https://send21.io/accept-eth-payments # send21 and BTCPay Server compared BTCPay Server and send21 share the most important property: neither holds your funds. They differ in who runs the infrastructure and which payments they focus on. ## At a glance | | BTCPay Server | send21 | | --- | --- | --- | | Custody | Non-custodial | Non-custodial | | Who runs it | You, on your own server (or a third-party host) | Hosted at send21.io | | Software fee | None; you pay for hosting | 0.49% down to 0.01% per payment, capped at $100 | | Focus | Bitcoin and Lightning; other coins through community plugins | BTC, Lightning, USDC, USDT, EURC, SOL and ETH on six networks | | Setup | Server, full Bitcoin node (hundreds of GB, or pruned), optional Lightning node | Sign up and paste your receiving addresses | | Code | Open source | Hosted service with a public API and MCP server | ## When BTCPay Server fits better - You want zero software fees and are happy to run and update a server. - You want to run your own Bitcoin and Lightning nodes. - You need the open-source code itself. ## When send21 fits better - You want to accept stablecoins, SOL or ETH next to bitcoin without running nodes. - You price in EUR, SEK or another currency and want a locked rate on every payment. - You build with AI agents and want scoped keys, MCP and signed webhooks out of the box. --- Source: https://send21.io/compare/btcpay-server # A non-custodial alternative to crypto payment gateways Hosted crypto gateways differ widely. Some receive the payment into their own wallets and pay you out later, some convert to fiat for you, and published fees typically range from about 0.5% to 1.5%. send21 does less on purpose: it never touches the money. ## What is different | | Typical hosted gateway | send21 | | --- | --- | --- | | Where the payment lands | Often the gateway's wallet first, then a payout | Always your own wallet, directly | | Conversion to fiat | Often available | Not offered; send21 never touches money | | Fee | Often around 0.5% to 1.5% | 0.49% down to 0.01%, capped at $100 | | Keys and funds | Often held by the provider until payout | Never held; no signing code | | Agents | Varies | Scoped keys that cannot spend, MCP server, signed webhooks | ## Open source and self-hosted gateways Self-hosted, open source gateways such as BTCPay Server are free and keep you in control, but you run and update the server yourself. send21 gives the same wallet-to-wallet payments without a server to run. See [send21 and BTCPay Server compared](https://send21.io/compare/btcpay-server). ## Choose a hosted gateway if - You need automatic conversion to fiat and bank payouts. - You want plugins for many shop platforms out of the box. ## Choose send21 if - You want the money in your own wallet from the first second. - You want a provider that cannot freeze, lose or move your funds, because it never has them. - You build on an API or with AI agents. --- Source: https://send21.io/compare/hosted-crypto-gateways # Crypto invoice generator A send21 invoice is a pay link: you set the amount in your own currency, your client picks how to pay, and the money goes straight to your wallet. It is free to create, and you see when it is paid. ## How to make a crypto invoice - **Sign up free** with an email address. No subscription. - **Open Get paid.** Enter the amount in your currency (EUR, USD, SEK or any of 161), a message such as "Invoice 2026-041, logo design", and an order id if you track invoice numbers. - **Choose what you accept**: BTC on-chain or over Lightning, USDC, USDT, EURC, SOL or ETH, each paid to your own address. - **Send the link** by email or chat, or show the QR code. Your client opens it, picks a currency, and pays from any wallet. - **Get told when it is paid**: by email, in the app and, if you want, by a signed webhook to your own system. ## Why a pay link beats a wallet address on a PDF - The exact amount in crypto is worked out when your client pays, at a locked rate, so a price in EUR stays a price in EUR. - Your client sees which network to use, so USDC does not end up on a chain you do not use. - send21 watches the chain and tells you when the payment is confirmed. No checking block explorers. - A payment that arrives a little short (exchanges often deduct a withdrawal fee) is flagged for you to accept or decline, not silently lost. - The address is shown with its start and end highlighted, so clipboard malware that swaps addresses is easier to spot. ## What it costs Creating invoices is free. When one is paid, send21 bills a small fee to your account: 0.49% on the smallest payments, down to 0.01% above $100,000, and never more than $100. The fee is never taken from the payment, so you receive the full amount. See [pricing](https://send21.io/pricing). ## For your records Each paid invoice keeps the amount, the rate used with its source and time, the transaction and your order id, and you can download a PDF of the payment. send21 never holds or converts money, so taxes and bookkeeping in your country are up to you. ## Questions ### Is the crypto invoice generator free? Creating and sending invoices is free, with no subscription. A small fee is billed to you only when an invoice is paid, from 0.49% down to 0.01%, capped at $100. ### Can I invoice in euros or kronor and get paid in crypto? Yes. Price the invoice in any of 161 currencies. The crypto amount is calculated at a locked rate when your client picks a currency. ### Does send21 hold the money? No. Your client pays your own wallet directly. send21 never holds keys or funds, so it cannot freeze or lose your payment. ### Do I need to verify my identity? No KYC: send21 never holds your money, so there is nothing to verify. You sign up with an email address. The rules that apply to your own business still apply to you. ### Can my client pay from an exchange? Yes, from any wallet or exchange that can send to an address. Exchanges sometimes deduct their fee from the amount; send21 flags a payment that arrives short so you can accept it or ask for the rest. --- Source: https://send21.io/crypto-invoice-generator # How to accept crypto payments on your website You do not need a payment provider that holds your money. With send21, every order gets its own pay link, the customer pays from their own wallet straight to yours, and your site hears back when the payment is confirmed. ## 1. No code: send a pay link per order For a few orders a week, invoices or custom work: create a [pay link](https://send21.io/crypto-payment-links) in the app for each order and send it to the customer. Each link is for one payment, priced in your currency, and you get an email when it is paid. ## 2. Shopify: connect your store There is no send21 app in the Shopify App Store. You connect your store with your own custom Shopify app, using open reference code: the buyer picks "Crypto (send21)" at checkout, gets the pay link in the order email, and the order is marked paid when the payment confirms. It needs someone who can host a small web service. See [send21 for business](https://send21.io/business#shopify). ## 3. Any website: one API call per order - At checkout, your server calls `POST /api/v1/payment-requests` with the order total, your currency, the coins you accept and the order id (see the [quickstart](https://send21.io/docs/quickstart)). - Send the customer to the pay link, or embed it with the open-source [checkout component](https://github.com/send21io/send21-examples/tree/main/examples/checkout-component), a drop-in `` web element. - Register a [webhook](https://send21.io/docs/webhooks). When `draft.confirmed` arrives with your order id, verify the signature and mark the order paid. - Use `reuseOpenForOrder: true`, so a customer who reloads checkout gets the same link instead of a second one. ## Do it safely - Never mark an order paid from the browser. Wait for the signed webhook and check the amount, the currency and the order id on your server. - Use your own receiving addresses. New accounts only let API keys use addresses you approved in the app, so a leaked key cannot redirect payments. - Payments cannot be reversed. A refund is a new payment from your wallet. ## Questions ### Is there a WooCommerce plugin? Not yet. On WooCommerce, or any other platform, create pay links from your server with the API, or send pay links by hand. ### Do I need KYC to accept crypto on my website? Not with send21: it never holds your money, so there is nothing to verify. You sign up with an email address. The rules that apply to your own business still apply to you. ### Which coins can customers pay with? BTC on-chain or over Lightning, USDC, USDT, EURC, SOL and ETH, across Bitcoin, Solana, Ethereum, Base, Arbitrum and Polygon. You choose which ones you offer. ### What does it cost? No subscription or setup fee. One fee per paid order, from 0.49% down to 0.01%, capped at $100 and never deducted from the payment. See [pricing](https://send21.io/pricing). --- Source: https://send21.io/accept-crypto-payments-on-your-website # x402, AP2 and send21: AI agent payments explained Three different answers to "how does an AI agent pay?". x402 lets the agent pay for a request itself. AP2 lets an agent buy on your behalf with a signed mandate. send21 lets the agent prepare the payment, and a person or the operator's own wallet signs it. ## x402: the agent pays per request x402 is an open standard built on the HTTP status code 402 Payment Required. A server that wants payment answers a request with 402; the client, for example an AI agent, pays and retries. Payments are typically in stablecoins, on EVM chains, Solana and more. It was introduced by Coinbase, and an x402 Foundation at the Linux Foundation now stewards it. Details: [x402.org](https://www.x402.org/). It fits machine-to-machine payments: an agent paying for an API call, a dataset or a page. The agent needs a wallet with funds it can spend. ## AP2: the agent buys with your mandate AP2, the Agent Payments Protocol, is an open protocol published by Google under the Apache 2.0 license, with standardization continuing in FIDO Alliance working groups. It uses verifiable digital credentials: a Checkout Mandate shared with the merchant and a Payment Mandate shared with the payment side, so everyone can check what the person authorized. The first version covers card payments; e-wallets, bank transfers and digital currencies are on its roadmap. Details: [ap2-protocol.org](https://ap2-protocol.org/). It fits agents shopping at merchants with cards, inside the existing card networks. ## send21: the agent prepares, a person signs With send21 the agent never holds money. It creates a crypto pay link or payment draft over the [MCP server](https://send21.io/docs/mcp) or the API, and the payment is signed in a wallet the agent does not control. The agent can then track it and react to a signed webhook. Pay links only go to receiving addresses the owner approved. It fits agents that bill people (invoices, checkouts, pay links), agents that hit their budget and hand a payment to a human, and teams that do not want an agent holding a funded wallet. send21 does not implement x402 or AP2 today. ## Side by side | | x402 | AP2 | send21 | | --- | --- | --- | --- | | Who pays | The agent, from its own wallet | The person, through their payment credentials and mandate | A person or the operator's wallet signs | | What the agent holds | A funded wallet | Mandates, not the money | A scoped API key that cannot move funds | | Typical use | Pay per API call or resource | Agent shopping at merchants | Billing people, pay links, budget hand-offs | | Money | Stablecoins on several chains | Cards first | BTC, Lightning, USDC, USDT, EURC, SOL, ETH | | Human approval | Optional, set by the agent's owner | Through the signed mandate | Always: a person signs each payment | ## Questions ### Can an AI agent pay with crypto? Yes, in two ways: with its own funded wallet (as with x402), or by preparing a payment that a person signs (as with send21). The second keeps spending under human control. ### Does send21 support x402? Not today. send21 is for agents that prepare payments for a person to sign, and for getting paid into your own wallet. ### Is x402 or AP2 better? They solve different problems: x402 is pay-per-request between machines, AP2 is agent shopping with card payment credentials. Many agents will use more than one. --- Source: https://send21.io/x402-ap2-agent-payments # send21 as a Coinbase Commerce alternative Coinbase's merchant payments now run through a Coinbase Business account: according to Coinbase's developer documentation, checkouts and payment links credit the funds to that account. send21 takes a different route: every payment goes straight to a wallet you control. ## What is different | | Coinbase (Business checkouts and payment links) | send21 | | --- | --- | --- | | Where the payment lands | Credited to your Coinbase Business account | Your own wallet, directly | | Account | A Coinbase Business account | An email address; no exchange account | | Conversion to fiat | Available in your Coinbase account | Not offered; send21 never touches money | | What payers can use | See Coinbase for current assets and networks | BTC on-chain and Lightning, USDC, USDT, EURC, SOL, ETH on six networks | | Fee | Coinbase shows your rate when you create a payment link | 0.49% down to 0.01%, capped at $100 | ## Choose Coinbase if - You already run your business on Coinbase and want payments and conversion in that account. - You want refunds handled from the provider account. ## Choose send21 if - You want the money in your own wallet from the first second, not in a provider account. - You want Lightning and EURC next to USDC, or prices in any of 161 currencies. - You build with AI agents: an [MCP server](https://send21.io/docs/mcp), scoped keys that cannot spend, and addresses only you approve. ## Checked Compared on 22 October 2026 against Coinbase's developer documentation for Coinbase Business checkouts. Check coinbase.com for current terms; tell us at info@send21.io if something here is out of date. --- Source: https://send21.io/compare/coinbase-commerce # send21 as a NOWPayments alternative NOWPayments is a hosted crypto gateway with a very long coin list, plugins and conversion. send21 does less on purpose: a short list of major coins, payments straight to your wallet, and tools for developers and AI agents. ## What is different | | NOWPayments | send21 | | --- | --- | --- | | Coins | 350+ currencies, according to its pricing page | BTC (on-chain and Lightning), USDC, USDT, EURC, SOL, ETH | | Fee | A 1% service fee on its pricing page; network fees extra | 0.49% down to 0.01%, capped at $100, never deducted from the payment | | Where the payment lands | Depends on the mode you choose with NOWPayments | Always your own wallet, directly | | Conversion | Coin swaps available | Not offered; send21 never touches money | | AI agents | See NOWPayments | MCP server, scoped keys that cannot spend, approved addresses only | ## Choose NOWPayments if - You need many coins beyond the major ones. - You want automatic conversion between coins, or ready-made plugins for many shop platforms. ## Choose send21 if - You want payments to reach your own wallet with no provider address in between. - You want a lower fee on most payment sizes, capped at $100. - You build on an API or with AI agents. ## Checked Compared on 22 October 2026 against the NOWPayments pricing page. Check nowpayments.io for current terms; tell us at info@send21.io if something here is out of date. --- Source: https://send21.io/compare/nowpayments # send21 as a BitPay alternative BitPay receives crypto payments and settles them to you, in your local currency to a bank account or in crypto. send21 never receives the payment: it goes from the payer's wallet straight to yours. ## What is different | | BitPay | send21 | | --- | --- | --- | | Fee | 2% + 25 cents under $500,000 a month, 1.5% + 25 cents up to $1M, 1% + 25 cents above (higher for high-risk industries) | 0.49% down to 0.01%, capped at $100 | | Settlement | Local currency to your bank (AUD, CAD, EUR, GBP, MXN, NZD, USD) or crypto | No settlement step: the payment is already in your wallet | | Where the payment lands | BitPay first, then settled to you | Your own wallet, directly | | Lightning | See BitPay | Yes, with automatic confirmation where the wallet provider supports it | | AI agents | See BitPay | MCP server, scoped keys that cannot spend, approved addresses only | ## Choose BitPay if - You need crypto payments converted and paid out to a bank account. - You want an established processor with retail and point-of-sale tools. ## Choose send21 if - You want to keep the crypto, in your own wallet, from the first second. - You want a much lower fee: 0.49% at most, and never more than $100 per payment. - You build on an API or with AI agents. ## Checked Compared on 22 October 2026 against the BitPay pricing page. Check bitpay.com for current terms; tell us at info@send21.io if something here is out of date. --- Source: https://send21.io/compare/bitpay # Crypto pay links and checkout for your shop. Paid straight to your wallet. Send a pay link, or create one at checkout through the API. Set your price in your own currency, any of **161**. Your customer picks BTC (on-chain or Lightning), USDC, USDT, EURC, SOL or ETH, scans one QR code and pays you directly. send21 never holds your money. One API covers your **webshop**, your **counter** and customers who shop through an **AI agent**. [Create a free account](https://send21.io/login?mode=register) [Read the API quickstart](https://send21.io/docs/quickstart) ## One API, three ways to get paid ### In your webshop One API call at checkout returns a hosted pay page and QR code. The customer pays your price at a locked rate, straight to your address. A signed webhook with your order id, the amount and the rate tells your shop the order is paid. ### At the counter Any tablet, terminal or kiosk can show the QR code for the basket total. The customer pays from their own wallet and the confirmation webhook closes the sale. No card fees, and the money lands in your wallet. ### For customers who send an AI agent Every send21 checkout is machine-readable: structured JSON, standard payment links, [/llms.txt](https://send21.io/llms.txt) , OpenAPI and an **MCP server** at `send21.io/mcp`. An agent can read your checkout, and the payment is signed in its operator's own wallet. No stored cards, no chargebacks. [How it works](#agentic-commerce) . ## How a checkout works #### Create a payment request With one API call, or a click in the dashboard. Set the price in any of 161 currencies and list the crypto you accept, each with your own receiving address. You get a hosted pay link and QR code back. ``` curl -X POST https://send21.io/api/v1/payment-requests \ -H "Authorization: Bearer s21_yourkey" \ -H "Content-Type: application/json" \ -d '{ "fiatCurrency": "EUR", "fiatAmount": 49.90, "orderId": "shop-order-1042", "memo": "Order #1042 Blue hoodie", "options": [ { "currency": "Btc", "network": "Mainnet", "address": "bc1q..." }, { "currency": "Usdc", "network": "Solana", "address": "5Gv7..." }, { "currency": "Usdt", "network": "Ethereum", "address": "0xAb..." } ] }' ``` #### Show the pay page or QR code Redirect to the hosted page, put the link in an invoice, or show the QR at the counter. The customer picks **BTC (on-chain or Lightning), USDC, USDT, EURC, SOL or ETH**. The rate locks for 15 minutes the moment they choose, so you get the price you asked for. #### The customer pays from their own wallet One standard QR code (BIP-21, Solana Pay or EIP-681) that ordinary wallets understand. The money goes straight from the customer's wallet to **your** address. #### Get a webhook with everything your books need When the payment confirms, the signed webhook tells you what was paid, what it was worth in your currency, the exact rate and your own order id. ``` { "event": "draft.confirmed", "data": { "draftId": "7d21...", "status": "Confirmed", "txId": "3QzV...", "confirmations": 1, "sentCurrency": "USDC", "network": "Solana", "sentAmount": "53.870000", "fiatCurrency": "EUR", "fiatAmount": 49.90, "conversionRate": 0.9263, "rateSource": "coinbase", "orderId": "shop-order-1042" } } ``` ## Using Shopify? Connect your store with a custom app There is **no send21 app in the Shopify App Store**. You connect your store by creating your own custom Shopify app. We provide the [reference code on GitHub](https://github.com/send21io/send21-examples/tree/main/examples/shopify-app) and help you set it up. You need someone who can host a small web service. Once connected, the customer picks "Crypto (send21)" at checkout, gets the pay link in the order email and pays from their own wallet. The order is marked paid when the payment confirms. Your theme's checkout code is not touched. #### Create a send21 API key and webhook Create an API key with `drafts:read` and `drafts:write`. Save your receiving addresses in the address book as "My own, I receive here". Add a webhook for `draft.confirmed` that points at your app. #### Create and host your custom app Create a custom app for your store in the Shopify Partner Dashboard and run the connection code on a public HTTPS address you control. Install it on your store and approve the order permissions (`read_orders`, `write_orders`). It then picks up new orders on its own. #### Add the manual payment method In Shopify admin, open Settings, then Payments, then Manual payment methods. Create "Crypto (send21)" and add the pay link snippet to your order confirmation email. Each order is then marked paid as soon as its payment confirms. For the reference code, setup help and the email snippet, write to [integration@send21.io](mailto:integration@send21.io) . Crypto payments cannot be pulled back by the shop: to refund, send the money from your own wallet, then refund the order in Shopify admin. There is no ready-made WooCommerce plugin; other carts can use the same [payment-request API](https://send21.io/docs/quickstart) . ## Why shops choose send21 ### No custody Customers pay your addresses directly. send21 never holds your money, so it can never freeze or lose it. ### Price in your currency You ask for €49.90 and the customer pays exactly that value, at a locked rate recorded on the payment. ### One-scan checkout One QR code that ordinary wallets understand. No crypto know-how needed. ### Ready for your books Each signed webhook carries the currency and amount paid, its value in your currency, the rate and your order id. ### Low fees, never taken from the sale From 0.49% on small payments down to 0.01%, capped at $100. The fee is billed to your account, and you settle it in one payment in BTC, USDC, USDT, EURC, SOL or ETH. [Pricing](https://send21.io/pricing) . ### AI agents can buy from you The whole checkout is machine-readable, so an AI agent shopping for its owner can use it. [How it works](#agentic-commerce) . ## Ready for customers who shop with an AI agent Card checkouts break for agents: handing an agent a card number is risky and filling in forms is fragile. A send21 checkout is a machine-readable payment instruction. The agent reads it, checks it and has it paid from its operator's own wallet. Nobody shares a card number or a private key. ### Machine-readable checkout Every payment request returns structured JSON and standard payment links (BIP-21, Solana Pay, EIP-681). It is the same data that powers the pay page people see. ### Easy for agents to find [/llms.txt](https://send21.io/llms.txt) and an OpenAPI spec describe the whole flow in the format AI agents look for. ### Safe for everyone The agent's operator controls the paying wallet, and you receive at your own address. No stored cards, no credentials to leak, no chargebacks. ### Reconciliation built in Your `orderId` comes back in the signed confirmation webhook with the exact amount and rate, so agent orders book like any other order. #### The agent places an order Your backend creates a payment request for it. #### The agent reads the payment options It picks a currency, and the payment is signed in its operator's wallet. #### A signed webhook confirms the payment It carries your order id, so you can ship. Nothing extra to build. The payment request that shows a QR code to a person is the same one an agent reads. ## Person-to-person requests too The same flow works between people. Create a request for what a friend owes you, send the link, and they pay in any currency you offer, from their own wallet. ## Questions ### How do I accept crypto payments on my website? Send a pay link per order, connect Shopify with a custom app, or create a pay link per order from your server with the API. See [how to accept crypto payments on your website](https://send21.io/accept-crypto-payments-on-your-website) . ### Do I need KYC? No. send21 never holds your money, so there is nothing to verify: you sign up with an email address. The rules that apply to your own business still apply to you. ### Is there a WooCommerce plugin? Not yet. Use pay links, or create them from your server with the API. ### Can I get paid out in euros or dollars? No. send21 never touches money, so it does not convert or pay out. You receive crypto in your own wallet and convert it wherever you choose. ### Can I send invoices? Yes: a pay link is an invoice your client can pay in crypto. See the [crypto invoice generator](https://send21.io/crypto-invoice-generator) . ## Start accepting crypto today Free account, no subscription. Questions about your shop or agent? Write to [integration@send21.io](mailto:integration@send21.io) . [Create a free account](https://send21.io/login?mode=register) [Try the demo first](https://send21.io/demo) --- Source: https://send21.io/business # Pricing: one small fee per payment No subscription, no setup fee, no monthly minimum. You pay only when a payment is made: 0.49% on the smallest payments, down to 0.01% above $100,000, and never more than $100. The fee is never taken from the payment, so the receiver always gets the full amount. It is priced in USD when the payment is created and also shown in your own currency. ## Fee schedule | Payment amount (USD) | send21 fee | | --- | --- | | $0 to $10 | 0.49% | | $10 to $50 | 0.39% | | $50 to $100 | 0.29% | | $100 to $500 | 0.19% | | $500 to $2,000 | 0.14% | | $2,000 to $10,000 | 0.09% | | $10,000 to $50,000 | 0.04% | | $50,000 to $100,000 | 0.02% | | $100,000+ | 0.01% | Minimum fee $0.01, maximum $100. The network fee is separate and set by the payer's own wallet. For developers: the live schedule is at [/api/v1/fees/schedule](https://send21.io/api/v1/fees/schedule) . ## How the fee is collected - **Pay links, payment requests and single payments** (on-chain or Lightning): the payer sends one normal payment for the exact amount. The fee is added to your send21 account when the payment confirms. You settle the balance in one payment, in BTC, USDC, USDT, EURC, SOL or ETH. Once the balance reaches $10 or the oldest fee is 30 days old, you settle it before you create new pay links or drafts. - **Drafts for PSBT and batching wallets:** the fee is a separate output next to the payment, in the same transaction (on Ethereum and other EVM chains, a separate transfer that a Safe can batch). The sender sees it before signing, and nothing is billed later. - **Very small fees on Bitcoin PSBT drafts:** a fee below the 546-sat dust limit is too small to send on-chain, so it is waived, up to 5 times a day. After that it is added to your account. send21 never adds a spread to exchange rates. Payments priced in fiat use a locked market rate, and the rate, its source and the time are recorded on the payment. ## Included for free - Hosted pay pages with standard QR codes, in any supported currency - Prices in any of 161 currencies with locked exchange rates - REST API with scoped keys, safe retries and batches of 25 drafts per call - MCP server for AI agents at `https://send21.io/mcp` - Signed webhooks and email notifications - Recurring payments (daily, weekly or monthly) - Shopify connection through your own custom app, with reference code and setup help ## Questions ### Is there a monthly fee? No. No subscription, no setup fee and no minimum. You pay only when a payment is made. ### Who pays the network fee? The payer, from their own wallet, as with any crypto transfer. send21 does not add to it. ### Does send21 require KYC? No. send21 never holds your money, so there is nothing to verify: you sign up with an email address. The rules that apply to your own business still apply to you. ### How does that compare with other crypto payment providers? See [BitPay](https://send21.io/compare/bitpay) , [NOWPayments](https://send21.io/compare/nowpayments) , [Coinbase](https://send21.io/compare/coinbase-commerce) and [BTCPay Server](https://send21.io/compare/btcpay-server) compared. [Create a free account](https://send21.io/login?mode=register) [Try the demo first](https://send21.io/demo) Questions about volume or integrations? [integration@send21.io](mailto:integration@send21.io) | [For business](https://send21.io/business) | [Terms of service](https://send21.io/terms) | [Home](https://send21.io/) --- Source: https://send21.io/pricing # About send21 send21 makes crypto pay links and a payment API for people and AI agents. It is non-custodial payment software: it prepares pay links, payment requests and invoices for BTC (on-chain and Lightning), USDC, USDT, EURC, SOL and ETH, then watches the chain until the payment confirms. The money always goes straight from the payer's wallet to the receiver. ## What send21 does - **Creates pay links and drafts** for a fixed crypto amount, or priced in any of 161 currencies with a locked, recorded exchange rate. - **Watches the chain** and tells you by email and signed webhook when a payment arrives and confirms. - **Works for people and AI agents alike.** Everything in the app is also available over the REST API and the MCP server, with scoped keys that can never move funds. ## What send21 is not send21 is not a custodian, exchange, broker, money transmitter or payment service provider. It never holds, moves or converts funds and never has access to private keys. It has no signing code and never broadcasts transactions: that always happens in the sender's own wallet. Even a full server break-in could not move a single satoshi. The details are in our [terms of service](https://send21.io/terms) . ## How it makes money One fee per payment, tiered by size: from 0.49% on the smallest payments down to 0.01% above $100,000, capped at $100. No subscription and no spread on exchange rates. See the [pricing page](https://send21.io/pricing) . ## Privacy by default No KYC, no tracking, no analytics, no ad pixels. send21 stores your email address (encrypted) and little else. The [privacy policy](https://send21.io/privacy) lists exactly what is kept and for how long. ## Contact - General: [info@send21.io](mailto:info@send21.io) - Account or payment questions: [support@send21.io](mailto:support@send21.io) - API and integrations: [integration@send21.io](mailto:integration@send21.io) - Privacy and GDPR requests: [privacy@send21.io](mailto:privacy@send21.io) [Create a free account](https://send21.io/login?mode=register) [Try the demo first](https://send21.io/demo) [Home](https://send21.io/) | [For business](https://send21.io/business) | [Pricing](https://send21.io/pricing) | [Developer docs](https://send21.io/docs) | [llms.txt](https://send21.io/llms.txt) --- Source: https://send21.io/about - **Testnet demo.** You sign with your own wallet, on test networks only. The coins are free test coins from public faucets and have no value. # Try send21 with a real test payment See the whole flow in a few minutes, with no account and no email. send21 creates a payment draft, you pay it from your own wallet, and the page shows the confirmation from a public test network. ## How it works - send21 **creates a payment draft**, with the same draft-only access an AI agent gets. Nothing here can spend. - You **check and sign in your own wallet**. send21 never holds keys, never signs and never broadcasts. - send21 **watches the chain** until the payment confirms. In a real integration your backend gets a signed draft.confirmed webhook at that moment. Need test coins? Faucets ## For AI agents: the same flow over API or MCP An agent gets a scoped API key that can **create and track drafts but never spend**. A person always signs in their own wallet. Test networks on send21.io are for this demo only, and account drafts use the live networks. That is still safe while you integrate: a draft moves no money until someone signs it, so create small drafts to your own address and cancel them. ``` # an AI agent (or your backend) creates the draft with a scoped key. # draft-only scopes: the key can create and track drafts but can never spend # a draft moves no money until a human signs it, so a small live draft is a safe test curl -X POST https://send21.io/api/v1/drafts \ -H "Authorization: Bearer s21_YOUR_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: agent-demo-001" \ -d '{ "receiverAddress": "0x...your-own-address", "network": "Base", "currency": "Usdc", "paymentMethod": "MultiOutput", "singleOutput": true, "amountSats": 1000000, "memo": "agent integration test, 1 USDC" }' ``` ``` // MCP (Streamable HTTP), same key, same draft-only scopes { "mcpServers": { "send21": { "url": "https://send21.io/mcp", "headers": { "Authorization": "Bearer s21_YOUR_KEY" } } } } // then call the create_draft tool with { "network": "Base", "currency": "Usdc", ... } ``` Full API: [/swagger](https://send21.io/swagger/index.html) | agent overview: [/llms.txt](https://send21.io/llms.txt) | status via GET /drafts/{id}/status or signed webhooks (draft.confirmed). ## Ready for real payments? Create a free account and send your first pay link. No subscription, only a small fee per payment. [Create a free account](https://send21.io/login?mode=register) [See pricing](https://send21.io/pricing) --- Source: https://send21.io/demo # Lightning invoice decoder Paste a Lightning invoice (BOLT11, starting with `lnbc`) to see what it asks for: the amount, the description, when it expires and its payment hash. It runs in your browser; the invoice is not sent anywhere. Lightning invoice ## What a Lightning invoice contains - **Amount**: in the prefix, for example `lnbc2500u` is 2,500 micro-bitcoin, which is 250,000 sats. An invoice without an amount lets the payer choose. - **Description**: what the payment is for, written by whoever made the invoice. - **Expiry**: an invoice is valid for a limited time, one hour unless it says otherwise. Never pay an expired invoice; ask for a new one. - **Payment hash**: identifies the payment. After paying, your wallet shows the matching preimage, the proof that you paid. - **Network**: `lnbc` is Bitcoin mainnet, `lntb` testnet, `lntbs` signet. ## Lightning invoice, Lightning address or bitcoin address? - A **Lightning invoice** is single-use and for one amount, and it expires. - A **Lightning address** looks like an email address (name@wallet.com) and never changes: a wallet asks it for a fresh invoice each time. - A **bitcoin address** receives on-chain payments, which take longer to confirm and cost more for small amounts. ## Get paid over Lightning without holding anyone's money A send21 pay link can offer Lightning next to BTC on-chain, USDC, EURC and more. The payer pays your own Lightning address, and send21 confirms the payment automatically when your wallet provider supports it. Read [Lightning address payments](https://send21.io/lightning-address-payments) or the [Lightning docs](https://send21.io/docs/lightning) , or [create a crypto payment link](https://send21.io/crypto-payment-links) . --- Source: https://send21.io/tools/lightning-invoice-decoder