Record order payment
record_order_paymentRecords a full or partial payment against an order’s outstanding balance; amount is in minor currency units and capped at the balance due.
Instructions
Record a (possibly partial) payment against an order's outstanding balance. amount is in minor units of the order's currency and capped at the balance due.
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": {
"orderId": "<orderId>",
"amount": "<amount>",
"reference": "<reference>"
},
"name": "record_order_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount in minor units of the order's currency (cents) | |
| orderId | Yes | ||
| provider | No | ||
| reference | Yes | Payment reference / receipt id |