🎮 Bitcoin SDK
API for accepting Bitcoin (BTC) payments. Easy, instant, fully automated.
🌲 Easy
Now you don't need to set up your own Bitcoin payment infrastructure or use any other expensive services. Our infrastructure is just perfect. Zero communication with humans, unless you want it. Setting up is very easy and needs to be done only once.
🌲 Lowest cost in the market (0%)
We charge you flat and fixed 0%
fee. :-)
⚡️ Instant
We detect the payment immediately once it hits the Bitcoin network. By default we notify your URL (via webhook callback) 2 times:
- when transaction with BTC payment to your address appears in Bitcoin network (unconfirmed)
- when transaction with BTC payment to your address gets 1 confirmation.
We consider payment made when it gets 1 confirmation.
🌒 Fully automated
Once you set the API connection, it works on it's own.
💚 Friendly support
Support is provided by the owner of the service to every client in need. Just drop me a message via Telegram.
🦚 Setting up Bitcoin SDK
Getting token (required)
The only required setting is getting token which is used by the BitcoinSDK for identifying and authenticating a client or item in your store.
🌲 Using Bitcoin SDK
Checking your balances
Query balance
to show your BTC balance.
Response example: 0.00520055
Requesting new address for payment
new
with optional parameters amount
and type
. Short segwit address by default is used.
Query examples:
new
new ["type"="bech32"]
new ["amount"=0.2355]
new ["type"="bech32", "amount"=0.2355]
Response: array
Withdrawing BTC
wtdr
with required parameters [address, amount]
to withdraw BTC to your address. Flat fee for withdrawal is 0.0002 BTC
.
Query examples:
wtdr ["address"="3LBYDn5NhiFBi1cZ6yBSdNZWCLyujz1Ybg", "amount"=0.2355]
wtdr ["address"="bc1qvzpvnshms3gd9ap7dsnt8afxlv8pvt0mhehnfy", "amount"=0.2355]
Withdrawing RUB
wtdr_RUB
with required parameters [bank, card number, amount]
to withdraw your BTC paid in RUB to Russian banks sberbank
or tinkoff
.
Query examples:
wtdr_RUB ["bank"="sberbank", "card"=5200555533330000, "amount"=33000]
wtdr_RUB ["bank"="tinkoff", "card"=5200555533330000, "amount"=33000]
Response: array