Bangladesh services bKash PGW, step by step

How to get the bKash payment gateway and connect it to your website in 6 steps.

To add the bKash payment gateway to a website, you open a bKash merchant account for online business, receive API credentials, build the Create Payment and Execute Payment calls on your server, test them in the sandbox and go live. The gateway accepts bKash wallet payments only, and bKash sets the charge in your merchant agreement instead of publishing it. This page covers the account types, the API products, the 6 steps and the rules bKash documents, such as refunds within 60 days.

Updated 11 November 2026

What it is

What bKash PGW does and does not do.

bKash calls the product PGW. These 4 points come from its developer documentation.

It takes bKash wallet payments

bKash states that the gateway supports payments made directly from customers' bKash mobile wallets. Cards, Nagad and bank payments need another gateway beside it.

The buyer pays on a bKash page

Your site redirects the customer to a hosted bKash page, where they enter the wallet number, the OTP and the PIN. bKash tells merchants never to collect or process those 3 values themselves.

Your server confirms the payment

A callback to your site is not the final confirmation. bKash says to mark an order paid only after a successful Execute Payment response or a Completed status from Query Payment.

It works on websites and apps

The same APIs serve a website or a mobile application, and each response carries a payment ID and transaction ID to store against your order.

Products

6 products inside the gateway, and when to use each.

Tell bKash which product you need when you apply.

Tokenized Without Agreement

A payment made once, with no saved wallet. The customer enters wallet number, OTP and PIN each time. This fits most online shops.

Tokenized With Agreement

The customer links the wallet once. Later payments need only the bKash PIN. This fits apps and shops with repeat buyers.

Auth and Capture

The amount is blocked first and deducted when you confirm the service, or released if the order does not go through. This fits tickets and bookings.

Direct Charge

After the customer consents, payments are deducted automatically with no repeated authorisation. bKash describes it as suited to recurring or subscription services.

Refund

A full or partial refund sent back to the customer's wallet through the API, without opening the merchant portal.

Payout and webhook

Disbursement sends funds to beneficiaries in real time. The IPN or webhook notifies your server of every transaction.

Sources, read on 11 November 2026: bKash Developer portal, bKash PGW FAQ, Tokenized Without Agreement, Grant Token, Refund Transaction, bKash for business, bKash Personal Retail Account, WordPress.org plugin page.

Accounts

Which bKash account can use the gateway?

bKash describes the gateway as a product for online merchants.

A merchant account for online business

bKash's business page lists payment gateway, tokenized checkout, subscription payments, instant refunds and APIs under Online Business, with a sign-up button. Ask bKash for the document list for your business type.

The 7 merchant categories

bKash's documentation names Merchant Plus, Merchant Lite A, Merchant Lite B, Medium, Small, Micro and PRA as online merchant categories. Your category is assigned by bKash.

Personal Retail Account

A PRA is opened with a national ID card and an unused mobile number. bKash states that a PRA can be paid through the gateway, within limits of 30,000 taka a day and 500,000 taka a month.

A personal bKash number

With a personal number you can take manual transfers and check each transaction ID by hand. IELTS Test BD, a platform we built, approves mobile payments that way.

The 6 steps

bKash payment gateway setup, from application to live payments.

Steps 1 to 3 are paperwork. Steps 4 to 6 are development.

  1. 01

    Choose account and product

    Decide between a merchant account and a PRA, and between payments with or without a saved agreement.

  2. 02

    Apply to bKash

    Sign up under Online Business on bKash's business page and send the documents bKash asks for.

  3. 03

    Receive your credentials

    bKash provides a merchant username and password, an application key and an application secret. Keep them on the server only.

  4. 04

    Build the payment calls

    Grant Token, then Create Payment, redirect to the returned bKash URL, receive the callback and call Execute Payment.

  5. 05

    Handle timeouts and refunds

    Call Query Payment when Execute Payment does not answer. Add the Refund API and the webhook.

  6. 06

    Test, then go live

    Run every outcome in the sandbox, switch to the production credentials, make 1 small real payment and refund it.

API details

The API rules that most integrations get wrong.

Each rule below is stated in bKash's documentation.

Request the token sparingly

The Grant Token API is limited to 2 calls an hour, and going over the limit blocks the app for 1 hour. Store the token and rotate it with Refresh Token before it expires.

Use the URL bKash returns

Always redirect the customer with the bKash URL from the Create Payment response. bKash says not to build, modify or hardcode that URL.

Treat a timeout as unknown

bKash API calls use a default timeout of 30 seconds. A missing response does not confirm failure, so check the real status through Query Payment.

Retry in the right place

If Query Payment returns Initiated, start again at Create Payment. If it returns Completed, confirm success to the customer and do not retry.

Block duplicate orders

Keep a link between your order reference and the bKash payment ID, so a request retried after a timeout cannot create a second order.

Money

bKash payment gateway charge, refunds and limits.

bKash publishes its rules. It does not publish its merchant rate.

The charge is in your agreement

No rate appears on bKash's business page or in its developer documentation. Ask for the charge on each payment and any setup cost in writing before you integrate.

Refunds within 60 days

A refund can be full or partial. Up to 10 refunds can be issued against 1 transaction, and a duplicate refund is not allowed within 10 minutes.

Refunds come from your balance

bKash states that refunded amounts are paid out from the merchant's current collection balance, so keep enough balance to cover open returns.

Passing a fee to the customer

Dynamic Charging lets a merchant collect a service or convenience fee during payment. The customer sees the fee breakdown on the payment screen before entering the OTP and PIN.

WordPress

bKash on WordPress and WooCommerce: plugin or custom code.

Check the plugin's source before you install it.

The WordPress.org listing is closed

The bKash For WooCommerce plugin page on WordPress.org says the plugin was closed on 7 December 2023 and is not available for download. Ask bKash which plugin build it currently supports.

A custom gateway class

When no maintained plugin fits, the 5 API calls are written as a WooCommerce payment gateway inside your site, with refunds available from the order screen.

Plugin status in 2026

The current plugin status and the routes for WooCommerce, Shopify, custom code and manual payments are in how to add bKash payment in a website, updated November 2026.

Settings and testing

Our older guide on how to add bKash payment in a website covers plugin settings, webhooks and a 6-case test plan.

Live examples

bKash in checkouts we built.

2 stores and 1 course platform, each taking payment a different way.

8+Years delivering
120+Projects delivered
50+Clients and teams
4.9Average rating
Questions

bKash PGW, common questions.

What is the bKash payment gateway?

It is bKash's online product for merchants. It lets a website or app accept payments directly from customers' bKash accounts, on a page hosted by bKash.

What does bKash charge merchants for the gateway?

bKash does not publish it. The charge is set in your merchant agreement, so ask bKash for the rate for your business before you start development.

Can I use the gateway with a personal bKash account?

bKash describes the gateway as a product for online merchants, and its merchant categories include the Personal Retail Account. A plain personal number can only take manual transfers.

Does the bKash gateway accept cards or Nagad?

No. It supports payments from bKash wallets only. For cards, Nagad and bank payments, add an aggregator such as SSLCommerz or aamarPay beside it.

How do I refund a bKash payment?

Through the Refund API, within 60 days of the payment. Partial refunds are allowed up to 10 times per transaction, up to the maximum refundable amount.

Is there a bKash sandbox for testing?

Yes. bKash's documentation shows the tokenized checkout APIs on a sandbox address. Ask bKash for sandbox credentials when you apply.

How long does bKash approval take?

bKash publishes no approval time. Apply early, and build against the sandbox while the merchant account is being reviewed.

How Rizer helps

We build the bKash connection and the checkout around it.

Rizer has delivered 120+ projects over 8+ years. The merchant account and keys stay in your business's name.

Integration service

bKash on WooCommerce, Shopify, a custom store or a web app, alone or beside other gateways. See bKash payment gateway integration.

bKash or an aggregator

Compare both setups in our guide to which payment gateway is best, or see every option in the ranked gateway list.

Costs

Published setup fees and rates are on the payment gateway price page.

Remote, across Bangladesh

We work through a free 15-minute call and email. Browse the Bangladesh directory or our services page.

Client review.
"Rizer did SEO on my new travel agency site and we landed our first client within days. Clear reporting, kind communication, real results."

Benni Klein, Owner, Accessible Trip Brazil

Start here

Add bKash to your checkout.

On a free 15-minute call we ask which bKash account you hold and which platform your site runs on. We then send a quote for the integration. Email works too: info@rizerweb.com.