One payment API for every app we ship.
Sell packs and subscriptions through bKash with a single integration. The gateway runs the checkout, renews subscriptions, and tells your backend what changed with signed events.
POST /api/v1/checkouts X-App-Key: app_live_•••••••• Content-Type: application/json { "app_name": "myshop", "provider": "bkash", "bundle_id": "monthly_99", "app_user_id": "u_48213", "redirect_url": "https://app.example/paid" } → 201 Created { "checkout_id": "chk_9f2c…", "next_action": { "type": "redirect", … } }
How it works
Three calls between your backend and ours. The customer only sees the provider's page.
-
Start a checkout
Your backend sends the bundle and the customer's
app_user_id,emailorphonetoPOST /checkouts. -
The customer pays
Send them to the provider page, or collect an OTP, as the checkout's next action says.
-
Grant access
A signed event reaches your webhook when it completes. Ask
/subscriptions/checkany time for the customer's entitlement.
What the gateway takes care of
So each app doesn't have to build payments again.
Subscriptions and renewals
Recurring charges, grace when a renewal fails, and a paid-through date that never moves backward.
Signed, retried events
Every change is signed with your app's secret and retried until your webhook confirms it.
Your bundles, kept in sync
Push bundle changes to us, or let an admin pull them from your side. Older versions never overwrite newer ones.
Safe retries
Send an Idempotency-Key and a repeated request returns the first answer instead of charging twice.
Partner access
There is nothing to sign in to here. This address serves the API.
Getting started
The Nagorik team registers your app and gives you an app key and a webhook secret, each shown once, along with the partner API guide. Keep both on your backend; never put them in a mobile or web client.
https://unified.payments.nagorik.tech/api/v1