Settle a payment
claim_paymentPaste the preimage of a paid BOLT11 invoice, or an onchain txid, with the tier. Returns an access token for the REST API. MCP callers get the paid tool result directly and can skip this.
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": {
"tier": "<tier>"
},
"name": "claim_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | Yes | ||
| txid | No | 64 hex chars, onchain fallback | |
| preimage | No | 64 hex chars |