Skip to main content

LawPay168 Payment Gateway API

LawPay168 is a payment aggregation API for Bangladesh Mobile Financial Services (bKash, Nagad, Rocket).

Merchants use our REST API to initiate deposits and payouts, and receive final transaction state via webhooks.

What you can do

  • Create a deposit — call our API to open a session. The player pays from their MFS app on our hosted page. We notify you via webhook when the payment settles.
  • Create a payout — call our API to send funds to a player's mobile number. We notify you via webhook when the disbursement completes.
  • Query an order — fetch the current status of any order at any time.
  • Check balance — fetch your merchant account balance.

What you need

  • merchantId, apiSecret (provided by the platform team)
  • An HTTPS endpoint to receive webhooks (required, for deposit-completion notifications)
  • Server-side code that computes an MD5 sorted signature (sample code in Examples)

Supported channels

ChannelName
bkashbKash
nagadNagad
rocketRocket

Next

  1. Getting started — the whole flow
  2. Authentication — MD5 sorted signing
  3. API overview — all endpoints
  4. Examples — drop-in code