> For the complete documentation index, see [llms.txt](https://aliniex.gitbook.io/alix-pay/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aliniex.gitbook.io/alix-pay/resources/order-status.md).

# Order status

The order response messages from the POST methods include an order status. The following is a list of all possible order statuses that may be returned. You may want to group these statuses into something more relevant for your customers.

### Order Flow

<figure><img src="/files/GQTpmbyoq33pFJpTa8EH" alt=""><figcaption></figcaption></figure>

### Order status definition

| Status          | Defination                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| created         | <p>Order has been created </p><ul><li>For Buy orders, this indicates we are waiting for customer to make payment for the order.</li><li>For Sell orders, this indicates we are waiting for the required conditions to be met before we can accept the crypto payment.</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                |
| waitingPayment  | <ul><li>For Buy orders, this indicates that the Customer has submitted their payment information, and we are now waiting for final payment confirmation from any external payment systems.</li><li>For Sell orders, this indicates that all the required conditions have been met and we are waiting for the Customer to make the crypto payment to the wallet address provided. This status occurs when the customer has passed KYC verification and submitted their Bank Account details for receiving fiat. This webhook will notify you that cryptocurrency is ready to be sent to AliX Pay.<br><mark style="color:red;">(please wait IPN or manual check with operation)</mark></li></ul> |
| processing      | Payment information has been received by the external payment systems. The order is now in final verification and processing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| coinTransferred | Cryptocurrency transaction has been submitted blockchain.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| expired         | Order has been created, customer has not made payment for the order within the expiry time. (Expiry times may differ for each payment method)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| completed       | <p>Order has been completed.</p><p>For Buy orders, we deem the cryptocurrency transaction to be completed after 2 confirmations on blockchain.</p><p>For Sell orders, we deem the fiat payout to be completed when the fiat currency has been successfully sent.</p>                                                                                                                                                                                                                                                                                                                                                                                                                           |
| failed          | Order has been failed with any reasons                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| success         | The order has created successfully                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| error           | The order created with not successfully                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
