NirapodPay
Developer API Reference

NirapodPay REST API

Seamless integration for PHP, Laravel, Node.js, Python, and custom applications. Built for developers who love clean architecture.

Authentication

Bearer API Key

All API requests must include your API Key in the request header. You can generate this key from your Gateway Admin Panel under Settings.

HTTP Headers
RT-UDDOKTAPAY-API-KEY: YOUR_MERCHANT_API_KEY
Content-Type: application/json

Create Payment

Generate a secure checkout session
POST /api/checkout-v2
JSON Request Body
request.json
{
  "full_name": "Customer Name",
  "email": "customer@gmail.com",
  "amount": "500",
  "metadata": {
    "order_id": "10024"
  },
  "redirect_url": "https://yourdomain.com/order/success",
  "cancel_url": "https://yourdomain.com/order/cancel",
  "webhook_url": "https://yourdomain.com/api/webhook"
}
Success Response (200 OK)
response.json
{
  "status": "success",
  "message": "Payment session created",
  "payment_url": "https://pay.nirapodpay.com/checkout/c9a4b..."
}

// Redirect your user to the payment_url
// to complete the transaction securely.

Instant Webhooks / IPN

When a customer completes payment via bKash, Nagad, or Rocket, our engine instantly dispatches a POST request to your webhook_url with the verified transaction payload.