{"info":{"_postman_id":"d2777a10-9443-496b-90c8-b1780d5eb526","name":"Husmodata API Documentation","description":"<html><head></head><body><p>HUSMODATA API Doc Get your Token here <a href=\"https://www.husmodata.com/documentation/\">https://www.husmodata.com/documentation/</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"10645604","collectionId":"d2777a10-9443-496b-90c8-b1780d5eb526","publishedId":"TVKHVFW7","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-10-03T13:03:09.000Z"},"item":[{"name":"Buy Data","id":"ea90812c-a595-4a84-abff-fe9c3f3091fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","type":"text","value":"Token 8f00fa816b1e3b485baca8f44ae5d361ef803311"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"network\": network_id,\n    \"mobile_number\": \"09037346247\",\n    \"plan\": plan_id, \n    \"Ported_number\": true\n}","options":{"raw":{"language":"json"}}},"url":"https://www.husmodata.com/api/data/","description":"<p>Buy Data Endpoint </p>\n<p>make a post request to this endpoint with your authorization header and body </p>\n","urlObject":{"protocol":"https","path":["api","data",""],"host":["www","husmodata","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ea90812c-a595-4a84-abff-fe9c3f3091fa"},{"name":"Buy Airtime TopUp and Get all Airtime Transaction","id":"d903494b-1929-4f40-8dca-3ff99823652d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","type":"text","value":"Token 8f00fa816b1e3b485baca8f44ae5d361ef803311"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"network\": network_id,\n    \"amount\":amount,\n    \"mobile_number\": phone,\n    \"Ported_number\": true,\n    \"airtime_type\": \"VTU\" //VTU or Share and Sell\n}","options":{"raw":{"language":"json"}}},"url":"https://www.husmodata.com/api/topup/","description":"<p>make a post request to this endpoint to buy airtime and get to get all airtime transaction</p>\n","urlObject":{"protocol":"https","path":["api","topup",""],"host":["www","husmodata","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d903494b-1929-4f40-8dca-3ff99823652d"},{"name":"Buy Electricity Bill payment and Get all transaction","id":"c248de91-614d-4e6f-af05-c5424147d900","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","type":"text","value":"Token 8f00fa816b1e3b485baca8f44ae5d361ef803311"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{ \"disco_name\": disco,\n\"amount\" : amount to pay,\n\"meter_number\": meter number, \n\"MeterType\": meter type id (PREPAID:1,POSTAID:2) }\n","options":{"raw":{"language":"json"}}},"url":"https://www.husmodata.com/api/billpayment/","description":"<p>make a post request to this endpoint to buy electricity bill and get request to get all bill payment transactions</p>\n","urlObject":{"protocol":"https","path":["api","billpayment",""],"host":["www","husmodata","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c248de91-614d-4e6f-af05-c5424147d900"},{"name":"Buy Cablesub  angd get  all transaction","id":"f875b269-4db5-4476-8341-6fc4092ec0a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","type":"text","value":"Token 8f00fa816b1e3b485baca8f44ae5d361ef803311"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\"cablename\": cablename id ,\n\"cableplan\" :cableplan id, \n\"smart_card_number\": meter}","options":{"raw":{"language":"json"}}},"url":"https://www.husmodata.com/api/cablesub/","description":"<p>make post request to do cablesub and get request to get all cablesub transactions</p>\n","urlObject":{"protocol":"https","path":["api","cablesub",""],"host":["www","husmodata","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f875b269-4db5-4476-8341-6fc4092ec0a8"},{"name":"Get All Data Transactions","id":"34ac9f82-4315-439a-942d-4861f1c51ab9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://www.husmodata.com/api/data/","description":"<p>make a get request to this endpoint to get all data transactions</p>\n","urlObject":{"protocol":"https","path":["api","data",""],"host":["www","husmodata","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"34ac9f82-4315-439a-942d-4861f1c51ab9"},{"name":"Query Data Transaction","id":"ffd79c5e-94e1-4eec-a6ee-57cd83417867","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://www.husmodata.com/api/data/58","description":"<p>Make get request to this endpoint to get status of particular data transaction with id</p>\n","urlObject":{"protocol":"https","path":["api","data","58"],"host":["www","husmodata","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ffd79c5e-94e1-4eec-a6ee-57cd83417867"},{"name":"Query Airtime Transaction","id":"37aae504-eda1-4b5d-8940-e5d223b5edf4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","type":"text","value":"Token 8f00fa816b1e3b485baca8f44ae5d361ef803311"},{"key":"Content-Type","type":"text","value":" application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://www.husmodata.com/api/data/id","description":"<p>make a get request with transaction id to get status of airtime </p>\n","urlObject":{"protocol":"https","path":["api","data","id"],"host":["www","husmodata","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"37aae504-eda1-4b5d-8940-e5d223b5edf4"},{"name":"Query Bill Payment","id":"db79260b-331b-4296-a5d5-05fd40712bba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://www.husmodata.com/api/billpayment/id","description":"<p>make a get request with transaction id to get status of bill payment</p>\n","urlObject":{"protocol":"https","path":["api","billpayment","id"],"host":["www","husmodata","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"db79260b-331b-4296-a5d5-05fd40712bba"},{"name":"Query Cablesub","id":"0b58a07e-5c3d-43f1-89cf-d2354eb31961","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","type":"text","value":"Token 8f00fa816b1e3b485baca8f44ae5d361ef803311"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://www.husmodata.com/api/cablesub/id","description":"<p>make a get request with transaction id to get status odf cablesub transaction</p>\n","urlObject":{"protocol":"https","path":["api","cablesub","id"],"host":["www","husmodata","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0b58a07e-5c3d-43f1-89cf-d2354eb31961"},{"name":"Validate IUC","id":"5083e6d6-6f1c-4e2b-aae4-8efac2c6e13d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","type":"text","value":"Token 8f00fa816b1e3b485baca8f44ae5d361ef803311"},{"key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://www.husmodata.com/ajax/validate_iuc?smart_card_number=iuc_number&cablename=cable_company","description":"<p>make a get request with meter number and cable name id to validate meter number</p>\n","urlObject":{"protocol":"https","path":["ajax","validate_iuc"],"host":["www","husmodata","com"],"query":[{"description":{"content":"<p>customer's iuc number</p>\n","type":"text/plain"},"key":"smart_card_number","value":"iuc_number"},{"description":{"content":"<p>e.g GOTV, DSTV, STARTIMES</p>\n","type":"text/plain"},"key":"cablename","value":"cable_company"}],"variable":[]}},"response":[],"_postman_id":"5083e6d6-6f1c-4e2b-aae4-8efac2c6e13d"},{"name":"Validate Meter","id":"125b0045-c886-4edb-b2f4-3bcc98112ce8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Token 8f00fa816b1e3b485baca8f44ae5d361ef803311","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://www.husmodata.com/ajax/validate_meter_number?meternumber=54140827962&disconame=disco_name&mtype=Prepaid\n","description":"<p>make get request to validate meter number</p>\n","urlObject":{"protocol":"https","path":["ajax","validate_meter_number"],"host":["www","husmodata","com"],"query":[{"description":{"content":"<p>customer metre number</p>\n","type":"text/plain"},"key":"meternumber","value":"54140827962"},{"description":{"content":"<p>e.g Ibadan Electric</p>\n","type":"text/plain"},"key":"disconame","value":"disco_name"},{"description":{"content":"<p>MetreType e.g Prepaid or Postpaid</p>\n","type":"text/plain"},"key":"mtype","value":"Prepaid\n"}],"variable":[]}},"response":[],"_postman_id":"125b0045-c886-4edb-b2f4-3bcc98112ce8"}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"9b197559-8590-43a9-a3aa-6a289a2b49c9","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2ed8857b-91fc-4085-acf0-0613a5e22e64","type":"text/javascript","exec":[""]}}]}