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
| Channel | Name |
|---|---|
bkash | bKash |
nagad | Nagad |
rocket | Rocket |
Next
- Getting started — the whole flow
- Authentication — MD5 sorted signing
- API overview — all endpoints
- Examples — drop-in code