cypher_check_payment
ActiveTool of cypher-mcp
Check the payment status of a Lightning invoice. Call after paying the invoice from purchase_credits. Free — no credits required. Proof of npub ownership is required to prevent credit-grant front-running by an observer of the invoice ID.
Parameters schema
{
"type": "object",
"required": [
"invoice_id",
"npub",
"dpop_token"
],
"properties": {
"npub": {
"type": "string",
"description": "The Nostr public key (npub1...) that purchased the invoice."
},
"dpop_token": {
"type": "string",
"description": "Raw JSON of a kind-27235 Nostr event signed by npub —\nnot base64, not NIP-98 'Authorization: Nostr <b64>' framing. Its\n`u` tag must hold THIS tool's exact name (from tools/list), not\nthe endpoint URL; content:\"\", created_at within 60s of now, and a\nrandom `nonce` tag recommended. Or a cached dpop_token phrase."
},
"invoice_id": {
"type": "string",
"description": "The invoice ID returned by purchase_credits."
}
},
"additionalProperties": false
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
cypher-mcp
https://github.com/lonniev/cypher-mcp
2/7 registries