Simulating an ActiveDeposit
After creating a deposit order (and before identifying/completing it), you can simulate that it was created as an ActiveDeposit order.
curl --request POST \
--url https://sandbox[id].azify.io/api/v1.0/Simulator/df20db8c-f09f-4207-806f-05f56a0e971b/ActiveEnqueue \
--header 'Accept: application/json' \
--header 'Authorization: Basic ...' \
--header 'Content-Type: application/json'At this point, the order is already listed as an ActiveDeposit and available on the queue. However the order is "pending". As you will see on this documentation, "pending" deposit orders move to "identified" once an incoming bank transfer matches them. At this stage, the KYC and KYT checks are performed (disabled on sandbox), and if no alert is issued, the order gets the status "complete" after a few seconds, which is when it becomes safe to add the funds to the user's balance.
Since the automated process does not work on sandbox, it is needed to do it entirely on the simulator. Keep in mind that orders cannot go from "pending" to "complete" directly, and it is necessary to move it to "identified" first.
Updated 9 months ago