Any pay-in request placed will reflect in the ledger within the next day i.e., 24 hours. After this a pay-out request can be processed.
No, you can not withdraw the amount. You can withdraw it from T+1 day.
Why are my unused funds credited back to my trading account?
What are the adjustments involved in the calculation of my withdrawable balance?
How do I change my payout settlement cycle?
What will happen to the amount lying in my trading account if I close my trading account?