BDAutoPay

Developer Portal

Integrate automated bKash, Nagad, and Rocket payments in minutes with our REST API, webhooks, and ready-made plugins.

Built for developers & every major platform

Integrate BDAutoPay in minutes, however your business runs. Install the official plugin for WordPress or WooCommerce, or connect directly using our REST API, webhooks, and ready-made plugins.

</> REST API
1 2 3 4 5 6 7 8 9 10 11 12 13
curl -X POST "https://bdautopay.com/api/v1/payments/create" \
  -H "X-API-KEY: your-api-key" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
    "amount": 2500,
    "title": "Order #1042",
    "customer_name": "Rahim Ahmed",
    "customer_email": "rahim@example.com",
    "success_url": "https://yoursite.com/payment/success",
    "cancel_url": "https://yoursite.com/payment/cancel",
    "webhook_url": "https://yoursite.com/payment/webhook"
  }'

Ready-Made Plugins & SDKs

Download pre-built plugins for popular e-commerce and billing platforms.

No modules configured yet.

Simple 3-Step Flow

Connect, accept payments, and receive real-time webhook confirmations.

01

Initiate Payment

Create a checkout session via simple REST API request and redirect your user.

02

Customer Pays

Customer pays with bKash, Nagad, or Rocket. The transaction is verified instantly.

03

Instant Webhook

Your server receives an automated callback payload to deliver the digital purchase.

Real-time payment webhook notifications

When a customer completes a payment, an instant POST notification is sent to your server callback URL with verified order details.

Instant Dispatch: Dispatched in milliseconds after confirmation.
Security: Signature verification via API Key header.
Auto-Retries: Exponential backoff retry on temporary failures.
</> Webhook Payload
1 2 3 4 5 6 7 8 9 10 11
{
  "event": "payment.completed",
  "status": "completed",
  "invoice_id": "INV_1732204918",
  "trx_id": "BL899X10QZ",
  "amount": 2500,
  "currency": "BDT",
  "gateway": "bkash",
  "sender_number": "01700000000",
  "metadata": { "order_id": "ORD_10082" }
}

Ready to Start Building with BDAutoPay?

Create your free merchant account, generate your developer API keys in seconds, and start processing live automated payments today.