cancel_order
Cancels a finalized order if labels have not been sent yet. Refunds the wallet. This is a DESTRUCTIVE operation - always confirm with the user before cancelling. If labels have already been sent, the cancellation will be rejected. Idempotent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | Order ID to cancel |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| status | No | ||
| refundCents | No | ||
| balanceCents | No |