Payment Gateway API Docs

Easy integration for developers

๐Ÿ’ณ 1. Create Payin Order

POST https://yourdomain.com/pay.php

๐Ÿ“ฅ Request Body

Parameter Type Required Description
api_keystringYesYour API Key
api_secretstringYesYour API Secret
amountnumberYesPayment amount
pay_typestringNonagad / bkash / rocket

๐Ÿงช Example

{
  "api_key": "YOUR_API_KEY",
  "api_secret": "YOUR_SECRET",
  "amount": 100,
  "pay_type": "nagad"
}

๐Ÿ“Š 2. Check Payin Order Status

POST https://yourdomain.com/status_check.php

๐Ÿ“ฅ Request Parameters

Parameter Type Required Description
api_keystringYesYour API Key
api_secretstringYesYour API Secret
order_nostringYesOrder Number

๐Ÿงช Example Request

{
  "api_key": "YOUR_API_KEY",
  "api_secret": "YOUR_SECRET",
  "order_no": "ORD123456789"
}

๐Ÿ“ค Example Response

{
  "status": true,
  "order_no": "ORD123456789",
  "payment_status": "success",
  "amount": "100.00",
  "created_at": "2026-04-17 12:30:00"
}

โšก cURL Example (Pay API)

curl -X POST https://yourdomain.com/pay.php \
-H "Content-Type: application/json" \
-d '{
  "api_key": "YOUR_API_KEY",
  "api_secret": "YOUR_SECRET",
  "amount": 100,
  "pay_type": "nagad"
}'
ยฉ 2026 Payment Gateway API