# API Version 1 Order States

Possible order states of sign orders in API-V1:

| 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.                                                                                  |
| REJECTED       |     X     | The user did not give consent to use data after BankID log-in.                                                                                  |
| FAILED         |     X     | Signing failed because of technical reasons or because BankID log-in failed.                                                                    |
| TIMED_OUT      |     X     | Sign order timed out because time between creation and user starting was longer than value set in `signProperties.timeoutSeconds` (or default). |
| SIGN_COMPLETED |     X     | Signing was completed successfully.                                                                                                             |
