bKash & Nagad Payment Integration Guide for Websites
ওয়েবসাইটে বিকাশ ও নগদ পেমেন্ট ইন্টিগ্রেশন গাইড
In Bangladesh, mobile financial services dominate the payment landscape. bKash leads with over 75 million registered users, while Nagad has rapidly grown to over 50 million users. For any e-commerce website or online business in Bangladesh, integrating these payment gateways isn't optional — it's essential. This guide covers everything you need to know about adding bKash and Nagad payment to your website.
What Is Payment Gateway Integration?
Payment gateway integration connects your website to a payment processor, allowing customers to pay directly through your site. Instead of manually collecting payments via personal bKash numbers (which is unprofessional and risky), a proper integration provides a secure, automated checkout experience. The customer clicks “Pay”, gets redirected to bKash/Nagad, completes the payment, and your website automatically confirms the transaction.
Why Local Payments Matter
International payment gateways like Stripe and PayPal have limited presence in Bangladesh. Most Bangladeshi consumers don't have credit cards — they rely on mobile banking. bKash and Nagad are the payment methods your customers know and trust. Offering these options reduces cart abandonment and increases conversion rates. Studies show that websites offering local payment methods see 30-40% higher checkout completion in Bangladesh.
How bKash Payment API Works
bKash offers a Payment Gateway (PGW) API for merchants. The process involves: registering as a bKash merchant, receiving API credentials (app key, app secret, username, password), integrating the bKash checkout SDK into your website, and handling payment callbacks. bKash supports both “Checkout” (redirect-based) and “Tokenized” (saved payment) flows. The API uses REST endpoints with OAuth 2.0 authentication. Transaction fees typically range from 1.5% to 2% per transaction.
How Nagad Payment API Works
Nagad's merchant payment API follows a similar pattern. After registering as a Nagad merchant, you receive API credentials and integrate their payment SDK. Nagad uses a two-step process: initiating a payment request and then completing it after customer authorization. Nagad's API is well-documented and offers competitive transaction fees, often slightly lower than bKash.
Implementation Costs and Timeline
Merchant registration with bKash and Nagad typically takes 1-3 weeks for verification. The technical integration itself takes 3-7 days for an experienced developer. Costs include: merchant registration fees (varies), development costs (৳5,000-৳20,000 depending on complexity), and ongoing transaction fees (1.5-2% per transaction). Some payment aggregators like SSLCommerz offer both bKash and Nagad through a single integration, simplifying the process.
Security Considerations
Payment integration requires careful attention to security. Always use HTTPS, validate all server-side callbacks, never store sensitive credentials in client-side code, implement proper error handling, and keep transaction logs for reconciliation. Working with an experienced developer team ensures your payment integration is secure and reliable.
DIPTAIT's Expertise
At DIPTAIT, we've integrated bKash and Nagad payments across multiple e-commerce projects. We handle the entire process — from merchant registration guidance to API integration and testing. Our team ensures your payment flow is smooth, secure, and user-friendly, so your customers can pay with confidence.
Need payment integration?
We'll integrate bKash, Nagad, and other payment gateways into your website.
Discuss Integration →