Zahlungserinnerung vorbereiten
prepare_payment_reminderPrepare a human approval request for one current open-payment case. First use list_open_payments and copy its caseId. Use preview_payment_reminders for the standing-send preview, not this single-case preparation; run_payment_reminders is the separate existing standing-send action.
Supply one UUID requestKey for the instruction. The server validates that UUID, but deduplicates the prepared operation by tenant, case and UTC day; changing requestKey does not authorize another reminder. Existing preparation reuses the operation only while the current amount and canonical payment link still match. Other current case/customer-history guards can also block preparation; a new UTC day never automatically permits another reminder. Re-read the case when preparation is blocked or uncertain.
Returns operationId, caseId, kind, amountCents, currency, paymentLink, expiresAt and nextAction=show_reply_approval, with sendsMessage=false and canSelfApprove=false. Display that existing operation through show_reply_approval(operationId); only the unchanged human approval workflow can send.
Requires current communications:read and operator:prepare. Paid, cancelled, declined and test cases remain blocked. An expired offer link requires the separate existing renewal workflow; a missing exact balance link returns payment_link_missing. No new price, offer renewal, checkout, approval or send.
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": {
"caseId": "<caseId>",
"requestKey": "<requestKey>"
},
"name": "prepare_payment_reminder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caseId | Yes | Exact caseId from list_open_payments for this workspace. Not a communicationId or reply operationId. | |
| requestKey | Yes | Caller-supplied UUID for this preparation instruction. It is validated; actual deduplication uses tenant, case and UTC day. A different UUID does not create a second daily reminder. |