Order placing API returns status = success even when order failed due to margin shortfall

Yes, the margin API is currently in development and will be available for customers soon.