Open pedram1995kzm opened 3 years ago
I'm sorry I didn't see the message and reply sooner. Since Coinex is an exchange it has these limitations, to receive payments in multiple addresses it is more feasible to use API services of a wallet. For example: Blockchain.com or https://www.coinpayments.net
I'm trying to generate deposit address for each account of my exchange website users by using COINEX API I've faced a real problem imagine there is 2 users in my website and USER1 wants to deposit BTC so when he clicks on generate deposit address code runs : PUT /balance/deposit/address/BTC and address displays to him. but he hasn't used this address yet suddenly USER2 wants to deposit BTC too and then code runs again: PUT /balance/deposit/address/BTC but it says { code: 318, data: { }, message: "Deposit address not used." } should USER2 wait untill USER1 completes his deposit?! it can't be like that.. any idea for solving this? how everyone make an exchange with coinex api, it doesn't make a trouble for them?