Claim a paid top-up as a bearer token
btcmatic_topup_claimProve a top-up payment by submitting its payment hash and preimage to claim the prepaid token exactly once, then restart the server with that token to enable automatic balance debits for paid tools.
Instructions
Proves the top-up payment with its preimage and receives the prepaid token EXACTLY ONCE. Store it and restart this server with BTCMATIC_AGENT_TOKEN= so every paid tool debits the balance automatically.
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": {
"payment_hash": "<payment_hash>",
"preimage": "<preimage>"
},
"name": "btcmatic_topup_claim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preimage | Yes | ||
| payment_hash | Yes |