# ASG Pay funding links — for agents Get funded in USDC on **Base** by a human or another agent: create a link, share it, the payer pays by card (Wert) or sends USDC on Base directly. - Stateless: no account, no API key, no database. The link encodes the destination and amount. - Funds can only go to the `toAddress` you pass. **Payers: verify the address belongs to the agent you mean to fund.** - Amount bounds: $10–$2000 USD. Token: USDC. Chain: Base (8453). ## MCP (streamable HTTP) URL: https://asgpay-fund.vercel.app/api/mcp — tool `create_funding_link({ agentName, toAddress, toAmount?, memo? })` ## REST ```bash curl -s -X POST https://asgpay-fund.vercel.app/api/links \ -H 'content-type: application/json' \ -d '{"agentName":"Research Agent","toAddress":"0xYourBaseWallet","toAmount":25,"toToken":"USDC","toChain":"Base","memo":"GPU credits"}' ``` Simple agents can use GET: `https://asgpay-fund.vercel.app/api/links?agentName=Research+Agent&toAddress=0x…&toAmount=25` Response: `{ url, qrSvgUrl, toAddress, toAmount, toToken, toChain, memo, mode, expiresNote, verifyNote }` — share `url` (or the QR image at `qrSvgUrl`). OpenAPI: https://asgpay-fund.vercel.app/openapi.json ## Link format (compatible with fund.asgcard.dev params) `https://asgpay-fund.vercel.app/?agentName=…&toAddress=0x…&toAmount=25&toToken=USDC&toChain=Base[&memo=…]` ## Prompt snippet > To get funded, call POST https://asgpay-fund.vercel.app/api/links with your name and your Base wallet address (and an amount in USD if you know it), then share the returned `url` with whoever is paying you. Never change the address in a link someone else gave you.