Crypto payment request + QR code
create_crypto_payment_requestCreate a wallet-scannable crypto payment request: EIP-681 URI (USDC or ETH on Base/Polygon/Arbitrum/Optimism/Ethereum), BIP21 (Bitcoin) or Solana Pay link plus a QR code SVG, after validating the recipient. For invoices and checkouts. $0.01 USDC on Base via x402. Price: $0.01. First call returns the x402 PaymentRequired (no charge); retry with payment in _meta["x402/payment"].
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"to": "<to>",
"amount": "<amount>"
},
"name": "create_crypto_payment_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| chain | No | ||
| label | No | ||
| token | No | ||
| amount | Yes | ||
| message | No | ||
| x402_payment | No | Optional. Base64 x402 v2 PaymentPayload, for clients that cannot set params._meta["x402/payment"]. Omit on the first call to get the exact price. |