Modify order status

Pause, resume, complete or cancel an order.

Each endpoint here moves an order to a new status and returns the updated order.

ActionNew statusWhen you can use it
Pausepausedavailable_actions.pause is true.
ResumeactiveThe order is paused, and available_actions.resume is true.
CompletecompleteThe order has a successful payment, and available_actions.complete is true.
CancelcancelledAny order that isn't already complete or cancelled.

Cancelling can't be undone. It also cancels the order's upcoming scheduled payments.