Order Management
📄️ Capture an order
Capture an order of a completed payment session. The provided cart items must exist on the session.
📄️ Refund a capture
Refund a captured order of a payment session.
📄️ Cancel an order
Cancel an order of a payment session. It is only possible to cancel an order that has order status `order_approved_not_captured`. If the order has been captured it is no longer possible to cancel the order as it should be refunded instead. It is also not possible to cancel a pending or rejected order.
📄️ Release remaining order amount
Release the remaining uncaptured amount of a partially captured order. This signals to the payment provider that no further captures will be made, effectively closing out the order. It is only possible to release remaining on an order that has been partially captured (`captured_partial` status). Orders that have not been captured, are fully captured, cancelled, pending, or rejected cannot have their remaining amount released.
📄️ Update cart
Update cart and amounts of a completed but not fully captured session.
📄️ Update references
Update order references of a completed session.