General API Methods

API Service Status

Purpose

Returns the current status of our service. Sometimes during planned maintenance, this status will return false and you should avoid making calls to other API methods.

Live URL :
https://allbills.in/api/service-status

HTTP VERB
GET

PARAMETERS
NULL

Response
JSON :
{
"isError":"false",
"API":"API is Running",
"TimeStamp":"Monday, 26-Sep-16 00:00:00 IST"
}


Field Explanation

Name From TypeDescription
Response. isErrorResponseBooleanReturns false/true according to error status into the response.
Response. APIResponseStringThe Message given into the response.
Response. TimeStampResponseDateThe Date and time when user gets the response.

Validate API Credentials

Purpose

Validate Credentials returns whether your current PartnerCode and AuthToken is valid or not. If it’s invalid, most of the calls to the API are going to fail.

Live URL :
https://allbills.in/api/validate-user

HTTP VERB
POST

PARAMETERS
Content-type: application/json; charset=utf-8;
{
"id":"String Content",
"token":"String Content"
}


Response
JSON :
{
"Message":"String Content",
"isError":"true",
"TimeStamp":"String Content",
"Partnerid":"String Content"
}


Field Explanation

Name From TypeDescription
Request. idRequestStringThis is an alpha-numeric token code provided to you by https://allbills.in/. It is required in all requests.
Request. tokenRequestStringThis is an alpha-numeric token code provided to you by https://allbills.in/. It is required in all requests.
Response. isErrorResponseBooleanReturns false/true according to error status into the response.
Response. MessageResponseStringThe Message given into the response.is the Credentials valid or not.
Response. TimeStampResponseDateThe Date and time when user gets the response.
Response. PartneridResponseStringThe value of the id which provide by you in Order request.

Recent 50 Orders

Purpose

It will return Your latest 50 transactions Including wallet cash loaded,latest success and failure recharges with date and time.

Live URL :
https://allbills.in/api/recent-orders

HTTP VERB
POST

PARAMETERS
Content-type: application/json; charset=utf-8;
{
"id":"String Content",
"token":"String Content"
}


Response:
You will get array of objects




Field Explanation

Name From TypeDescription
Request. idRequestStringThis is an alpha-numeric token code provided to you by https://allbills.in/. It is required in all requests.
Request. tokenRequestStringThis is an alpha-numeric token code provided to you by https://allbills.in/. It is required in all requests.
Response. arrayResponsearrayThis will return array which is contains your latest transactions

Check Current Wallet Balance

Purpose

It will check current wallet balance.

Live URL :
https://allbills.in/api/wallet-balance

HTTP VERB
POST

PARAMETERS
Content-type: application/json; charset=utf-8;
{
"id":"String Content",
"token":"String Content"
}
Response
JSON :
{
"Message":"String Content",
"isError":"true",
"wallet":"String Content",
"TimeStamp":"String Content",
"Partnerid":"String Content"
}


Field Explanation

Name From TypeDescription
Request. idRequestStringThis is an alpha-numeric token code provided to you by https://allbills.in/. It is required in all requests.
Request. tokenRequestStringThis is an alpha-numeric token code provided to you by https://allbills.in/. It is required in all requests.
Response. walletResponseStringThis will return current Wallet Balance
Response. isErrorResponseBooleanReturns false/true according to error status into the response.
Response. MessageResponseStringThe Message given into the response.is the Credentials valid or not.
Response. TimeStampResponseDateThe Date and time when user gets the response.
Response. PartneridResponseStringThe value of the id which provide by you in Order request.

Order Status

Purpose

Know the Latest status of your Order

Live URL :
https://allbills.in/api/recharge-status

HTTP VERB
POST

PARAMETERS
Content-type: application/json; charset=utf-8;
{
"id":"String Content",
"token":"String Content",
"PaymentId":"String Content"
}


Response
JSON :
{
"Message":"",
"isError":"false",
"TimeStamp":"String Content",
"Partnerid":"String Content",
"PaymentId":"String Content",
"OperatorReference":"String Content",
"Status":"String Content"
}


Field Explanation

Name From TypeDescription
Request. idRequestStringThis is an alpha-numeric token code provided to you by https://allbills.in/. It is required in all requests.
Request. tokenRequestStringThis is an alpha-numeric token code provided to you by https://allbills.in/. It is required in all requests.
Request. mobileRequestStringEnter the Mobile number which you want to know operator details (Ex. 7373339225)
Response. isErrorResponseBooleanReturns false/true according to error status into the response.
Response. MessageResponseStringThe Message given into the response.is the Credentials valid or not.
Response. TimeStampResponseDateThe Date and time when user gets the response.
Response. PartneridResponseStringThe value of the id which provide by you in Order request.
Response. OperatorReferenceResponseStringOperator Reference number (Alpha numeric value)
Response. PaymentIdResponseStringPayment id based on request
Response. StatusResponseStringStatus of your order Success / Pending / Initiated / Failure
SSL Certificates:

Enable https:// padlock & highlight your organization name in address bar for your website.


Sales & Support Contact us :-
service@allbills.in

Recharge Plan API

Mobile Operator Recharge Plan Checking API Now Available for Sale Rs.3000/-