Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: iconzi on September 29, 2019, 07:43:33 AM



Title: Bitcoin Payment API
Post by: iconzi on September 29, 2019, 07:43:33 AM
Hello,

I have some question regarding accepting Bitcoin payment in my website. Please note the following points:

1. Most of the Bitcoin API provider, I saw they keep generating new address everytime for each new invoices. example coinbase coinpayments etc
2. But most of the stable site, I am using they have a constant BTC address for each user, which is unchanged until user tries to change it and it adds user balance as soon as user pays in that address.

My question is, Which API I can use to get constant BTC address, which is linked with each user.

Thank you for your time.

Best regards


Title: Re: Bitcoin Payment API
Post by: The Cryptovator on September 29, 2019, 11:42:46 AM
My question is, Which API I can use to get constant BTC address, which is linked with each user.
Thank you for your time.
Best regards
Probably you have to use your own payment getaway like exchanges are using. You can seem most of crypto-currency exchange like Binance will create a single bitcoin address for you. Because they use their own payment getaway. It's like a wallet, it will work like any other wallet. Third party wallet can't give constant wallet because they have to detect each transaction and credit to right account. So you might try to develop your own wallet and attach it with your website.


Title: Re: Bitcoin Payment API
Post by: iconzi on September 29, 2019, 04:10:34 PM
My question is, Which API I can use to get constant BTC address, which is linked with each user.
Thank you for your time.
Best regards
Probably you have to use your own payment getaway like exchanges are using. You can seem most of crypto-currency exchange like Binance will create a single bitcoin address for you. Because they use their own payment getaway. It's like a wallet, it will work like any other wallet. Third party wallet can't give constant wallet because they have to detect each transaction and credit to right account. So you might try to develop your own wallet and attach it with your website.

Thank you for your explanation. I believe there is wallet for this system. Because the website I checked is accepting all major crypto payments in single address, like BTC ETH LTC DOGE XRP DASH everything.

Hoping for answer from experienced person in respected field.

Best regards


Title: Re: Bitcoin Payment API
Post by: bitaps on September 29, 2019, 07:59:20 PM
All API addresses without any expiration time or payment count limits.

https://developer.bitaps.com/forwarding

https://developer.bitaps.com/wallet



Title: Re: Bitcoin Payment API
Post by: iconzi on September 30, 2019, 07:30:33 AM
All API addresses without any expiration time or payment count limits.

https://developer.bitaps.com/forwarding

https://developer.bitaps.com/wallet



Hello,

Thank you very much for your reply. Yes this is something we are looking for.

Can you please give me some reference for accepting other major cryptos like ETH, LTC, DASH?

Best regards


Title: Re: Bitcoin Payment API
Post by: mocacinno on September 30, 2019, 07:35:14 AM
Just run a full node of whatever coin you want to accept and use the json-rpc interface... generate a new address for each client and keep a database that connects the client to the address...

Coins using the bitcoin codebase use more or less the same json rpc commands, coding something like this should be fairly simple... Altough i would advise to let a senior dev assist you... A simple mistake can have serious consequences, altough, as long as you keep your wallet locked, it should be fairly safe.


Title: Re: Bitcoin Payment API
Post by: bitaps on September 30, 2019, 08:45:36 AM
All API addresses without any expiration time or payment count limits.

https://developer.bitaps.com/forwarding

https://developer.bitaps.com/wallet



Hello,

Thank you very much for your reply. Yes this is something we are looking for.

Can you please give me some reference for accepting other major cryptos like ETH, LTC, DASH?

Best regards

BTC, ETH, LTC, BCH is supported you just need specify in API request https://api.bitaps.com/{currency}/v1/

DASH not supported at this moment



Title: Re: Bitcoin Payment API
Post by: Dabs on September 30, 2019, 04:10:22 PM
You might want to keep your wallet software separate from your website, to avoid the site getting hacked and all your private keys stolen. You can just generate addresses and add those to a database on your website.


Title: Re: Bitcoin Payment API
Post by: turndealer on October 02, 2019, 06:51:18 AM
Just run a full node of whatever coin you want to accept and use the json-rpc interface... generate a new address for each client and keep a database that connects the client to the address...

Coins using the bitcoin codebase use more or less the same json rpc commands, coding something like this should be fairly simple... Altough i would advise to let a senior dev assist you... A simple mistake can have serious consequences, altough, as long as you keep your wallet locked, it should be fairly safe.

As suggested by mocacinno , Connect your wallet with Coin Nodes, Daemons, Coinpayments, Block.io .. They give you unique Deposit address each time.

So for each user generate one address per coin and save it to database .

Next time when user needs to deposit save address which was saved in db should be shown .

This is how all centralized exchanges work like.

You can use prebuilt solutions like codono, and modify it according to your requirements too. As they give you same solution.

Thanks