# API Version 0 Order States

Possible order states of sign orders in API-V0:

| Order State    | Ends Flow | Description                                                                                                     |
| -------------- | :-------: | --------------------------------------------------------------------------------------------------------------- |
| ORDER_RECEIVED |           | Initial state after order creation. Sign order is ready for signing.                                            |
| USER_SIGNING   |           | Sign order is being signed - the user clicked the sign button.                                                  |
| FAILED         |     X     | Signing failed because of technical reasons, BankID log-in failed or the user did not give consent to use data. |
| CANCELLED      |     X     | The user cancelled the signing in the UI.                                                                       |
| SIGN_COMPLETED |     X     | Signing was completed successfully.                                                                             |
