Hosted & Direct Gateway Flows
Launch a mobile-first hosted checkout in one API call, supporting bKash, Nagad, and configured official provider sessions (`bKash Tokenized`, `Nagad DFS`, `SSLCommerz`).
Collect BDT payments reliably through hosted bKash, Nagad, and official gateway rails — backed by a 5-check server-side verification engine, signed webhooks, and an isolated developer sandbox.
Download the Android companion appTruepaybd unifies hosted BDT checkout, official provider gateways, and verifiable Personal Send Money workflows under a single merchant console and API.
Launch a mobile-first hosted checkout in one API call, supporting bKash, Nagad, and configured official provider sessions (`bKash Tokenized`, `Nagad DFS`, `SSLCommerz`).
Redirect URLs and SMS alerts never auto-approve orders. Every transaction is validated server-side against exact amounts, duplicate TrxID locks, and provider verification APIs.
Inspect live analytics, manage live & sandbox API keys, test webhooks, review flagged transactions, and reconcile refunds from a unified workspace.
Every feature listed below is implemented directly in the Truepaybd backend, database, and merchant console.
Self-service merchant onboarding with email verification OTP, SMTP password reset, profile controls, and TOTP 2FA.
Generate separate `live` and `sandbox` API credentials with masked prefixes, instant toggle, rotation, and revocation.
Track 14-day transaction volume, success rates, payment method breakdowns, and filterable order history from PostgreSQL.
Idempotent webhook delivery with HMAC-SHA256 signatures, dual-secret rotation grace, retries, and live test dispatch.
Test success, failed, cancelled, and pending payment flows in isolation without touching production balances.
Enforces expiry, unique TrxID, exact BDT amount, Android SMS evidence matching, and independent provider checks.
Optional Kotlin Android companion syncs scoped payment notification evidence with encrypted offline queuing and remote revocation.
Full refund request workflow with settlement reference tracking and append-only audit logs for every state transition.
A clear, deterministic lifecycle keeps merchants, developers, and customers aligned on every transaction.
Register your merchant profile, verify your email via OTP, and enable optional TOTP 2FA.
Issue sandbox or live API keys and configure your bKash, Nagad, or official provider credentials.
Call `POST /api/v1/payment/create` from your server with order details and an idempotency key.
Redirect to the hosted checkout, where the customer sends the exact BDT amount and submits the TrxID.
Truepaybd validates TrxID uniqueness, exact BDT amount, and provider or manual review confirmation.
Receive a verified `payment.verified` webhook and reconcile orders in your console.
Built from the ground up on PostgreSQL row-level locking, Argon2id hashing, and strict server-side verification controls.
Truepaybd never marks a payment verified from client redirects or unverified SMS notifications alone — protecting merchants from spoofed callbacks and duplicate claims.
PostgreSQL `SELECT ... FOR UPDATE` locks prevent race conditions and duplicate TrxID reuse.
Fernet AES encryption protects provider credentials, TOTP secrets, and webhook signing keys.
Redis sliding-window rate limits and 5-minute timestamp tolerance guard APIs and webhooks.
Every login, key rotation, manual review decision, and refund state change is logged with actor & IP.
Pay through our bKash & Nagad gateway — apply a coupon code before checkout for free days or a % discount.
Quick start — full access for one week
The best balance for growing businesses
Best value — a full year of permanent access
Create hosted payment sessions in a single POST request, verify callbacks with HMAC-SHA256, and test every edge case in Sandbox before going live.
Clear answers about integration, sandbox testing, security, and verification.
Truepaybd is a hosted payment checkout and backend payment verification platform for BDT (`৳`) transactions. It supports bKash & Nagad Personal Send Money workflows as well as official server-to-server provider integrations for bKash Tokenized Checkout, Nagad DFS, and SSLCommerz v4.
Sandbox API keys (`rp_test_...`) and provider sandbox configurations are strictly isolated from live credentials (`rp_live_...`). Every sandbox payment is flagged (`is_sandbox: true`) in the database, UI, checkout page, and webhook payloads so test transactions can never be mistaken for real money.
No. Client redirects are never trusted. Official gateway callbacks trigger server-to-server validation (`execute`/`query`, `verify/payment`, or `validationserverAPI.php` + IPN hash checks), and Personal Send Money requires an authorized verification reference before reaching `VERIFIED`.
Every webhook includes `X-Truepaybd-Signature` (`t=timestamp,v1=hmac`), `X-Truepaybd-Timestamp`, and `X-Truepaybd-Idempotency-Key`. Compute `HMAC-SHA256(secret, f"{t}.{raw_body}")` and compare with constant-time equality. See `/developers` for Python, Node.js, and PHP examples.
Use the Forgot Password option on `/login` (`/forgot-password`) to receive a 6-digit SMTP OTP code to your registered email address and reset your password securely.
Have questions about onboarding, sandbox credentials, or official gateway integration? Send us a message directly or use our documentation channels.
support@truepaybd.local
Developer Guide (/developers) · Swagger (/docs) · ReDoc (/redoc)
Messages are logged directly to the Truepaybd support queue.
Free account → API key → live hosted checkout. Test the full flow in sandbox first, then go live. bKash · Nagad · automatic verification.