Accept Bitcoin Cash payments
Give each customer a BCH deposit address on Bitcoin Cash and receive every payment in your own wallet, minus 1.25%. Free to integrate: no account, no API key.
How to accept Bitcoin Cash
Create a BCH deposit address
Send one request with the URL to notify and the Bitcoin Cash wallet that receives the money. The same callback URL always returns the same address.
curl "https://api.trezorpay.com/bch/create/?callback=https://your.shop/paid?order=42&address=bitcoincash:qpqh6jlfp56nvvn8hre2lt7f2vg3r3q6usa743wscg&pending=1"Show the address to your customer
Display
address_in, with a QR code from/bch/qrcode/if you like. Your customer pays at least 0.0005 BCH; the address never expires and can be paid any number of times.Receive the funds and a signed callback
After 1 confirmations (about 10 minutes), we forward the payment to your wallet and call your URL with
pending=0,value_forwarded_coin,txid_out,coin=bch, signed inx-ca-signature. Answer*ok*.
BCH on Bitcoin Cash
Bitcoin Cash keeps fees at a fraction of a cent with ten-minute blocks; each payment is forwarded in a single transaction.
For BCH, the network cost of forwarding comes out of the payment itself: you receive the amount paid minus our fee and the gas of the forward.
Prefer to see the numbers first? Try the simulator, or read how fees and callbacks work.
Bitcoin Cash payments: questions
What is the minimum Bitcoin Cash payment?
0.0005 BCH. A smaller payment is still recorded and shown in /logs/, but it is not forwarded, so that the network cost can never eat the payment.
How long until a Bitcoin Cash payment reaches my wallet?
We forward it once it has 1 confirmations on Bitcoin Cash, which takes about 10 minutes on average, then send your server a signed callback with the forwarding transaction id.
Who pays the network fee for Bitcoin Cash?
The network fee of the forwarding transaction is taken from the BCH payment itself, so you never hold BCH for fees.
Do I need an account to accept Bitcoin Cash?
No. There is no sign-up and no API key: one request to /bch/create/ with your callback URL and your Bitcoin Cash wallet returns a deposit address. Funds go straight to that wallet.