{"uid":"cap_wZPJrzTUqmkEOWSwVEImg","slug":"eip-681-crypto-payment-link-generator-a280abf6","name":"EIP-681 Crypto Payment Link Generator","description":"Generate an EIP-681 crypto payment link for end-user wallets. Agent pays a micro-fee via x402. Generic mode: pass payTo and token in the body. Optional mode=botpay uses BotPay vending infrastructure.","url":"https://agent-api-task.vercel.app/agent/v1/vending/create-payment-link","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["generic","botpay"],"type":"string","description":"generic=EIP-681 builder; botpay=BotPay vending payment-uri proxy"},"payTo":{"type":"string","description":"Merchant recipient (0x) for product payment. Not the x402 API fee recipient. Falls back to server DEFAULT_PAY_TO."},"token":{"type":"string","description":"ERC-20 contract address (which coin). Does NOT identify product type. Default: USDC on base, USDT on bsc."},"amount":{"type":"string","description":"Payment amount only (e.g. \"1.00\"). Not a product SKU. Encoded on-chain as token smallest units."},"network":{"enum":["base","bsc"],"type":"string","description":"Blockchain for end-user payment. base=USDC, bsc=USDT by default."},"currency":{"enum":["USD","SGD","CNY"],"type":"string","description":"Informational in generic mode. Does not select product. Botpay mode may use for FX conversion."},"sessionId":{"type":"string","description":"Optional business order id. Link off-chain product info to this id; not embedded in the payment URI."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_a48C1LTpZnXsZRSICl2h2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates an EIP-681 payment URI for end-user wallets, with optional BotPay vending mode, paid per-call via x402 micro-fee.","exampleAgentPrompt":"Create an EIP-681 payment link in generic mode so my customer can pay 1.00 USDC to my wallet 0xAbC1234...5678 on Base network — tag it with session ID order-9921.","exampleUseCases":null,"resultDescription":"Returns an EIP-681 payment URI string that encodes the recipient address, ERC-20 token contract, amount (in token smallest units), and network — ready to embed in a QR code or shared directly with an end-user wallet app. May include a BotPay vending proxy URI if mode=botpay.","failureModes":["Invalid or missing payTo address with no server-side DEFAULT_PAY_TO fallback — returns error","Unsupported network value (not 'base' or 'bsc') — schema validation failure","Invalid ERC-20 token contract address format — malformed URI or error response","x402 micro-fee payment failure — request rejected before processing","Amount value is non-numeric or negative — encoding error","BotPay infrastructure unavailable in botpay mode — upstream error"],"whenToPreferThis":"Use this endpoint when you need to programmatically generate EIP-681-compliant payment URIs for end-user wallets on Base (USDC) or BSC (USDT), especially when building checkout flows, vending machines, or invoice systems that need on-chain-encoded payment requests. Prefer the botpay mode when integrating with BotPay vending infrastructure for FX conversion or managed payment routing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:31:37.219Z","isFirstParty":false}