| REQUEST QUERY PARAM | Type | Required | Description | |
|---|---|---|---|---|
| mobile_no | Number | Y | Customer mobile number | |
| operator_code | Number | Y | operator code for mobile | |
| amount | Number | Y | Recharge Amount | |
| partner_request_id | Alphanumeric | Y | Unique transaction ID provided by the API user. | |
| circle | Number | Y | Circle code of the mobile no. | |
| recharge_type | Number | Y | 1 By default | |
| dest | String | Optional | Destination value can be online or offline | |
| user_var1 | Alphanumeric | Y | Optional, any future reference for API users, will be sent back in response if provided. | |
| user_var2 | Alphanumeric | Y | Optional, any future reference for API users, will be sent back in response if provided. | |
| user_var3 | Alphanumeric | Y | Optional, any future reference for API users, will be sent back in response if provided. |
| Response Parameters | TYPE | Description | |
|---|---|---|---|
| error | Number |
error 0 - API request to server in processed error other then zero - API request not process to server, in this case you have to process again |
|
| msg | Alphanumeric | Error message from API provider | |
| status | Number |
status
Status Code: '1' for SUCCESS '2' for PENDING '3' for FAILURE |
|
| orderid | Alphanumeric | orderid | |
| optransid | Alphanumeric | Operator Transaction id | |
| partnerreqid | Alphanumeric/Numeric | Unique transaction ID from user | |
| commission | Float | Partner commission | |
| user_var1 | user_var1 provided by API User | ||
| user_var2 | user_var2 provided by API User | ||
| user_var3 | user_var3 provided by API User |
{
"mobile_no":9679833706,
"operator_code":1,
"amount":10,
"partner_request_id":1,
"circle":23,
"recharge_type":"1",
"user_var1":"",
"user_var2":"",
"user_var3":""
}
{
"mobile_no":9679833706,
"operator_code":1,
"amount":10,
"partner_request_id":1,
"circle":23,
"recharge_type":"1",
"dest":"online",
"user_var1":"",
"user_var2":"",
"user_var3":""
}
{
"error":0,
"msg":order in queue,
"status":2,
"orderid":"da9842e1-f561-4728-827b-ac4dd2934d68",
"optransid":"",
"partnerreqid":"5165483",
"commission":0,
"user_var1":"",
"user_var2":"",
"user_var3":""
}
{
"error":1,
"msg":"Duplicate order, Order ID must be unique",
}