The movex states are the following:
Pending: when an order is created this enters in the state pending while the transaction isn't completed or fails.
Completed: an order is completed if the transaction is succesfully made.
Error: an order enters in the error state if this is rejected by the bank.
Canceled: an order can be canceled if this is in the pending state.