Sie sind auf Seite 1von 11

GET-PATEL API DOCUMENT

Updated API Documentation-2016

GET-PATEL-BRO
Patel Telecom Bidada
Bhuj-Kutch
Contact : 7567566104 , 8141636468

RECHARGE API DOCUMENT


www.GetPatel.com
GET-PATEL API DOCUMENT

Table of contents

1:- Objectives……………………………………………………..

1.1 Request URL………………………………………………..


1.2 Get Balance………………………………………………….
1.3 Status Update URL Parameter……………………….
1.4 Get Status…………………………………………………….
1.5 Descriptions………………………………………………….
1.6 Result Code………………………………………………….
1.5 Error List………………………………………………………

www.GetPatel.com
GET-PATEL API DOCUMENT

1:- Objectives

The Objective of Developing this API Document is that any third party user can
easily Understand the input parameters details while integrating the API.

1.1 Recharge (Prepaid/Postpaid/DTH) Request URL

*Register your detail with us and you get username and password.

http://www.getpatel.com/getpatelapi/api?username=username&pwd=passwor
d&circlecode=circlecode&operatorcode=operatorcode&number=number&amou
nt=amount&client_id=your_web_transection_id

Eg;

http://www.getpatel.com/getpatelapi/api?username=GP999&pwd=123455&circ
lecode=12&operatorcode=V&number=1234567890&amount=10&client_id=585

1.2 Descriptions

Input parameters Description


USERNAME Provided by us
PASSWORD Provided by us
CIRCLE Listed in below table
OPERATOR Listed in below table
NUMBER The Mobile/Data card/DTH number to be
recharged
AMOUNT The Amount to be recharged
CLIENT_ID Your Website Recharge TRX id to update
Transaction later on .

www.GetPatel.com
GET-PATEL API DOCUMENT

1.2.1 Output Response:-

Our_Trx_Id#Status#Any_error# Balance = 000 # Processed Time 0.8521 (s)# Request Accepted

Eg

552422#Success## Balance = 11461.538 # Processed Time 0.9873 (s)# Request Accepted

Output parameters Description


TRANSACTION_ID Transaction ID generated from API
STATUS Recharge status
RESPONSE Server Response

www.GetPatel.com
GET-PATEL API DOCUMENT

1.2.3 Utility Billing Api Request URL

*Register your detail with us and you get username and password.

http://www.getpatel.com/getpatelapi/utility?username=username&pwd=password&operator
code=operator_code&customerid=customerid&customername=customername&number=C
ustomer_Mobile_number&amount=amount&client_id=your_web_transection_id

Example :

http://www.getpatel.com/getpatelapi/utility?username=demo&pwd=demo&operatorcode=PGV
CL&customerid=30213254681454&customername=Kalpeshpatel&number=8866792042&am
ount=2000&client_id=1235

1.2.4 Output Response:-

Our_Trx_Id#Status#Any_error# Balance = 000 # Processed Time 0.8521 (s)# Request Accepted

Eg

552422#Success## Balance = 11461.538 # Processed Time 0.9873 (s)# Request Accepted

Output parameters Description


TRANSACTION_ID Transaction ID generated from API
STATUS Recharge status
RESPONSE Server Response

www.GetPatel.com
GET-PATEL API DOCUMENT

All Utility Opcode

Name Operator code


Pgvcl PGVCL
Dgvcl DGVCL
Gspc GSPC
UGVCL UGVCL
BSNL BSNL
LIC LIC

www.GetPatel.com
GET-PATEL API DOCUMENT

1.3 Status Update Url Parameter: (if transaction is in pending we call this url to update on
your website)

Please provide the status url for the recharge request to the Get-Patel.

In Message you will get the following response:

Sample Url Format:

http://www.yourdomain.com/pagename?Get_id="<OurId>"& Client_id="<Your
Id>"&Status="<RequestStatus>"&Org_id="<Org_TransactionId>

Example :

http://www.xyz.com/responce?Get_id=123456&Client_id=56574&Status=Succ
ess&Org_id=GJ12354845

Input parameters Description


Provided by us when recharge request
OurId is accepted
It was given by you when Trx
Your Id forwarded
RequestStatus success,failure, pending
Org_TransactionId Original Trx provided by Operator

www.GetPatel.com
GET-PATEL API DOCUMENT

1.4 Get balance

Request the above URL to know your balance at API.

Request URL

http://www.getpatel.com/getpatelapi/balance?username=username&pwd=pas sword

Input parameters Description


USERNAME Will be provided by us
PASSWORD Will be provided by us

Response

524

Your Current Balance Will Display

1.5 Get Transaction Status

Request the above URL to know your recharge status at API.

Request URL

http://www.getpatel.com/getpatelapi/status?username=username&pwd=pass
word&rechargeid=txid
Input parameters Description
USERNAME Will be provided by us
PASSWORD Will be provided by us
RECHARGEID Transaction id you received from API

Response

Eg; Success

Success: - For successful recharge


Failure: - Recharge failed
Pending: - Status still pending, check later for actual status

www.GetPatel.com
GET-PATEL API DOCUMENT
Operator Code for Mobile and DTH

Operator Code
Aircel AIR
Airtel A
Airtel Digital DTH TV ATV
BIG TV BTV
BSNL - 3G B3
BSNL - STV BS
BSNL - TOPUP BT
BSNL Recharge BR
DISH TV DTV
DOCOME-SPECIAL DS
DOCOMO D
IDEA I
LOOP MOBILE LM
MTNL - Recharge MTR
MTNL TOPUP MTT
MTS M
RECHARGE VIDEOCON VD
RECHARGE VIDEOCON - VS
SPL
RELIANCE - CDMA RC
RELIANCE - GSM RG
TATA INDICOM T
TATASKY DTH TV TTV
UNINOR U
UNINOR - SPL US
VIDEOCON RECHARGE VD
VIDEOCON SPECIAL VS
VIDEOCON DTH TV VTV
VIRGIN - CDMA VC
VIRGIN - GSM VG
Vodafone V
SUN DIRECT STV

www.GetPatel.com
GET-PATEL API DOCUMENT

Circle code for each state

Circle Code
Andhra Pradesh 13
Assam 24
Bihar & Jharkhand 17 & 22
Chennai 7
Delhi 5
Gujarat 12
Haryana 20
Himachal Pradesh 21
Jammu & Kashmir 25
Karnataka 9
Kerala 14
Kolkata 6
Maharashtra & Goa (except 4
Mumbai)
Madhya Pradesh & 16 & 27
Chhattisgarh
Mumbai 3
North East 26
Orissa 23
Punjab 1
Rajasthan 18
Tamil Nadu 8
Uttar Pradesh – East 10
Uttar Pradesh – West 11
West Bengal 2

www.GetPatel.com
GET-PATEL API DOCUMENT
1.6 Error List

1. INFO::You are not authorize to execute api.

2. ERROR::Paramenter is missing

3. ERROR::Authentication fail!

4. ERROR::You are not authorize to execute api.

5. ERROR::Request already in pending process

6. ERROR::Operator code is not valid

7. ERROR::Mobile number not valid

8. INFO::Make 20 minuts gap beetween every request

9. ERROR::Configuration is missiing! Contact service


provider

For Any Query or Problem Please feel Free to cantact us @


7567566104 / 8141636468

www.GetPatel.com

Das könnte Ihnen auch gefallen