This section describes all the possible trade states and possible transitions between the states.
The following table lists all possible states of a trade (the state
property):
state | Description |
---|---|
awaiting_transfer_in | (Initial state) Trade was successfully created, and is waiting for trader's payment |
payment_authorized | (Only if transferIn.medium = 'card') We have reserved trade.inAmount on customers card. Followed immediately by processing if trader has performed Mandatory onboarding steps and the quote is not expired. |
processing | Trade has received the trader's payment, and we are processing the trade. |
completed | (Ending state) Trade completed successfully. |
cancelled | (Ending state) Trade cancelled. |
rejected | (Ending state) Trade was rejected. |
expired | (Ending state) Trade expired before it completed. |