We offer service and support to various and unique process such as fully automated mobile recharge software & API to boost your recharge business, duepe have a customized prepaid recharge system that includes all the service providers for Mobile/ DTH and data card. API Recharge are trend setters and break through in Recharge process. We provide API's for variety of Recharge process thus providing our valuable coustmers with fast and reliable recharges.
function encryptString($string) { // you may change these values to your own $secret_key = 'Your token here'; $secret_iv = 'Your Pin Here'; // Your pin here $output = false; $encrypt_method = "AES-256-CBC"; $key = hash('sha256', $secret_key); $iv = substr(hash('sha256', $secret_iv), 0, 16); $output = base64_encode( openssl_encrypt($string, $encrypt_method, $key, 0, $iv) ); return $output; }
"https://duepe.com/corp/transaction.php?uid=#uid&data=#data" ------------------------------------------ #uid -> Your user id #data -> Data needs to be encoded #data value will be like this "phone=#phone&opCode=#opcode&amount=#amount&urid=#urid" and then encode it by using following function #data = encryptString(#data); #phone -> Recharge phone number #opcode -> Operator code #amount -> Recharge Amount #urid -> Your tracking id ------------------------------------------ Output JSON { "data": { "orderId": "#orderid", "status": "#status", "optid": "#optid", "urid": "#urid", "resCode": "#resCode", "resText": "#resText" } } ------------------------------------------ #orderid -> Our order id #status -> SUCCESS / PENDING / FAILED #optid -> Operator transaction id #urid -> Your tracking id #resCode -> Error code #resText -> Error text ------------------------------------------
"https://duepe.com/corp/transaction.php?UserMobile=#UserMobile&Password=#Password&mobile=#mobile&Amount=#Amount&opCode=#opCode&Pin=#Pin&urid=#urid" ------------------------------------------ #UserMobile -> Duepe Registered Mobile Number #Password -> Login Password #mobile -> Customer Mobile Number #Amount -> Recharge Amount #opCode -> Operator Code #Pin -> Four digit pin #stateCode -> State code (Use KA for default) #Format -> Response format type (text, xml, json) #urid -> Your reference id (unique) #rechargeType -> LIVE ------------------------------------------ Output JSON { "data": { "orderId": "#orderid", "status": "#status", "optid": "#optid", "urid": "#urid", "resCode": "#resCode", "resText": "#resText" } } -----------------------------------------
P2P Operators (Normal) ------------------------------------------ "Airtel" => "MOBAIR00001" "BSNL" => "MOBBSN00002" "Jio" => "MOBJIO00003" "Vodafone" => "MOBVIL00006" "Airtel DTH" => "DTHAIR00001" "Dish TV" => "DTHDIS00002" "Sun Direct TV" => "DTHSUN00003" "TATA Play" => "DTHTAT00004" "Videocon" => "DTHVID00005" ------------------------------------------ LIVE Operators ------------------------------------------ "Airtel" => "LIVAIR00001" "BSNL" => "LIVBSN00002" "Jio" => "LIVJIO00003" "Vodafone" => "LIVVIL00004" "Airtel DTH" => "LIVAIR00005" "Dish TV" => "LIVDIS00006" "Sun Direct TV" => "LIVSUN00007" "TATA Play" => "LIVTAT00008" "Videocon" => "LIVVID00009" ------------------------------------------
"http://yourdomainname.com/yourpage.php?status=#status&orderid=#orderid&urid=#urid&optid=#optid" ------------------------------------------ #status -> SUCCESS / FAILED #orderid -> Our order id #urid -> Your order id #optid -> Operator Transaction id ------------------------------------------
"https://duepe.com/corp/complaint.php?UserMobile=#UserMobile&Password=#Password&Pin=#Pin&OrderId=#OrderId&Urid=#Urid&Type=#Archive" ------------------------------------------ #UserMobile -> Duepe Registered Mobile Number #Password -> Login Password #Pin -> Four digit pin #OrderId -> Duepe OrderId #urid -> Your reference id #Type -> Live or Archive ------------------------------------------
------------------------------------------ "101" => "Invalid state code" "102" => "Invalid opcode value" "103" => "Invalid Amount" "104" => "Invalid user mobile number" "105" => "Invalid pin provided" "106" => "Invalid urid value" "107" => "Invalid login details" "108" => "Operator down time" "109" => "Operator down time" "110" => "Operator down time" "111" => "Transaction already running" "112" => "Insufficient balance" "113" => "Internal server error" "114" => "Internal server error 2" "115" => "Duplicate recharge not allowed within 45 seconds" "116" => "Invalid order id" "117" => "Order id not found" "118" => "Recharge is already failed" "119" => "Recharge is already disputed" "120" => "Recharge is pending" "121" => "Internal server error" "122" => "Recharge failed / (**Error message from operator end**)" "123" => "Server is busy" "124" => "Service is down" "125" => "Minimum amount should be ***** Rs" "126" => "Invalid data provided" "127" => "Max limit for each customer is only ***** Rs" "200" => "SUCCESS" "201" => "Recharge is pending" "202" => "Recharge successfully disputed" "213" => "Invalid Number" "214" => "Allowed_numbers not available" "215" => "Invalid Number" "216" => "Denominations not available" "217" => "Invalid Denomination" "218" => "Invalid Number" "331" => "Your account has been suspended, Please contact your administrator" "332" => "Invalid Value" "333" => "Insufficient balance" "1144" => "This operator service has been temporarily unavailable" "2428" => "IP Validation failed / (**Other validation error message**)" "2555" => "Duplicate urid" "2558" => "Invalid Amount" "2666" => "Your account has been blocked for wrong credentials, please contact customer support" ------------------------------------------

