Create a top-up or subscription invoice
create_topup_invoiceCreates a Solana payment invoice for your API key: kind "topup" adds call credit ($5-$500, usd_amount, default $5); kind "subscription" buys 30 days. Returns payment_id, the exact pay_amount and wallet_address. Send exactly pay_amount, then call check_payment. Max 3 pending invoices per key.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_topup_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | topup (default) or subscription | |
| api_key | No | Optional. Your RiskDataApi key, for MCP hosts that cannot send an Authorization header. If both are present, the Authorization header wins. | |
| currency | No | Payment currency (default USDC) | |
| usd_amount | No | Top-up amount in USD, 5-500 (default 5); ignored for subscription |