# Order

This API resource manages orders, enabling creation, retrieval, and cancellation. This facilitates payment processing within the order management flow. It also supports management of recurring orders, including cancellation and rebilling.

## Create an order

 - [POST /order](https://docs.xmoney.com/api/reference/order/create-an-order.md): This endpoint creates new orders, supporting both one-time purchases and recurring subscriptions.

## List all orders

 - [GET /order](https://docs.xmoney.com/api/reference/order/list-all-orders.md): Retrieve a list of orders, optionally filtered by various criteria.

## Retrieve an order

 - [GET /order/{id}](https://docs.xmoney.com/api/reference/order/retrieve-an-order.md): Retrieve a specific order by its ID.

## Cancel a recurring order

 - [DELETE /order/{id}](https://docs.xmoney.com/api/reference/order/cancel-a-recurring-order.md): An open order may be canceled if it does not have any payments yet.

## Initiate managed order transaction

 - [PATCH /order-rebill/{id}](https://docs.xmoney.com/api/reference/order/initiate-recurring-order-transaction.md): Manually bills a customer for their managed order. This endpoint allows merchants to control when managed order payments are processed.

