Do Recharge

POST https://pixyrsapi/recharge

Request Parameters
operatorcode string   Each Opeartor has its own code. For Example, JIO has its Operator Code " JIO ". For Operator Codes, See the Operator List Operator List
mobile integer   The mobile number should be a valid 10 digit mobile number
amount integer   The transaction amount, should be an integer value , no decimal values will be accepted. For example, for an actual amount of ₹99.35, the value of this field should be ₹100
referenceid alphanumeric   The reference id should be alphanumeric
servicecode string   Each service has its corresponding service code. For Example, Recharge has its service code as " PRE ". See the service list Service List
Response List
StatusCode Description
0 Request has been failed
1 Request is Pending
2 Recharge Success
cURL
curl -X POST     https://api.razorpay.com/v1/orders
-H    'content-type:application/json'
-H     'secretkey : 0012351512545'
-H     'accesskey : gsdgmvk552244ds'
-d    '{
"operatorcode" : "JIO",
"mobile" : 1234567890,
"amount" : 10,
"referenceid" : "JKL45621DFD",
"servicecode" : "PRE"
}'
API Response
'{
"status" : true,
"statuscode" : 2,
"message" : "Recharge Done",
"operatorrefid" : "43132jfb21212"
}'
'{
"status" : true,
"statuscode" : 0,
"message" : "Recharge Failed"
}'
'{
"status" : false,
"statuscode" : 0,
"message" : "Authentication Failed"
}'