Get top-up payment instructions
top_upRetrieve x402 payment requirements to add USDC to an AmpleRun balance by specifying amount_micro. Returns network, contract, treasury, amount, and EIP-712 domain for signing.
Instructions
Get what it takes to top up the AmpleRun USDC balance by amount_micro with x402: the payment requirements (network, USDC contract, treasury payTo, amount, EIP-712 domain). A wallet signs them as an EIP-3009 transferWithAuthorization and repeats POST /api/v1/billing/x402/top-up with the PAYMENT-SIGNATURE header (@amplerun/sdk does this with its x402 option). This server holds no wallet, so it pays nothing; an operator who configures AMPLERUN_MCP_WALLET_KEY_FILE and allows spending lets it pay.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount_micro | Yes | Top-up amount in micro-USDC, e.g. "5000000" for 5 USDC. |