How to accept bitcoin and giving each user a unique address amd automatic withdrawal
You could use online providers such as:


https://www.blockchain.com/api 
https://www.blockcypher.com/dev/


Or install Bitcoin Core to run a full node and use RPC APIs