you need to run a cron job every minute. When you make an order, the api returns order id. Use that order id in cron to fetch the order details. There is a status as COMPLETE in the order details. If you find that, it means that the order has completed and send an email or sms.
@gaurav_ch, This is the worst possible recommendation. If you are doing so I would recommend change that. Polling orderbook to fetch order details is like abusing the system. We have given Postbacks API and order updates via websockets. We strongly recommend using one of these two methods to get updates of an order.
This is the worst possible recommendation. If you are doing so I would recommend change that. Polling orderbook to fetch order details is like abusing the system. We have given Postbacks API and order updates via websockets. We strongly recommend using one of these two methods to get updates of an order.