This command can be used to Landline Bill Payment.
Function Name: MakePostpaidRecharge()
Method: POST
Resource URL: http://appone.exioms.com/api/v3_1/rechargeV3.php/MakePostpaidRecharge
Method: GET
Resource URL: http://appone.exioms.com/api/v4/rechargeV3.php/MakePostpaidRecharge
Parameteres
Parameters | Value | Description |
strUsername | String | Unique User name |
strAuthKey | String | Your Auth Key |
intOperatorType | Integer | Operator Type like Mobile, DTH, Postpaid etc click here to check Operator type |
intOperatorID | Integer | Operator ID like Airtel, Vodafone click here to check Operator name and id |
intCircleID | Integer | Circle ID like Delhi,UP,MP click here to check circle name and id |
strMobile | String | 10 Digit Mobile Number like 9998774555 |
dblAmount | Double | Amount like 100.00 or 125.00 |
strAccNo (Optional) | String | Account Number [Required only for bsnl postpaid, bsnl Landline and MTNL landline ] |
strIPAddress | String | Your IP Address like 192.168.3.22 |
strMyTxID | String | Unique ID from your side |
format | Integer | To Get Response In Different Format, example. For JSON (Default) = 1 , CSV = 2, XML = 3 |
You can't test POST based API directly in browser so you have to use following URL for testing API: https://www.hurl.it/
You can test GET based API directly in browser so you have to use following URL for testing API: https://www.hurl.it/
URL for tesing API directly in browser:
http://appone.exioms.com/api/v4/rechargeV3.php/MakePostpaidRecharge?strUsername=11111111111
&strAuthKey=klTyrdf45Gfhh&intOperatorType=1&intOperatorID=1&intCircleID=1&strMobile=1111111111
&dblAmount=1&strAccNo=11111111111&strIPAddress=192.162.36.14&strMyTxID=1&format=1
Sample Response
{
"PostpaidRechargeDetails": [
{
"message": "OOPs! You do not have sufficient balance.",
"recharge_status": "Failed",
"trans_id": "NA",
"opr_trans_id": "NA"
}
],
"success": 1
}
OOPs! You do not have sufficient balance.,Failed,NA,NA
(message,status,transaction_id,transanction id)
<PostpaidRechargeDetails>
<PostpaidRecharge>
<message>OOPs! You do not have sufficient balance.</message>
<recharge_status>Failed</recharge_status>
<trans_id>NA</trans_id>
<opr_trans_id>NA</opr_trans_id>
</PostpaidRecharge>
</PostpaidRechargeDetails>