Easy integration for developers
| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | string | Yes | Your API Key |
| api_secret | string | Yes | Your API Secret |
| amount | number | Yes | Payment amount |
| pay_type | string | No | nagad / bkash / rocket |
{
"api_key": "YOUR_API_KEY",
"api_secret": "YOUR_SECRET",
"amount": 100,
"pay_type": "nagad"
}
| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | string | Yes | Your API Key |
| api_secret | string | Yes | Your API Secret |
| order_no | string | Yes | Order Number |
{
"api_key": "YOUR_API_KEY",
"api_secret": "YOUR_SECRET",
"order_no": "ORD123456789"
}
{
"status": true,
"order_no": "ORD123456789",
"payment_status": "success",
"amount": "100.00",
"created_at": "2026-04-17 12:30:00"
}
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"
}'