reject_invoice
Reject a received invoice by providing its ID and a reason. Use this to formally decline an incorrect or unwanted invoice.
Instructions
Reject a received invoice.
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>",
"reason": "<reason>"
},
"name": "reject_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Rejection reason | |
| invoice_id | Yes | Invoice ID to reject |