SlideShare a Scribd company logo
1 of 8
Download to read offline
M o b i l e R e c h a r g e A P I b y S a u r a b h S h a r m a | 1
http://www.rechargekarlo.com|[Online Recharge Made Easy]
Recharge Made Easy @ RechargeKarlo.com – A creative venture under
htttp://www.sabkuchkarlo.com by TechShareZone Community
Mobile Recharge API
Integration Document
By
Saurabh Sharma
[M. Tech-CSE]
M o b i l e R e c h a r g e A P I b y S a u r a b h S h a r m a | 2
http://www.rechargekarlo.com|[Online Recharge Made Easy]
Main API URL : http://mobile.rechargekarlo.com/
SSL also
supported https://mobile.rechargekarlo.com/
Each API is IP Restricted You need to provide your server ip to integrate this API.
We do have Test Mode for Which IP is not required, and you receive Dummy output
For each test Recharge.
You need to provide your Response Url, where you will get a transaction status hit.
Ex. http://www.rechargekarlo.com/tszResponse.jspx
.jspx can be any file extension as php, jsp and aspx any of your application extension
Method: POST [method we use when sending response to your URL]
Parameter:
xmldata=
<Data>
<Status>SUCCESS</Status>
<TalkTime>0</TalkTime>
<OperatorTxnId>GU0012337209</OperatorTxnId>
<Description>Transaction Successful</Description>
<MerOid>1234600</MerOid>
<OrderId>4133</OrderId>
<Mobile>9913099732</Mobile>
<Denomination>10</Denomination>
<MerNotes/>
<CreditUsed>9.808</CreditUsed>
<Balance>9999999726.88</Balance>
</Data>
M o b i l e R e c h a r g e A P I b y S a u r a b h S h a r m a | 3
http://www.rechargekarlo.com|[Online Recharge Made Easy]
Input
URL: …/reseller/FlexiRechargeAPI.php
Parameters:
reseller_id=<Your ResellerID>&reseller_pass=<Your Reseller
Pass>&denomination=<Recharge Amount>&mobilenumber=<Mobile
Number>&operatorid=<Operator Id>&meroid=<Your System Generated Order/
Id>&circleid=<Circle Id>&voucher=<Voucher Type if Specified>
Request Parameters Data Type Description
reseller_id Numeric Your reseller id as provided by
us.
reseller_pass Alpha-Numeric API Password as provided by
Us.
denomination Numeric Amount for which mobile is to
be recharged
mobilenumber Numeric Mobile that is to be recharged
operatorid Numeric Operator id as provided by Us
for each mobile / dth operators
meroid Numeric or Alpha-Numeric Your System generated Orderid
circleid Numeric Or ‘*’ ‘*’ stands for all circles and
Other Numeric Specified as per
List provided by Us.
voucher Text
Default : blank
Example:
voucher=
Should be Provided as per
Operator’s Usage
mernotes Text [ Optional ] Optional Parameter
Specify any description
related to this Recharge
M o b i l e R e c h a r g e A P I b y S a u r a b h S h a r m a | 4
http://www.rechargekarlo.com|[Online Recharge Made Easy]
Output:
API Output Parameters in Xml Format
Response
Parameter
Data Type Desc.
Status Text Recharge Status
TalkTime Numeric Float TalkTime Provided by
operator to customer
OperatorTxnId Alpha-Numeric Operator Provided
Transaction Id
Description Text Recharge status
Description
OrderId Numeric our System generated
Orderid
MerOid Numeric OR
Alpha-numeric
Your System
Generated OrderId
Mobile Numeric Mobile Recharged
Denomination Numeric Amount Recharged
MerNotes Text [Optional] Optional Parameter
Specify any
description
related to this
Recharge
CreditUsed Numeric Float Amount Deducted for
successful recharge
done
Balance Numeric Float Your Balance After
Recharge
Example:
SUCCESS Recharge FAILED Recharge
<Data>
<Status>SUCCESS</Status>
<TalkTime>0</TalkTime>
<OperatorTxnId>GU0012337209</OperatorTxnId>
<Description>Transaction
Successful</Description>
<MerOid>1234600</MerOid>
<OrderId>4133</OrderId>
<Mobile>9913099732</Mobile>
<Denomination>10</Denomination>
<MerNotes/>
<CreditUsed>9.808</CreditUsed>
<Balance>9999999726.88</Balance>
</Data>
<Data>
<Status>FAILED</Status>
<TalkTime>0</TalkTime>
<OperatorTxnId>#</OperatorTxnId>
<Description>Do Not Use The Same
Number in 5 Minute
Interval</Description>
<MerOid>1234603</MerOid>
<Mobile>9913099732</Mobile>
<Denomination>10</Denomination>
<OrderId>4136</OrderId>
<MerNotes>Test Recharge</MerNotes>
<CreditUsed>9.808</CreditUsed>
<Refunded>9.808</Refunded>
<Balance>9999999707.26</Balance>
</Data>
<Data>
<Error>Merchant Order Id already
Exists in system</Error>
</Data>
M o b i l e R e c h a r g e A P I b y S a u r a b h S h a r m a | 5
http://www.rechargekarlo.com|[Online Recharge Made Easy]
Recharge Status
Method: GET
URL:
…/reseller/RechargeStatusAPI.php
Params:
reseller_id=<Your Reseller Id>&reseller_pass=<Your API Password>&orderid=<Our
System OrderID>&meroid=<Your system OrderId>
API Input Parameters as Web URL Get Method
Request Parameter Data Type Desc.
reseller_id Numeric Your Reseller id
Generated and given
by rechargekarlo
reseller_pass Alpha-Numeric Your Reseller API
password
orderid Numeric rechargekarlo
generated Orderid
meroid Alpha-Numeric OR
Numeric
Your System
Generated OrderId
Output
API Output Parameters in Xml Format
Response
Parameter
Data Type Desc.
OrderId Numeric rechargekarlo
generated Orderid
MerOid Numeric Your System
Generated OrderId
Mobile Numeric Mobile Recharged
Denomination Numeric Amount Recharged
Status Text Recharge Status
OperatorTxnId Alpha-Numeric Operator Provided
Transaction Id
Description Text Recharge status
Description
Output in Xml Format:
non-Error Output Error OUTPUT
<RechargeStatus>
<OrderId>4137</OrderId>
<MerOid>4133</MerOid>
<Mobile>9913099732</Mobile>
<Denomination>10</Denomination>
<Status>SUCCESS</Status>
<OperatorTxnId>GU00</OperatorTxnId>
<Description>Transaction
Successful</Description>
</RechargeStatus>
<RechargeStatus>
<Error>Invalid Reseller
Details</Error>
</RechargeStatus>
M o b i l e R e c h a r g e A P I b y S a u r a b h S h a r m a | 6
http://www.rechargekarlo.com|[Online Recharge Made Easy]
Reseller Balance API
Method: GET
URL: …/reseller/ResellerBalanceAPI.php
Parameters: reseller_id=<Your Reseller Id>&reseller_pass=<Your API Password>
Request Parameters Data Type Description
reseller_id Numeric Your Reseller id provided by us.
reseller_pass Alpha-Numeric Your API Password
Output:
Response Parameters Data Type Description
Balance Float Your available balance with us.
Error Text Available only if Error is
Generated.
Non-Error Output Error Output
<Data>
<Balance>9999999707.26</Balance>
</Data>
<Data>
<Error>Invalid Reseller Details</Error>
</Data>
Reseller Operators API (Get List of Operator Enabled for Me)
Method: GET
URL: …/reseller/ResellerOperatorsAPI.php
Parameters: reseller_id=<Your Reseller Id>&reseller_pass=<Your API Password>
Request Parameters Data Type Description
reseller_id Numeric Your Reseller id provided by us.
reseller_pass Alpha-Numeric Your API Password
Output:
Response Parameters Data Type Description
OperatorId Integer Our System Generated
Operator Id, which you need to
Provide when you trigger
Operator based Queries, or
When you Trigger Recharge API
OperatorName Text This Fields Specify Operator
Name, which is Displayed to
Educate you which Id stands
for which Operator in our
System.
M o b i l e R e c h a r g e A P I b y S a u r a b h S h a r m a | 7
http://www.rechargekarlo.com|[Online Recharge Made Easy]
Non-Error Output Error Output
<OperatorList>
<Operator_1>
<OperatorId>1</OperatorId>
<OperatorName>Reliance</OperatorName>
</Operator_1>
<Operator_2>
<OperatorId>2</OperatorId>
<OperatorName>Idea</OperatorName>
</Operator_2>
<Operator_3>
<OperatorId>3</OperatorId>
<OperatorName>Vodafone</OperatorName>
</Operator_3>
<Operator_4>
<OperatorId>4</OperatorId>
<OperatorName>LOOP Mobile</OperatorName>
</Operator_4>
…
</OperatorList>
<Data>
<Error>Invalid Reseller Details
</Error>
</Data>
Reseller Flexi-Vouchers List
Method: GET
URL: …/reseller/ResellerFlexiVouchersAPI.php
Parameters: reseller_id=<Your Reseller Id>&reseller_pass=<Your API Password>
Request Parameters Data Type Description
reseller_id Numeric Your Reseller id provided by us.
reseller_pass Alpha-Numeric Your API Password
Output:
See Next Page
M o b i l e R e c h a r g e A P I b y S a u r a b h S h a r m a | 8
http://www.rechargekarlo.com|[Online Recharge Made Easy]
Output:
Non-Error Output Error Output
<FlexiVouchersList>
<Operators>
<BSNL>
<OperatorId>5</OperatorId>
<Circles>
<PUNJAB>
<CircleId>1</CircleId>
<Vouchers>
<Recharge>
<description>Recharge</description>
<denominations>
1,2,3,5,7,13,14,17,20,30,31,33,35,39,40,
45,47,49,53,54,55,61,65,98,99,110,150,27
4,280,300,330,500,550,999,1100,3300
</denominations>
<Deno_1>
<Talktime>0</Talktime>
<Adminfee>0</Adminfee>
<Servicetax>0.01</Servicetax>
<Validity>0</Validity>
</Deno_1>
…
<Deno_3300>
<Talktime>0</Talktime>
<Adminfee>0</Adminfee>
<Servicetax>0.01</Servicetax>
<Validity>0</Validity>
</Deno_3300>
</Recharge>
</Vouchers>
</PUNJAB>
</Circles>
</BSNL>
<TATA_SKY>
<OperatorId>6</OperatorId>
<Circles>
<All_Circles>
<CircleId>0</CircleId>
<Vouchers>
<Blank>
<description>Blank</description>
<denominations>0</denominations>
<Deno_0>
<Talktime>0</Talktime>
<Adminfee>0</Adminfee>
<Servicetax>0</Servicetax>
<Validity>0</Validity>
</Deno_0>
</Blank>
</Vouchers>
</All_Circles>
</Circles>
</TATA_SKY>
</Operators>
</FlexiVouchersList>
<Data>
<Error>Invalid Reseller
Details </Error>
</Data>

More Related Content

Similar to Recharge api by_saurabh_sharma

java and javascript api dev guide
java and javascript api dev guidejava and javascript api dev guide
java and javascript api dev guide
Zenita Smythe
 
BizSmart Corporate Back Office Guide
BizSmart Corporate Back Office GuideBizSmart Corporate Back Office Guide
BizSmart Corporate Back Office Guide
AllianceBankMY
 
Ordertocashcycle 111011122119-phpapp01
Ordertocashcycle 111011122119-phpapp01Ordertocashcycle 111011122119-phpapp01
Ordertocashcycle 111011122119-phpapp01
ssantosh1234
 
ppt_project_group_2.ppt amnd project report
ppt_project_group_2.ppt amnd project reportppt_project_group_2.ppt amnd project report
ppt_project_group_2.ppt amnd project report
sobanmoriwala1
 
IME London - Send Transaction - WebServices - Specification.pdf
IME London - Send Transaction - WebServices - Specification.pdfIME London - Send Transaction - WebServices - Specification.pdf
IME London - Send Transaction - WebServices - Specification.pdf
BaasanjargalBaynmunk
 

Similar to Recharge api by_saurabh_sharma (20)

https://uii.io/ref/hmaadi
https://uii.io/ref/hmaadihttps://uii.io/ref/hmaadi
https://uii.io/ref/hmaadi
 
java and javascript api dev guide
java and javascript api dev guidejava and javascript api dev guide
java and javascript api dev guide
 
Recharge portal
Recharge portalRecharge portal
Recharge portal
 
Big commerce app development
Big commerce app developmentBig commerce app development
Big commerce app development
 
R12 MOAC AND PAYABLES
R12 MOAC AND PAYABLESR12 MOAC AND PAYABLES
R12 MOAC AND PAYABLES
 
Smartplex1
Smartplex1Smartplex1
Smartplex1
 
Integration of payment gateways using Paypal account
Integration of payment gateways using Paypal account Integration of payment gateways using Paypal account
Integration of payment gateways using Paypal account
 
R12 New Features In Order Management
R12 New Features In Order ManagementR12 New Features In Order Management
R12 New Features In Order Management
 
BizSmart Corporate Back Office Guide
BizSmart Corporate Back Office GuideBizSmart Corporate Back Office Guide
BizSmart Corporate Back Office Guide
 
PayPal Account Authentication Service
PayPal Account Authentication ServicePayPal Account Authentication Service
PayPal Account Authentication Service
 
The Definitive Guide to PromptCloud API
The Definitive Guide to PromptCloud APIThe Definitive Guide to PromptCloud API
The Definitive Guide to PromptCloud API
 
online pay and park system
online pay and park systemonline pay and park system
online pay and park system
 
Monetize your idea! - Pay Pal
Monetize your idea! - Pay PalMonetize your idea! - Pay Pal
Monetize your idea! - Pay Pal
 
Cca venue worldintegrationmanual
Cca venue worldintegrationmanualCca venue worldintegrationmanual
Cca venue worldintegrationmanual
 
Guidelines for using Ericsson's exposed charging APIs
Guidelines for using Ericsson's exposed charging APIsGuidelines for using Ericsson's exposed charging APIs
Guidelines for using Ericsson's exposed charging APIs
 
Ordertocashcycle 111011122119-phpapp01
Ordertocashcycle 111011122119-phpapp01Ordertocashcycle 111011122119-phpapp01
Ordertocashcycle 111011122119-phpapp01
 
BizSmart Corporate Back Office Guide
BizSmart Corporate Back Office GuideBizSmart Corporate Back Office Guide
BizSmart Corporate Back Office Guide
 
ppt_project_group_2.ppt amnd project report
ppt_project_group_2.ppt amnd project reportppt_project_group_2.ppt amnd project report
ppt_project_group_2.ppt amnd project report
 
IME London - Send Transaction - WebServices - Specification.pdf
IME London - Send Transaction - WebServices - Specification.pdfIME London - Send Transaction - WebServices - Specification.pdf
IME London - Send Transaction - WebServices - Specification.pdf
 
Moneybookers Gateway Manual
Moneybookers Gateway ManualMoneybookers Gateway Manual
Moneybookers Gateway Manual
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 

Recharge api by_saurabh_sharma

  • 1. M o b i l e R e c h a r g e A P I b y S a u r a b h S h a r m a | 1 http://www.rechargekarlo.com|[Online Recharge Made Easy] Recharge Made Easy @ RechargeKarlo.com – A creative venture under htttp://www.sabkuchkarlo.com by TechShareZone Community Mobile Recharge API Integration Document By Saurabh Sharma [M. Tech-CSE]
  • 2. M o b i l e R e c h a r g e A P I b y S a u r a b h S h a r m a | 2 http://www.rechargekarlo.com|[Online Recharge Made Easy] Main API URL : http://mobile.rechargekarlo.com/ SSL also supported https://mobile.rechargekarlo.com/ Each API is IP Restricted You need to provide your server ip to integrate this API. We do have Test Mode for Which IP is not required, and you receive Dummy output For each test Recharge. You need to provide your Response Url, where you will get a transaction status hit. Ex. http://www.rechargekarlo.com/tszResponse.jspx .jspx can be any file extension as php, jsp and aspx any of your application extension Method: POST [method we use when sending response to your URL] Parameter: xmldata= <Data> <Status>SUCCESS</Status> <TalkTime>0</TalkTime> <OperatorTxnId>GU0012337209</OperatorTxnId> <Description>Transaction Successful</Description> <MerOid>1234600</MerOid> <OrderId>4133</OrderId> <Mobile>9913099732</Mobile> <Denomination>10</Denomination> <MerNotes/> <CreditUsed>9.808</CreditUsed> <Balance>9999999726.88</Balance> </Data>
  • 3. M o b i l e R e c h a r g e A P I b y S a u r a b h S h a r m a | 3 http://www.rechargekarlo.com|[Online Recharge Made Easy] Input URL: …/reseller/FlexiRechargeAPI.php Parameters: reseller_id=<Your ResellerID>&reseller_pass=<Your Reseller Pass>&denomination=<Recharge Amount>&mobilenumber=<Mobile Number>&operatorid=<Operator Id>&meroid=<Your System Generated Order/ Id>&circleid=<Circle Id>&voucher=<Voucher Type if Specified> Request Parameters Data Type Description reseller_id Numeric Your reseller id as provided by us. reseller_pass Alpha-Numeric API Password as provided by Us. denomination Numeric Amount for which mobile is to be recharged mobilenumber Numeric Mobile that is to be recharged operatorid Numeric Operator id as provided by Us for each mobile / dth operators meroid Numeric or Alpha-Numeric Your System generated Orderid circleid Numeric Or ‘*’ ‘*’ stands for all circles and Other Numeric Specified as per List provided by Us. voucher Text Default : blank Example: voucher= Should be Provided as per Operator’s Usage mernotes Text [ Optional ] Optional Parameter Specify any description related to this Recharge
  • 4. M o b i l e R e c h a r g e A P I b y S a u r a b h S h a r m a | 4 http://www.rechargekarlo.com|[Online Recharge Made Easy] Output: API Output Parameters in Xml Format Response Parameter Data Type Desc. Status Text Recharge Status TalkTime Numeric Float TalkTime Provided by operator to customer OperatorTxnId Alpha-Numeric Operator Provided Transaction Id Description Text Recharge status Description OrderId Numeric our System generated Orderid MerOid Numeric OR Alpha-numeric Your System Generated OrderId Mobile Numeric Mobile Recharged Denomination Numeric Amount Recharged MerNotes Text [Optional] Optional Parameter Specify any description related to this Recharge CreditUsed Numeric Float Amount Deducted for successful recharge done Balance Numeric Float Your Balance After Recharge Example: SUCCESS Recharge FAILED Recharge <Data> <Status>SUCCESS</Status> <TalkTime>0</TalkTime> <OperatorTxnId>GU0012337209</OperatorTxnId> <Description>Transaction Successful</Description> <MerOid>1234600</MerOid> <OrderId>4133</OrderId> <Mobile>9913099732</Mobile> <Denomination>10</Denomination> <MerNotes/> <CreditUsed>9.808</CreditUsed> <Balance>9999999726.88</Balance> </Data> <Data> <Status>FAILED</Status> <TalkTime>0</TalkTime> <OperatorTxnId>#</OperatorTxnId> <Description>Do Not Use The Same Number in 5 Minute Interval</Description> <MerOid>1234603</MerOid> <Mobile>9913099732</Mobile> <Denomination>10</Denomination> <OrderId>4136</OrderId> <MerNotes>Test Recharge</MerNotes> <CreditUsed>9.808</CreditUsed> <Refunded>9.808</Refunded> <Balance>9999999707.26</Balance> </Data> <Data> <Error>Merchant Order Id already Exists in system</Error> </Data>
  • 5. M o b i l e R e c h a r g e A P I b y S a u r a b h S h a r m a | 5 http://www.rechargekarlo.com|[Online Recharge Made Easy] Recharge Status Method: GET URL: …/reseller/RechargeStatusAPI.php Params: reseller_id=<Your Reseller Id>&reseller_pass=<Your API Password>&orderid=<Our System OrderID>&meroid=<Your system OrderId> API Input Parameters as Web URL Get Method Request Parameter Data Type Desc. reseller_id Numeric Your Reseller id Generated and given by rechargekarlo reseller_pass Alpha-Numeric Your Reseller API password orderid Numeric rechargekarlo generated Orderid meroid Alpha-Numeric OR Numeric Your System Generated OrderId Output API Output Parameters in Xml Format Response Parameter Data Type Desc. OrderId Numeric rechargekarlo generated Orderid MerOid Numeric Your System Generated OrderId Mobile Numeric Mobile Recharged Denomination Numeric Amount Recharged Status Text Recharge Status OperatorTxnId Alpha-Numeric Operator Provided Transaction Id Description Text Recharge status Description Output in Xml Format: non-Error Output Error OUTPUT <RechargeStatus> <OrderId>4137</OrderId> <MerOid>4133</MerOid> <Mobile>9913099732</Mobile> <Denomination>10</Denomination> <Status>SUCCESS</Status> <OperatorTxnId>GU00</OperatorTxnId> <Description>Transaction Successful</Description> </RechargeStatus> <RechargeStatus> <Error>Invalid Reseller Details</Error> </RechargeStatus>
  • 6. M o b i l e R e c h a r g e A P I b y S a u r a b h S h a r m a | 6 http://www.rechargekarlo.com|[Online Recharge Made Easy] Reseller Balance API Method: GET URL: …/reseller/ResellerBalanceAPI.php Parameters: reseller_id=<Your Reseller Id>&reseller_pass=<Your API Password> Request Parameters Data Type Description reseller_id Numeric Your Reseller id provided by us. reseller_pass Alpha-Numeric Your API Password Output: Response Parameters Data Type Description Balance Float Your available balance with us. Error Text Available only if Error is Generated. Non-Error Output Error Output <Data> <Balance>9999999707.26</Balance> </Data> <Data> <Error>Invalid Reseller Details</Error> </Data> Reseller Operators API (Get List of Operator Enabled for Me) Method: GET URL: …/reseller/ResellerOperatorsAPI.php Parameters: reseller_id=<Your Reseller Id>&reseller_pass=<Your API Password> Request Parameters Data Type Description reseller_id Numeric Your Reseller id provided by us. reseller_pass Alpha-Numeric Your API Password Output: Response Parameters Data Type Description OperatorId Integer Our System Generated Operator Id, which you need to Provide when you trigger Operator based Queries, or When you Trigger Recharge API OperatorName Text This Fields Specify Operator Name, which is Displayed to Educate you which Id stands for which Operator in our System.
  • 7. M o b i l e R e c h a r g e A P I b y S a u r a b h S h a r m a | 7 http://www.rechargekarlo.com|[Online Recharge Made Easy] Non-Error Output Error Output <OperatorList> <Operator_1> <OperatorId>1</OperatorId> <OperatorName>Reliance</OperatorName> </Operator_1> <Operator_2> <OperatorId>2</OperatorId> <OperatorName>Idea</OperatorName> </Operator_2> <Operator_3> <OperatorId>3</OperatorId> <OperatorName>Vodafone</OperatorName> </Operator_3> <Operator_4> <OperatorId>4</OperatorId> <OperatorName>LOOP Mobile</OperatorName> </Operator_4> … </OperatorList> <Data> <Error>Invalid Reseller Details </Error> </Data> Reseller Flexi-Vouchers List Method: GET URL: …/reseller/ResellerFlexiVouchersAPI.php Parameters: reseller_id=<Your Reseller Id>&reseller_pass=<Your API Password> Request Parameters Data Type Description reseller_id Numeric Your Reseller id provided by us. reseller_pass Alpha-Numeric Your API Password Output: See Next Page
  • 8. M o b i l e R e c h a r g e A P I b y S a u r a b h S h a r m a | 8 http://www.rechargekarlo.com|[Online Recharge Made Easy] Output: Non-Error Output Error Output <FlexiVouchersList> <Operators> <BSNL> <OperatorId>5</OperatorId> <Circles> <PUNJAB> <CircleId>1</CircleId> <Vouchers> <Recharge> <description>Recharge</description> <denominations> 1,2,3,5,7,13,14,17,20,30,31,33,35,39,40, 45,47,49,53,54,55,61,65,98,99,110,150,27 4,280,300,330,500,550,999,1100,3300 </denominations> <Deno_1> <Talktime>0</Talktime> <Adminfee>0</Adminfee> <Servicetax>0.01</Servicetax> <Validity>0</Validity> </Deno_1> … <Deno_3300> <Talktime>0</Talktime> <Adminfee>0</Adminfee> <Servicetax>0.01</Servicetax> <Validity>0</Validity> </Deno_3300> </Recharge> </Vouchers> </PUNJAB> </Circles> </BSNL> <TATA_SKY> <OperatorId>6</OperatorId> <Circles> <All_Circles> <CircleId>0</CircleId> <Vouchers> <Blank> <description>Blank</description> <denominations>0</denominations> <Deno_0> <Talktime>0</Talktime> <Adminfee>0</Adminfee> <Servicetax>0</Servicetax> <Validity>0</Validity> </Deno_0> </Blank> </Vouchers> </All_Circles> </Circles> </TATA_SKY> </Operators> </FlexiVouchersList> <Data> <Error>Invalid Reseller Details </Error> </Data>