Rapi API Documentation

Integrate automated mobile recharge and utility payments into your platform.

Authentication

All requests accept JSON payloads over HTTPS. Include your credentials in the JSON body.

{
  "api_key": "PUB_YOUR_API_KEY",
  "api_secret": "SEC_YOUR_API_SECRET"
}

1. Check Balance

POST https://www.rapi.daweblab.com/api/v1/balance

// Request
{
  "api_key": "YOUR_KEY",
  "api_secret": "YOUR_SECRET"
}

// Response
{
  "result": true,
  "balance": 500.00,
  "driveBalance": 0
}

2. Mobile Recharge

POST https://www.rapi.daweblab.com/api/v1/recharge

Field Required Description
numberYes11-digit mobile number
typeYesprepaid | postpaid | skitto
operatorYesGP, RB, BL, AT, TT, SK, BT, RY
amountYesAmount in Taka
trxidYesYour unique transaction ID
// Success Response
{
  "result": true,
  "message": "Recharge successful",
  "trxid": "your-trx-001"
}

Operator Codes

Grameenphone: GP Robi: RB Banglalink: BL Airtel: AT Teletalk: TT Skitto: SK