DurontoPayBD

Ready to accept payments with DurontoPayBD?

Integrate bKash, Nagad, Rocket, Upay, Bank Transfer, EMVCo Bangla QR, HMAC-SHA256 Webhooks, and Two-Way Android Device Sync using our verified REST APIs.

Payment Gateway API

Create hosted checkout links via POST /api/payment/create and verify transactions server-side via POST /api/payment/verify.

Read Checkout API →
Bangla QR (EMVCo)

Generate dynamic/static EMVCo MPM QR payloads with ISO CRC-16/CCITT validation and BB PSD-205/2026 dispute filing.

Explore Bangla QR →
HMAC-SHA256 Webhooks

Verify X-DurontoPayBD-Signature headers with constant-time hash_equals() and idempotency keys.

Configure Webhooks →
Android Device Sync API

Two-way hashed pairing (/api/v1/device/pair), live heartbeats (/api/v1/device/heartbeat), and normalized payment events.

Device API Spec →

Quickstart — Create Payment Link (PHP cURL)

Endpoint: POST https://pay.durontopaybd.cyou/api/payment/create • Auth Header: API-KEY

<?php$payload = json_encode([ 'cus_name' => 'Customer Name', 'cus_email' => '[email protected]', 'amount' => 100.00, 'success_url' => 'https://yourstore.com/payment/success', 'cancel_url' => 'https://yourstore.com/payment/cancel', 'webhook_url' => 'https://yourstore.com/payment/webhook',]);$ch = curl_init('https://pay.durontopaybd.cyou/api/payment/create');curl_setopt_array($ch, [ CURLOPT_RETURNTRANSFER => true, CURLOPT_POST => true, CURLOPT_POSTFIELDS => $payload, CURLOPT_HTTPHEADER => [ 'Content-Type: application/json', 'API-KEY: YOUR_BRAND_API_KEY', ], CURLOPT_TIMEOUT => 20, CURLOPT_SSL_VERIFYPEER => true,]);$res = json_decode(curl_exec($ch), true);curl_close($ch);// Redirect customer to $res['payment_url'] when $res['status'] === 1