Prepare invoice payment record
prepare_invoice_payment_recordShows the exact unpaid invoice and records a one-use ten-minute confirmation. It does not mark the invoice 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": {
"idempotencyKey": "<idempotencyKey>",
"invoiceId": "<invoiceId>",
"expectedVersion": "<expectedVersion>",
"paymentMethod": "<paymentMethod>"
},
"name": "prepare_invoice_payment_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paidAt | No | ||
| invoiceId | Yes | ||
| paymentMethod | Yes | ||
| idempotencyKey | Yes | ||
| paymentProofId | No | ||
| expectedVersion | Yes | ||
| paymentReference | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| warnings | Yes | ||
| provenance | No | ||
| assumptions | Yes | ||
| nextActions | Yes |