Did I get paid? Check an invoice
check_paymentCheck whether an invoice (from create_payment_link) has been paid. Returns unpaid / processing / paid, every payment attempt with its status and blockchain transaction, and how to get a signed receipt. Use it to deliver your service only after you've been paid.
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": {
"invoice_id": "<invoice_id>"
},
"name": "check_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | Yes | The invoice_id returned by create_payment_link (starts with 'inv_'). |