Accepting Bitcoin Payments

Started by chirkovmisha, Mar 15, 2023, 03:40 AM

Previous topic - Next topic

chirkovmishaTopic starter


We require the ability to accept bitcoin payments on our website by following a process involving selecting a product, clicking a button, making a payment, and then receiving the product upon confirmation.

Unfortunately, we cannot use the option with bitcoind due to insufficient space (only 200GB) on the server. As a result, we have explored the possibility of using the API, but we still have some questions about what would happen if we did not involve 20 wallets.

If anyone has experience with this issue, could you please share how we can address it or provide guidance on effectively utilizing the API?

Many thanks in advance.


There are two main rules to follow in accepting bitcoin payments. Firstly, private keys of addresses issued to users should not be stored on a web server. As the owner of the service, you should keep them personally on your hardware wallet. Secondly, use bitcoind with the key -prune 512 after downloading the blockchain. This will take up about 6 gigabytes on your disk and allow for full work with wallet.dat and addresses in it in the mode of viewing and checking the arrival of deposits.

To protect yourself from ddos emptying of receiving addresses, slip old addresses to clients without incoming transfers. While there are other libraries that take up less resources, they may not be 'official'. However, they still function effectively and connect directly to the network without conducting any checks except for the presence of confirmation from miners. But if you are looking for the most correct and easiest way to accept payments, follow the rules stated before.

It is worth noting, however, that the lightning network is soon to be released, and is anticipated to become the de facto standard for accepting payments.

If you have a translation task, it is recommended that you implement it on a separate server and communicate between the web server and payment server through a special security module. This should be accompanied by an API that is rechecked for security by developers who are not involved in making the web server.


If you need to accept cryptocurrency and then convert it to fiat currency through exchange services, gocoin is a viable option. On the other hand, if you need to withdraw the cryptocurrency directly to a payment system, you can use pokupo.


A good practice is to generate unique addresses for each transaction on the server and use to parse information about these transactions. However, depending on factors such as project requirements, it may be more convenient to use a self-built JSON RPC bitcoin node. Ultimately, the choice of method will depend on various factors.

Regarding payment aggregators and free cash registers, it's natural to question why one should pay a commission when there are many options available for free. However, it is important to keep in mind that paid services often offer better security, speed, and other important features that free options may not provide. Thus, it's essential to weigh the pros and cons of each option to determine which one is best for your particular needs.


An API is a type of interface used in application programming to provide interaction between applications. Bitcoin traders often use the API when securing transactions as it allows them to set the transaction period, entry and exit points and determine take profit or stop loss.

When processing a payment, it's possible for the payment data to be intercepted. As such, cryptoprocessing services provide an essential level of security to the transaction, with participants not having access to these sensitive data.

Cryptoprocessing helps verify transactions, accept bitcoins from the sender's wallet, transfer bitcoins to the recipient, send transactional information to the blockchain and convert cryptocurrencies into fiat currency, making it an attractive solution for businesses looking to integrate cryptocurrency payments into their website.

CryptoCloud is a popular cryptoprocessing service that offers many features such as reliability, convenience and easy-to-use interface. It supports many cryptocurrencies, offers high security standards, daily withdrawal of funds and quick generation of payment links.

To connect to CryptoCloud, you only need to register, add a project and integrate using the API or existing modules. The service does not require any personal or corporate information, making it easier to manage.


To accept Bitcoin payments on your website using the API, you generally do not need to involve 20 wallets. The number of wallets you use depends on your business requirements and how you want to manage your funds.

With the API, you can generate a new receiving address for each customer's order. When a customer selects a product and clicks the payment button, you can generate a unique Bitcoin address associated with that order. The customer then sends the payment to that address.

Once the payment is confirmed on the blockchain, you can check for the payment using the API's "List Transactions" endpoint. This allows you to monitor incoming transactions to the generated address and verify if the payment has been made. Once confirmed, you can proceed with the necessary actions, such as delivering the product.

Regarding the storage space concern, the API does not require significant space on your server. It interacts with's infrastructure, so you don't need to maintain a full copy of the blockchain on your server.

Overall, integrating Bitcoin payments using the API should be relatively straightforward. Make sure to review the API documentation provided by for more details on the specific endpoints and parameters to use.