Status Number vs Status Enum
"Status Number" should be referenced when retrieving (aka
GET) all deposits requests and "Status Enum" should only be used when updating (aka
PATCH) a deposit request.
Every new deposit for a self-directed account is set to "Pending". From here, the deposit can be marked as "Rejected", "On Hold" or "Approved".
After a deposit is marked "Approved", the next step is "Successful".
If a deposit is marked as "Rejected", the deposit will immediately be set to "Failed".
Once marked as "Approved", the deposit will be processed.
Updating a deposit to "Rejected" will immediately set it 's status to "Failed"
The "On Hold" status is reserved for deposits that aren't ready to be processed.
A deposit is marked as returned if DW receives notification from our bank that the deposit had failed.
Reserved for errors.