apihub_topup
Purchase APIHub credits via x402 (USDC on Base). Returns payment instructions including a web URL for browser-based payment, a CLI command, and raw x402 requirements for agents with wallet support. Credits are added to your account instantly once payment confirms on-chain.
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": {
"amount_dollars": "<amount_dollars>"
},
"name": "apihub_topup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount_dollars | Yes | Amount to top up in USD. Minimum $5.00, maximum $10,000 per call. Example: 10 for $10. |