The STATUS keyword, whether implemented as a filter or returned by the API, ties to a numeric code that enumerates the current condition of each order. You can find the definition of each code here:
code | enum | description |
---|---|---|
1 | UNSENT | |
2 | SENT | |
3 | REJECTED | Orders are set to 'REJECTED' after the retry limit has been reached. |
4 | CANCELLED | |
5 | SUCCESS | |
6 | SEND_NOW | Orders set to this state will already have a future order created before the order placement process. |
7 | ONE_TIME | |
8 | UNKNOWN_PLACEMENT_RESPONSE | |
9 | PENDING_BATCH_RESPONSE | |
10 | PENDING_VERIFICATION | |
11 | PENDING_PLACEMENT | |
12 | EXCEPTION_DURING_PLACEMENT_PREPARATION | |
13 | CONNECTION_ERROR_DURING_PLACEMENT | Unable to reach the merchant's order placement service and will be retried on the next placement. No retry limit. |
14 | RESPONSE_PROCESSING_ERROR | The batch or http response from the merchant was not understood by our system. This order is not retried. |
15 | GENERIC_ERROR_RESPONSE | A generic error was sent or defaulted by our system. Merchant sets number of times to retry. |
16 | EXPIRED | |
17 | MERGED | This order was merged with another order. To find the order, check the Order's extra data for the field 'merged_order_id'. |
18 | CREDIT_CARD_RETRY | The order failed with a 140 error code and is going through the credit card retry process. |