Record confirmed invoice payment
record_invoice_paymentMarks the exact prepared invoice as paid only after an explicit, one-use confirmation. It never contacts the customer or payment provider.
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": {
"idempotencyKey": "<idempotencyKey>",
"invoiceId": "<invoiceId>",
"confirmationToken": "<confirmationToken>"
},
"name": "record_invoice_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoiceId | Yes | ||
| idempotencyKey | Yes | ||
| confirmationToken | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| warnings | Yes | ||
| provenance | No | ||
| assumptions | Yes | ||
| nextActions | Yes |