delete_invoice_payment
Delete payments from an invoice by providing the invoice ID and a comma-separated list of payment IDs. Removes one or multiple payment records.
Instructions
Deletes specified invoice's payments
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>",
"payment_ids": "<payment_ids>"
},
"name": "delete_invoice_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | Yes | invoice ID | |
| payment_ids | Yes | payment IDs (comma separated) |