How API works ?

The API works on HTTP-GET METHOD, and the URL to be used is
https://pay2new.in/Api/recharge
Whenever you submit or enquire any request through our API's the system immediately gives you the response in any one of the following format:

  • JSON
Availabe API's
  • API for Mobile,DTH & Data Card Recharge
  • API for Paying Post Paid Bills
  • API for Paying Electricity, Gas & Insurance Bills
  • API for Checking Account Balance
  • API for Checking Recharge Status
Variables to be used
id Pay2New User ID
password User API Account Password
key Go to API Account and Register Server IP Address and Get Key
token Go to API Account and Register Server IP Address and Get token
txnid Your Transaction ID
mobile Mobile/DTH/Electricity Number
operator Operator Code (Provided API Document)
circle Circle Code (Provided API Document)
amount Recharge Amount
othervalue Required MSEDCL Electricity (BU), Insurance (DOB)
format Default format is JSON
Operator Code

Sr No.Operator NameOperator CodeService Type
1 AirtelATPrepaid-Mobile
2 BSNL 3GBSGPrepaid-Mobile
3 BSNL RechargeBSVPrepaid-Mobile
4 BSNL Special (STV)BSSPrepaid-Mobile
5 BSNL TopUpBSNLPrepaid-Mobile
6 IdeaIDPrepaid-Mobile
7 Jio RelianceJIOPrepaid-Mobile
8 Tata DocomoTDPrepaid-Mobile
9 Tata Docomo SpecialTDSPrepaid-Mobile
10 VodafoneVFPrepaid-Mobile
11 Aircel POSTPAIDACPPPostpaid-Mobile
12 Aircel PostPaidACLPPostpaid-Mobile
13 AirtelATPPostpaid-Mobile
14 BSNL MobileBSPPostpaid-Mobile
15 IdeaIDPPostpaid-Mobile
16 LOOP MobileLMPPostpaid-Mobile
17 Reliance CDMARCPPostpaid-Mobile
18 Reliance GSMRGPPostpaid-Mobile
19 Tata Docomo GSMTDPPostpaid-Mobile
20 Tata IndicomTIPPostpaid-Mobile
21 Vodafone billVFPPostpaid-Mobile
22 Any problematic recharge Manually Other
23 LIC Insurance LIC1Other
24 LONE INSURANCE UIILONEOther
25 MSEDCLOther Other
26 TesttestOther
27 test1test1Other
28 Airtel LandlineATLLandline
29 BSNL LandlineBSLLandline
30 MTNL LandlineMTLLandline
31 Reliance PPRPPLandline
32 ICICI Prudential Life IPLInsurance
33 LIC InsuranceLICInsurance
34 Tata AIA Life InsuranceTLIInsurance
35 Tata AIG General InsurancTAIInsurance
36 Adani Gas - GUJARATADGGAS
37 Adani Gas - HARYANAAHGGAS
38 GUJRAT GAS COMPANYGGCOGAS
39 Haryana City GasHCGGAS
40 Indraprastha GasIPGGAS
41 Mahanagar GASMMGGAS
42 Maharashtra Natural GasMNGGAS
43 Sabarmati GasSGGGAS
44 Siti EnergySUGGAS
45 Tripura Natural GasTNGGAS
46 Unique Central Piped GasUCGGAS
47 Vadodara GasVGGGAS
48 AAPDCL (RAPDR) - ASSAMAAEElectricity
49 Ajmer vidyut vitran nigamAVVNElectricity
50 APEPDCL- ANDHRA PRADESHAPEPDCLElectricity
51 BANGALORE ELECTRICITY SUPBESCElectricity
52 BESCOM - BENGALURUBESCOMElectricity
53 BESL - BHARATPURBPEElectricity
54 Best Electricity - MumbaiBEMUMElectricity
55 BKESL - BIKANERBKEElectricity
56 BSES Rajdhani Power Limited - DelhiBRPLElectricity
57 BSES Yamuna Power Limited - DelhiBYPElectricity
58 Calcutta Electricity SuppCESCElectricity
59 CESC - WEST BENGALCWEElectricity
60 CHHATTISGARH ELECTRICITY CEBElectricity
61 DAKSHIN GUJARAT VIJ COMPADGVCElectricity
62 Daman and Diu ElectricityDDEElectricity
63 DHBVN - Dakshin HaryanaDHEElectricity
64 DNHPDCL-DADRA &NAGAR HaveDNEElectricity
65 GESCOM - KARNATAKAGKEElectricity
66 India Power - BIHARIBEElectricity
67 India Power - WEST BENGALIPEElectricity
68 JAIPUR VIDYUT VITRAN NIGAJVVNLElectricity
69 JODHPUR VIDYUT VITRAN NIJOVVNLElectricity
70 JUSCO-Jamshedpur UtilitieJUSCLElectricity
71 Kota Electricity DistribuKREElectricity
72 MADHYA GUJARAT VIJ COMPANMGVCElectricity
73 Madhya Kshetra Vitaran-MPMPMKVVCLElectricity
74 MEPDCL - MEGHALAYAMEEElectricity
75 MSEDCL MAHARASHTRAMSEDCLElectricity
76 NESCO - ODISHANOEElectricity
77 Noida Power Company Li.NPCLElectricity
78 North Bihar ElectricityNBELEElectricity
79 NORTH DELHI POWER LIMITEDNDPLElectricity
80 PASCHIM GUJARAT VIJ COMPAPGVCElectricity
81 PUNJAB STATE POWER CORPORPSPCElectricity
82 Reliance Energy LimitedRELElectricity
83 South Bihar ElectricitySBELEElectricity
84 Southern power APAPSPDCLElectricity
85 Southern Power TelanganaTSPDCLElectricity
86 TAMIL NADU ELECTICITY BOTNEBElectricity
87 Tata Power Delhi Limited - DelhiTPDLElectricity
88 TORRENT POWERTPElectricity
89 UPCL - UTTARAKHANDUKEElectricity
90 UTTAR GUJARAT VIJ COMPANYUGVCElectricity
91 UTTAR HARYANA BIJLI VITRUHBVElectricity
92 WEST BENGAL ELECTRICITY DWBEDElectricity
93 AirtelATDDTH
94 Big TVBTDDTH
95 Dish TVDTDDTH
96 SunSDDTH
97 Tata SkyTSDDTH
98 Videocon DTHVDDDTH
99 Aircel Datacard_cpADDatacard
100 Bsnl Datacard_cpBDDatacard
101 MTS MblazeMTMDatacard
102 MTS MbrowseMTWDatacard
103 Reliance NetConnect 1XRNDatacard
104 Reliance NetConnect 3GRNGDatacard
105 Reliance NetConnect+RNCDatacard
106 Tata Photon WhizTPWDatacard
107 Tata Photon+TPPDatacard
108 Vodafone DataCard_cpVFDDatacard

Circle Code

S. NoCircle NameCircle Code
1Andhra Pradesh1
2Assam2
3Bihar3
4Chennai4
5Delhi5
6Gujarat6
7Haryana7
8Himachal Pradesh8
9Jammu & Kashmir9
10Karnataka10
11Kerala11
12Kolkata12
13Maharashtra & Goa (except Mumbai)13
14Madhya Pradesh & Chhattisgarh14
15Mumbai15
16North East16
17Orissa17
18Punjab18
19Rajasthan19
20Tamil Nadu20
21Uttar Pradesh - East21
22Uttar Pradesh - West22
23West Bengal23
24Jharkhand24

SAMPLE RESPONSES

FAILURE Response:
{"status":"FAILURE","error_massage":"Low Balance"}

SUCCESS Response:
{"ApiTransID":"1236456789","Status":"SUCCESS","ErrorMessage":"Transaction Successful.","OperatorRef":"MH12345678912345","TransactionDate":"123456789"}

POSITION VARIABLE EXPLANATION
0 ApiTransID Pay2New Unique ID
1 Status Transaction status of the recharge "SUCCESS /FAILED /FAILURE /PENDING /REFUND"
2 ErrorMessage Error Code with reason against failure.
3 OperatorRef Transaction Id provided by the operator (If available else "0" or "Blank" response)
4 TransactionDate Date & Time of transaction (Timestamp Format )

RECHARGING POSTPAID MOBILE/LANDLINES

Things to remember
  • For BSNL Landline, Mobile & MTNL Delhi Landlines required "Account Number" which is available in the customer bill in order to process the bill payment. Please use "account" variable to pass Account Number
  • Paying amount should be exactly same as the bill amount for BSNL Landlines, BSNL Mobile, MTNL Delhi Landlines, if paying after the due date then please add the late payment fee as mentioned in your bill.
  • Broadband Internet bills can also be paid for BSNL,MTNL Delhi & Airtel.
  • Note (For API users) : Please use “-“ as separator between STD_CODE-LANDLINE_NUMBER while executing Landline bill payment. And don’t User 0 as prefix in STD code.
  • In case if there in no response / Delay response / 0 Value Return from api then mark that recharge as pending Then Please use Status Check URL after few mins to get the exact info.
BALANCE CHECK

https://pay2new.in/Api/balance?id=userid&password=password&key=key&token=token

SAMPLE RESPONSE

{"blns":"10000","error_massage":"Transaction Success"}


RECHARGE STATUS

https://pay2new.in/Api/status?txnid=1234567899&mobile=155360006623

SAMPLE RESPONSE

{"status":"SUCCESS","recharge_amount":"500","txn_id":"1234567899","operator_ref":"PNS0032285582491073","error_msg":"Transaction Successful"}