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"].
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. |