create_topup
Generates a Lightning invoice to buy a 30-day prepaid spend token (10–100,000 sats) for Claude/GPT access; pay it, then call get_token with the returned charge_id.
Instructions
Create a Lightning invoice to buy a LightningProx spend token (10 to 100,000 sats). After paying it, call get_token with the returned charge_id. Tokens last 30 days.
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_sats": "<amount_sats>"
},
"name": "create_topup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount_sats | Yes | Amount in sats, 10 to 100,000. |