commerce.order_update_payment_status
Independently updates ONLY the paymentStatus (PENDING, PAID, FAILED, REFUNDED) of an order without modifying its fulfillment status or inventory. Only mark PAID after explicit merchant confirmation of actual cash or QR receipt.
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>",
"paymentStatus": "<paymentStatus>"
},
"name": "commerce.order_update_payment_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | Order ID (e.g. 'ORD-123456-789') or MongoDB 24-character _id | |
| paymentNote | No | Optional verification or refund note | |
| paymentStatus | Yes | New independent payment status |