> 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://aliniex.gitbook.io/alix-pay/resources/order-status.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
