<p>They generate a private key and an address corresponding to that private key everytime you see BitPay's payment page (even if you don't pay they keep the private key and that private key is generated only for one payment). When they receive payment to that address, they send your money from that address to their main wallet.</p>

CC BY-SA 3.0
2017-08-27T14:54:09.423Z
2017-08-27T14:54:09.423Z
MCCCS
<p>They possibly using a wallet</p>

<p>You first request a payment then the server-side generates a bitcoin address, when it generated, it send back to the client side, they will then the page automatically refresh to see if the coin is sent to the address, if not then wait (until the timer) and if sent, it will continue to refresh until it meets the requirement for the confirmations. When it is meet then depend on your provider, they either choose to save the amount they owned you on a database or immediately send u the coin.</p>

<p>If they choose for the database then they will send u the coin after the requirement is meet with the receive address you provided.</p>

<p>If they choose to send you immediately then as soon as the coin is receive and has the confirmation, an api will be called to send u the coins.</p>

CC BY-SA 3.0
2018-01-25T00:40:09.737Z
2018-01-25T00:40:09.737Z
zhiyan114
<p>How do payment processors like bitpay work?
As far as i understood you can only have one address per key pair, so do they generate a whole new pair for every payment? Or can this be done using HDWallets?</p>

<address><payment><bitpay>
How do payment processors like bitpay work?
user3381040
# How do payment processors like bitpay work?

(Asked by: username_0 on 2017-08-20)

How do payment processors like bitpay work?
As far as i understood you can only have one address per key pair, so do they generate a whole new pair for every payment? Or can this be done using HDWallets?

**Tags:** address, payment, bitpay


---

## 2 answers

### Answer by username_1 on 2017-08-27. Score: 1

They generate a private key and an address corresponding to that private key everytime you see BitPay's payment page (even if you don't pay they keep the private key and that private key is generated only for one payment). When they receive payment to that address, they send your money from that address to their main wallet.


---

### Answer by username_2 on 2018-01-25. Score: 0

They possibly using a wallet

You first request a payment then the server-side generates a bitcoin address, when it generated, it send back to the client side, they will then the page automatically refresh to see if the coin is sent to the address, if not then wait (until the timer) and if sent, it will continue to refresh until it meets the requirement for the confirmations. When it is meet then depend on your provider, they either choose to save the amount they owned you on a database or immediately send u the coin.

If they choose for the database then they will send u the coin after the requirement is meet with the receive address you provided.

If they choose to send you immediately then as soon as the coin is receive and has the confirmation, an api will be called to send u the coins.


---

