Nagad Payment Gateway API Integration for Bangladesh Businesses

Nagad Payment gateway allows you to receive online payment very fast, and securely by integrating it into your application which will provide access to millions of users in Bangladesh. Using simple api and ready‑to‑go plugin you can get your business going with transaction processing in no time.

Update on: June 19, 2026 5 mins
nagad payment gateway
Update on: June 19, 2026 5 mins

Nagad Payment gateway allows you to receive online payment very fast, and securely by integrating it into your application which will provide access to millions of users in Bangladesh. Using simple api and ready‑to‑go plugin you can get your business going with transaction processing in no time.

Essential Overview of Nagad Online Payment for Businesses

Nagad is the state digital wallet of Bangladesh, a popular e-wallet. What an electronic wallet is is explained in the article what is an e-wallet. Nagad payment gateway allows a merchant to accept online payment from millions of users. Payment through a familiar brand increases conversion. A merchant gets access to an audience without bank cards. The Gateway works through api and ready plugin. Integration does not require complex programming. An account exists for tens of millions of citizens. Secure transactions are a key advantage. Nagad is suitable for websites, app, and e-commerce. A merchant connecting nagad payment gateway increases sales in Bangladesh.

What Is Nagad?

Nagad is a mobile financial service (MFS) and digital wallet operated in Bangladesh. Users can send money, pay bills, and make online purchases through the Nagad mobile app - without needing a traditional bank card. For businesses, accepting Nagad at checkout means reaching customers who prefer mobile wallet payments over cards.

Nagad sits alongside bKash and Rocket as one of Bangladesh's most used MFS providers. If you run an e-commerce store, gaming platform, or digital service in Bangladesh, Nagad payment gateway integration is often essential for conversion.

MFS Integration Pro

The Fastest Way to Accept Nagad

Scale your business in Bangladesh by integrating Nagad through our high-performance API. Provide your customers with their favorite payment method and enjoy automated settlement without the technical headache.
Nagad API v2.0 Real-time Callbacks 99% Success Rate

Get API Documentation → 

Why Your Website Needs a Nagad Payment Gateway

The Gateway is necessary for reaching the audience of Bangladesh. Nagad is one of the most widely used mobile wallets in Bangladesh - a large share of online shoppers pay via MFS instead of cards. Offering Nagad at checkout reduces payment friction and cart abandonment for Bangladeshi customers. The service inspires trust. Payment through it reduces refusals at checkout. Nagad is easy to integrate through api and plugin. A merchant can accept payment without special knowledge. 

The system works in real-time: transaction is confirmed instantly. Plugin adapts payment for mobile. A merchant gets a marketing channel inside the application. Nagad is a solution that covers business needs. The differences between electronic and mobile commerce are explained in the article what is the difference between e-commerce and mobile commerce.

Key Benefits for the Customer Experience

Seamless payment through the mobile application is the main advantage for the customer. There is no need to enter card data. It is enough to choose nagad at checkout, and the system will switch to the app. Confirmation of transaction through PIN takes seconds. Nagad supports QR code.

nagad payment gateway

The customer receives a notification. The merchant sees a reduction in abandoned carts. The Gateway provides secure data transmission through HTTPS. Questions of protection of online payments are covered in the guide what is online payment security. Nagad allows accepting payment even with weak internet.

Deep Dive into Nagad Integration

To work seamlessly with Nagad, you need to be technically prepared – from obtaining your API keys and configuring the callback URL to handling signatures and transaction statuses. A solid understanding of how the payment flow works will help you avoid common pitfalls. The following step-by-step instructions are designed to guide developers through the entire integration process, making it as straightforward as possible while ensuring secure and reliable payment processing.

Setting Up Your Nagad Developer Account and URL

A merchant registers on the nagad portal and receives an account. merchant id, public key, and merchant private key are issued. It is necessary to specify callback url for notifications. The developer must inform nagad of the IP address of the server for inclusion in the whitelist. It is also necessary to inform callback url so that nagad knows where to send notifications. Public key and private key are used for signing. A deeper understanding of how payment gateways work is given by this article.

Implementing the Nagad Plugin and Custom Code

For a quick start, use a ready plugin for WooCommerce. It adds nagad as a payment method, configures callback url. A merchant enters merchant id, public key, private key in the admin panel. Plugin supports sandbox for testing. For a custom platform, its own code is written. Integration takes 2–3 days. Nagad gateway integration is simplified with the official SDK.

How Paykassma Nagad Payment Gateway Integration Works

Payment flow (docs):

  1. Your platform calls Create payment - POST /api/v1/transaction/create/nagad with currency: BDT and user label
  2. Customer receives Nagad wallet details and pays in the Nagad app
  3. Customer enters the 10-character transaction ID in the payment window
  4. Your platform sends Activation request — POST /api/v1/transaction/activate with wallet_type: nagad, key1 (transaction ID), amount
  5. Paykassma sends a signed postback to your server
  6. Funds are credited to the user's balance on your platform

    Integration options:

  • Payment plugin (iFrame) - wallet_type=nagad, currency_code=BDT, languages en / bn
  • REST API — full control over create/activate flow
  • Postback — configure callback URLs via Paykassma support (POSTBACK docs)

Account types supported: personal (Send money), agent (Cash out), merchant (Make Payment) - per docs.

Testing in Sandbox and Mobile Deployment

You can test the payment gateway in sandbox mode first, then you go live. Early testing translates into future errors that are avoided and is responsible for the high security of transaction processing. It simulates real world situations - payments that go through successfully, insufficient funds and transaction declines too - that you can use to debug your code without spending real money. 

Production & Optimization

As soon as you are sure that everything functions properly, you can move to production. Then we cover how to optimise the mobile checkout flow for speed and seamless payment on smartphones.

How to Use the Nagad Sandbox for Secure Testing

Sandbox is the test environment of nagad. A merchant gets access after registration. In sandbox, test merchant id and public key are available. The customer uses a demo account. Testing includes all scenarios: successful payment, cancellation. 

nagad payment gateway

Nagad allows simulating notifications. A merchant checks signatures and callback. After successful testing, it is possible to move to production.

Nagad Payment Gateway API - Key Endpoints

StepEndpointMethodPurpose
Create deposit
/api/v1/transaction/create/nagad
POST
Get Nagad wallet details for payment
Activate
/api/v1/transaction/activate
POST
Confirm payment with transaction ID
Deposit postback
Your callback URL
POST
Receive signed status (respond {"status":"ok"})
Withdrawal
/v2/withdrawal/create
POST
Payout to Nagad account (payment_system: nagad)

Parameters, request/response examples — Nagad en docs.

Optimizing the Checkout Flow for Mobile Users

Most customer come from mobile. Plugin adapts checkout for the mobile browser. A merchant configures redirect to the app — payment in one click. Nagad supports dynamic QR codes. A merchant places QR on the order page. After payment, the customer returns to the website. Nagad allows configuring callback url for redirect.

Unlock new markets with powerful local payment methods — explore our expert solutions

Online Payment Company #1

Online payment solutions for all types of businesses since 2019

Frequently asked questions

Is Nagad Online Payment Secure for My Business?

Yes, Nagad uses multiple layers of security, including end-to-end encryption, two-factor authentication, and secure API signatures. All transactions are processed over HTTPS, and the platform complies with local financial regulations in Bangladesh. This ensures that both customer payment details and merchant data remain protected from unauthorized access.

How Long Does the API Integration Take?

For an experienced developer, the integration typically takes 2 to 3 days when working with the official Nagad API and SDK. Using a ready‑made plugin for popular content management systems like WooCommerce can reduce the setup time to just a few hours. Most of the time is spent on configuring callbacks, testing in sandbox mode, and verifying transaction flows.

What Are the Transaction Fees for Nagad Gateway?

Transaction Fees are determined by your merchant agreement with Nagad and your monthly processing volume. Fees are usually between 1.5% and 2.5% per completed transaction without any upfront or monthly upkeep costs. Enterprises with high volumes can negotiate lower rates either directly with Nagad and/or via your payment aggregator.

Can I Integrate Nagad Without Advanced Coding Knowledge?

Yes, you can use a pre‑built Nagad payment plugin for platforms like WooCommerce, Magento, or OpenCart. These plugins require only basic admin panel configuration – you enter your merchant ID, public and private keys, and the plugin handles the rest. If you need a custom integration but lack coding experience, hiring a freelance developer for a few days is usually sufficient.