Frequently Asked Questions
You can integrate a widget into your project to receive payments for goods or services using Bitbanker.
There are three types of available widgets:
Installation Example: https://codepen.io/Bitbanker/pen/MWLgGjR
Insert the HTML code for the widget at the designated location.
Go to your website and insert the following code into the <head></head> section of your site:
<script src="https://widgets.bitbanker.org/acquiring.js"></script>
Place the widget in your desired location and insert the following HTML code:
<acquiring-widget api-key="API_KEY" amount="AMOUNT" email="EMAIL" direction="DIRECTION" lang="ru" source="SOURCE" currency="CURRENCY" payment-currencies="PAYMENT_CURRENCIES" payer="PAYER"></acquiring-widget>
Required
amount: "2000" // the invoice amount. You can leave this field empty if it is not necessary to specify the exact amount in advance — amount=””
"api-key": "xxxxx" // your API is located here https://app.bitbanker.org/profile/api
source: "xxx" // source, the name of the widget
lang: "en" // the widget language — "ru"| "en", default -"ru"
Optional
email: "name@gmail.com" // payer’s email
direction: "row" // visual orientation of the widget "row" or "column", default — "column"
currency: "RUB" // currency in which the invoice is issued. Possible values: BTC, ETH, USDT, USDC, TRX, ATOM, AVAX, RUB.R, default — "RUB.R"
view: "full" // widget display mode, "full" — including the ‘email’ and ‘amount’ fields, and the payment button | "amount"— including the ‘email’ field and the payment button | "button"— the payment button only, default — "full"
"button-text": "Pay" // the payment button text, default - "Оплатить/Pay"
description: "consulting" // the product for which you receive payment. The text field “Payment for” on the invoice page
header: "Online school" // your details, the information on the entity/person that issues the invoice. The text field “Invoice from” on the invoice page
"payment-currencies": "BTC, USDT" // cryptocurrency with which the invoice can be paid. Possible values: BTC, ETH, USDT, USDC, TRX, ATOM, AVAX. default - "BTC, ETH, USDT"
payer: "name" // the name of the person you’re invoicing. On the invoice page this field is called “Invoice for”
You can issue invoices for specific networks if these networks are enabled for account deposits on Bitbanker. You can check the currently available networks in the "Deposit and Withdrawal" section.
Key:
"payment_chains": ["bsc", "tron", "eth", "avax", "ton"]
To make the SBP (Faster Payment System) payment available in widgets, add the following variable: sbp-paymet.