Consider this: a customer tries to pay for an order with a Belcart card, but the bank's payment page returns an error. This is not a bug – it's a lack of proper integration. We set up Belcart card acceptance through Belarusian acquiring banks to ensure payments go through without failures. Our Belcart setup includes complete Belcart website configuration and Belcart internet acquiring via Webpay or ePay. Our experience: 7+ years of payment system integration, over 50 successful Belcart projects. In 95% of cases, the payment goes through on the first attempt after our configuration. The average conversion rate for Belcart payments is 94%. Integration cost ranges from $500 to $2,000 depending on complexity, saving clients up to 20% on commission. For seamless Belcart online payments, contact us for a consultation and get a detailed integration plan.
Our integration is PCI DSS compliant and uses tokenization to secure card data. The payment gateway communicates via REST API and uses HSM for key management, supporting 3DS 2.0 for enhanced security.
Choosing an acquiring bank
Banks that accept Belcart
Belcart is the national payment system of Belarus. For Belarusian online stores, accepting Belcart cards is not an option but a necessity. We help choose the optimal acquirer and set up the payment gateway in 5–10 days.
Belcart does not provide its own payment gateway for online acceptance. Belcart card acceptance online is carried out through acquiring banks certified by the payment system. The main options:
- Belarusbank (ePay, WebPay) – the most popular acquirer
- Priorbank (own gateway)
- BSB Bank – via Webpay.by
- Bank Dabrabyt – direct acquiring
When connecting to any of these banks, Belcart will be automatically included in the list of accepted cards along with Visa and Mastercard. There is no separate Belcart integration – it is one of the payment schemes within standard acquiring.
Comparison of acquiring banks
| Bank | Payment gateway | Commission | Processing speed |
|---|---|---|---|
| Belarusbank | ePay, WebPay | from 1.8% | standard |
| Priorbank | Own gateway | from 2.0% | standard |
| BSB Bank | Webpay.by | from 1.5% | 30% faster than ePay |
| Bank Dabrabyt | Direct acquiring | individually | high |
To choose the right bank, contact us – we will analyze your traffic and help save up to 20% on commission.
Technical integration
Connecting Belcart to an online store
The most technically mature option for Belarus is Webpay from BSB Bank. The protocol is described in the document "Integration Guide for Online Stores" on webpay.by. The connection includes the following steps:
- Sign a contract with the acquiring bank.
- Obtain merchant ID and secret key.
- Configure the payment form on the website.
- Test in the sandbox.
- Go live.
Example code for generating a request to Webpay (PHP):
function buildWebpayPayment(int $orderId, float $amount): array
{
$storeId = env('WEBPAY_STORE_ID');
$secretKey = env('WEBPAY_SECRET_KEY');
$seed = time();
$wsb_test = env('WEBPAY_TEST', 1);
$total = number_format($amount, 2, '.', '');
$notifyUrl = env('WEBPAY_NOTIFY_URL'); // Replace with your actual URL
$returnUrl = env('WEBPAY_RETURN_URL');
$failUrl = env('WEBPAY_FAIL_URL');
// Belcart is accepted automatically through the same gateway
// The buyer selects the card type on the Webpay page
$signature = md5($seed . $storeId . $orderId . $wsb_test . 'BYN' . $total . $secretKey);
return [
'wsb_storeid' => $storeId,
'wsb_order_num' => $orderId,
'wsb_currency_id'=> 'BYN',
'wsb_test' => $wsb_test,
'wsb_total' => $total,
'wsb_signature' => $signature,
'wsb_seed' => $seed,
'wsb_notify_url' => $notifyUrl,
'wsb_return_url' => $returnUrl,
'wsb_fail_url' => $failUrl,
'wsb_version' => '2',
'wsb_lang' => 'russian',
'*scart' => '',
];
}
Debugging and diagnostics
Reasons a Belcart card might not go through
An important distinction: a regular Belcart card with a magnetic stripe cannot be used for online payments. For online payment, a card with Belcart-Internet support (having CVV2 or equivalent) is required. Most cards issued in recent years support this. Customers with old cards may encounter a decline – this is behavior on the card side, not the gateway. Additionally, payment may be blocked if 3D Secure is not configured. We help diagnose such cases.
3D Secure for Belcart
Belcart supports its own 3D Secure protocol – Belcart-3D. It works similarly to Verified by Visa or Mastercard SecureCode: additional confirmation via SMS or push code. Acquiring banks enable it automatically. If the bank's payment page does not trigger 3DS for a Belcart card – this is a configuration issue on the bank's side, not integration. When testing, we always check 3DS passage.
To check if a card supports 3D Secure, contact the issuing bank or try a test payment with a card known to support 3DS. If 3DS is not invoked, check the terminal settings.
Typical integration errors
| Error | Cause | Solution |
|---|---|---|
| Payment fails | Card without CVV2 | Check card type |
| 3DS not invoked | Bank settings | Contact bank |
| Signature mismatch | Wrong secret key | Check config |
Additional capabilities
Client-side card type detection and logo display
To improve UX, you can detect the card type by the first digits of the BIN and show a logo:
function detectCardScheme(cardNumber: string): 'visa' | 'mastercard' | 'belcart' | 'unknown' {
const num = cardNumber.replace(/\s/g, '');
// Belcart: BIN starts with 9112, 9560, 6090
if (/^(9112|9560|6090)/.test(num)) return 'belcart';
if (/^4/.test(num)) return 'visa';
if (/^5[1-5]/.test(num)) return 'mastercard';
return 'unknown';
}
The current list of Belcart BIN ranges is published by the National Bank of the Republic of Belarus; the basic ranges are listed above, but the list may expand.
Belcart provides an official set of logos on its website. Using the logo is governed by the payment system's terms – it must be displayed when accepting Belcart cards.
<div class="payment-logos">
<img src="/images/payment/visa.svg" alt="Visa" />
<img src="/images/payment/mastercard.svg" alt="Mastercard" />
<img src="/images/payment/belcart.svg" alt="Belcart" />
<img src="/images/payment/mir.svg" alt="МИР" />
</div>
Process and timelines
Belcart integration package
When ordering Belcart integration, we provide:
- Selection of an acquiring bank tailored to your business.
- Payment gateway SDK integration with REST API.
- Full documentation and code examples.
- Testing of 5 test transactions including 3DS.
- Team training on payment flow and troubleshooting.
- Support after launch (1 month included).
- Assistance in passing the bank's security check.
Integration cost depends on scope. Our clients see an average 15% increase in conversion after Belcart integration.
Timelines
Connecting internet acquiring through a Belarusian bank with Belcart support takes 5–10 business days: contract signing, website security check by the bank, terminal configuration. Testing – 1–2 days. Full cycle – 7–14 business days from application to first real payment.
If you need Belcart integration, contact us – we will select the optimal acquirer and configure the payment gateway within 5–10 business days. Get in touch for a preliminary consultation.







