Recharge & BBPS API Request

Request :

https://www.deeperweb.in/webservices/api/recharge?username=[username]&api_token=[api_token]&number=[number]&amount=[amount]&operator=[operator_code]&ref_id=[your_ref_id] &field1=[field_1_value]&field2=[field_2_value]&field3=[field_3_value]&field4=[field_4_value]&field5=[field_5_value]
ParametersDescriptionExample
usernameYour registered mobile number with us1234567
api_tokenAPIKEY generated in profile section Get API Token56546456
numberRecharge number / DTH Connection number / Billpayment Customer Number9000000000
amountRecharge Amount10
operatorOperator code Get Operator CodesAT
ref_idUnique transaction id generated from your server/websiteAT12334304
field1Refer Operator List (For Billpayment Operators only)
field2Refer Operator List (For Billpayment Operators only)
field3Refer Operator List (For Billpayment Operators only)
field4Refer Operator List (For Billpayment Operators only)
field5Refer Operator List (For Billpayment Operators only)

Response (in JSON) :

{"status":"Accepted","number":"9999999999","amount":"10","operator":"VF","ref_id":"ABC1","txn_id":"123456","opt_id":"ABCDEFGH12345","balance" : "100.00", "message":"Recharge request accepted." }

Response Pramaters List

PARAMETERDESCRIPTION
statusPending : When we have successfully accepted your recharge request.
Accepted : When we have successfully accepted your recharge request.
Success : When your recharge processed successfully.
Failure : When your recharge is failed / rejected by operator.
Refunded : When we have refuned your recharge.
Error : When your request has some wrong data. You can consider it as FAILURE only for RECHARGE API
             NOTE: DO NOT CONSIDER AS FAILURE IN STATUS CHECK API
numberRecharge mobile number / DTH connection number
amountRecharge Amount
operatorOperator code (Visit Website -> API Configuration -> Operator Code List)
ref_idUnique transaction id generated from your server/website
txn_idUnique ID generated by Deeper Web Technology
opt_idUnique reference id generated by Operator
balanceClosing balance afer this recharge
messageA simple string which shows error message.