order.mark_paid
Mark an order paid (pending_payment -> paid), committing its reservation. Idempotent by state (a re-paid order is a success no-op).
- Scope:
order.write - System: no
- Reachable from:
POST /v1/commands/order.mark_paid(tenant credential) · MCP toolorder.mark_paid· SDKclient.call('order.mark_paid', …) - Events:
order.paid,inventory.committed,order.stock_uncommitted
Input (JSON Schema)
Section titled “Input (JSON Schema)”{ "properties": { "order_id": { "minLength": 1, "type": "string" } }, "required": [ "order_id" ], "type": "object"}Result (200)
Section titled “Result (200)”{ "additionalProperties": false, "properties": { "order_id": { "type": "string" }, "status": { "type": "string" } }, "required": [ "order_id", "status" ], "type": "object"}Errors
Section titled “Errors”validation_failed (400) · unauthorized (401) · forbidden (403) · conflict (409) · internal (500)