Confirm pending payment
confirm_pending_paymentRecord that a manual payment was received for ONE pending order (e.g. an Interac e-Transfer that just arrived) and confirm the order, issuing its tickets and sending the buyer their tickets email. This records a payment — it does NOT move money and never touches Stripe; the money already went directly to the organizer. One order per call, no bulk confirm. Call once to preview (confirm defaults to false): the preview shows the buyer, the amount owed, and whether this payment covers it. Show the preview to the user, then call again with confirm=true to record and confirm. Identify the order with order_lookup from get_pending_payments (preferred — the raw order ID is never shown to the AI, round 3 N-2), or order_id / order_ref when the user supplies one.
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": {
"amount_cents": "<amount_cents>"
},
"name": "confirm_pending_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set to true ONLY after showing the preview to the user and getting their approval. Default false: returns a preview of exactly what would happen and changes nothing. | |
| order_id | No | Order ID — only when the user supplies it directly (e.g. from the dashboard). Prefer order_lookup. | |
| order_ref | No | Order reference code (the code the buyer puts in their e-Transfer message) — only when you do not have the order lookup or ID. get_pending_payments returns the order lookup, not the reference. | |
| reference | No | e-Transfer reference, memo, or note — stored on the payment record. | |
| amount_cents | Yes | Amount received, in cents (2500 = $25.00). This is recorded as a manual payment on the order. | |
| order_lookup | No | Opaque lookup token from get_pending_payments — use this to confirm. Preferred: the raw order ID is never shown to the AI. | |
| idempotency_key | No | A unique key for this write (e.g. a UUID). Reuse the exact same key if you retry this call — a replay returns the original result instead of executing again. | |
| organization_id | No | Organization ID. Required when you belong to several organizations — use list_my_organizations to see them. Omit it when you belong to exactly one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | No | ||
| preview | Yes | ||
| summary | No | ||
| replayed | No | ||
| confirm_required | No | ||
| already_confirmed | No |