{"info":{"_postman_id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","name":"OK2PAY API","description":"<html><head></head><body><h1 id=\"introduction\">Introduction</h1>\n<p>The OK2PAY API is a RESTFull API that allows you to integrate Buy Airtime, Data Subcription, SME/Gifting Data and Bills payment services available on the OK2PAY platform on your application.</p>\n<h1 id=\"overview\">Overview</h1>\n<p><strong>Services available on the OK2PAY API include:</strong></p>\n<h3 id=\"airtime\"><strong>Airtime</strong></h3>\n<ol>\n<li>MTN VTU Airtime</li>\n<li>Airtel VTU Airtime</li>\n<li>Glo VTU Airtime</li>\n<li>9mobile VTU Airtime</li>\n</ol>\n<h3 id=\"data-subcription\"><strong>Data</strong> Subcription</h3>\n<ol>\n<li>MTN Data Bundle</li>\n<li>Airtel Data Bundle</li>\n<li>Glo Data Bundle</li>\n<li>9mobile Data Bundle</li>\n</ol>\n<h3 id=\"smegifting-data-subcription\">SME/Gifting Data Subcription</h3>\n<ol>\n<li>MTN Data Subcription</li>\n<li>Airtel Data Subcription</li>\n<li>Glo Data Subcription</li>\n<li>9mobile Data Subcription</li>\n</ol>\n<h3 id=\"bill-payments\">Bill Payments</h3>\n<ol>\n<li>Electricity Payment</li>\n<li>TV Subscription</li>\n<li>Education Payment</li>\n</ol>\n<p>StartFragment</p>\n<p>For an updated list, please check the <strong>OK2PAY</strong> platform.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>Please Use this URL to get access the api</p>\n<p><strong>Live URL:</strong> <a href=\"https://ok2pay.ng/api/v1/\">https://ok2pay.ng/api/v1/</a></p>\n<p>StartFragment</p>\n<p>Make sure to use your <strong>Api</strong> <strong>Token</strong> as <strong>Bearer&nbsp;Token</strong> Authentication to access the API</p>\n<p>EndFragment</p>\n<h1 id=\"response-codes\">Response Codes</h1>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Introduction","slug":"introduction"},{"content":"Overview","slug":"overview"},{"content":"Authentication","slug":"authentication"},{"content":"Response Codes","slug":"response-codes"}],"owner":"18988725","collectionId":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","publishedId":"Uyxkm61F","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-05-18T03:46:37.000Z"},"item":[{"name":"Airtime & Data","item":[{"name":"Get All Networks & Id","id":"28ccf8ce-7e7d-4eff-a7f6-be668260d748","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer 5c8f4738acc5bbf311c655e20201d9f","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/networks","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","name":"OK2PAY API","type":"collection"}},"urlObject":{"host":["http://127.0.0.1:8000/api/v1/networks"],"query":[],"variable":[]}},"response":[],"_postman_id":"28ccf8ce-7e7d-4eff-a7f6-be668260d748"},{"name":"Get All Data Plan","id":"2dd97daa-4906-4fba-ae17-03866332e1a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/v1/data/plans","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","name":"OK2PAY API","type":"collection"}},"urlObject":{"path":["plans"],"host":["http://127.0.0.1:8000/api/v1/data"],"query":[],"variable":[]}},"response":[],"_postman_id":"2dd97daa-4906-4fba-ae17-03866332e1a4"},{"name":"Get Data Plans By ID","id":"f527ed52-cd4f-4038-aa8c-a889d674e981","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer 3|h5e2HmqwLTGHPyBTjbMTTllYPVNbTKIv4TNujAGX","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/direct/data/plans/[network_id]","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","name":"OK2PAY API","type":"collection"}},"urlObject":{"path":["data","plans","[network_id]"],"host":["http://127.0.0.1:8000/api/v1/direct"],"query":[],"variable":[]}},"response":[],"_postman_id":"f527ed52-cd4f-4038-aa8c-a889d674e981"},{"name":"Get All Direct Data Plans","id":"d9228a48-9214-40ba-9acf-a9ebdc722114","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/data/plans/direct","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","name":"OK2PAY API","type":"collection"}},"urlObject":{"path":["plans","direct"],"host":["http://127.0.0.1:8000/api/v1/data"],"query":[],"variable":[]}},"response":[],"_postman_id":"d9228a48-9214-40ba-9acf-a9ebdc722114"},{"name":"Buy Airtime","id":"46d56ee7-9db2-4954-a18f-25d3b90b8429","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer 3|h5e2HmqwLTGHPyBTjbMTTllYPVNbTKIv4TNujAGX","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"network_id\": \"1\",\r\n  \"mobile\": \"08011111111\",\r\n  \"amount\": \"10\",\r\n  \"request_id\": \"12345678910\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/airtime/buy","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","name":"OK2PAY API","type":"collection"}},"urlObject":{"path":["buy"],"host":["http://127.0.0.1:8000/api/v1/airtime"],"query":[],"variable":[]}},"response":[],"_postman_id":"46d56ee7-9db2-4954-a18f-25d3b90b8429"},{"name":"Buy Sme & Gifting","id":"5a71b06b-da7f-4192-b249-5c5761fe9927","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"network_id\": \"1\",\r\n  \"mobile\": \"07061843610\",\r\n  \"plan_id\": \"100\",\r\n  \"request_id\": \"12345678910\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/data/buy","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","name":"OK2PAY API","type":"collection"}},"urlObject":{"path":["buy"],"host":["http://127.0.0.1:8000/api/v1/data"],"query":[{"disabled":true,"key":"network_id","value":"1"},{"disabled":true,"key":"plan_id","value":"97"},{"disabled":true,"key":"mobile","value":"07061843610"}],"variable":[]}},"response":[],"_postman_id":"5a71b06b-da7f-4192-b249-5c5761fe9927"},{"name":"Direct Data Buy","id":"d2057206-7835-4b9a-be6f-029d1a1a33dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"network_id\": \"1\", //Network Id\r\n  \"plan_id\": \"1\", //plan Id From (Get Data Plans By ID)\r\n  \"mobile\": \"08011111111\" // Customer Mobile No\r\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/direct/data/buy","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","name":"OK2PAY API","type":"collection"}},"urlObject":{"path":["data","buy"],"host":["http://127.0.0.1:8000/api/v1/direct"],"query":[],"variable":[]}},"response":[],"_postman_id":"d2057206-7835-4b9a-be6f-029d1a1a33dc"}],"id":"0331b5f7-82ce-42db-80f6-cde4dfab4c7c","_postman_id":"0331b5f7-82ce-42db-80f6-cde4dfab4c7c","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","name":"OK2PAY API","type":"collection"}}},{"name":"Pay Bills","item":[{"name":"Get Cable Operators","id":"4599b52c-7800-4880-9707-3ebe8dff4133","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/ecmascript","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/cable/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","name":"OK2PAY API","type":"collection"}},"urlObject":{"path":[""],"host":["http://127.0.0.1:8000/api/v1/cable"],"query":[],"variable":[]}},"response":[{"id":"b0f7ce65-6327-4c75-b609-205ee28387a8","name":"Get Cable Operators","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/ecmascript","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/cable/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Thu, 24 Mar 2022 23:48:22 GMT"},{"key":"Date","value":"Thu, 24 Mar 2022 23:48:22 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.3"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 100,\n    \"status\": \"success\",\n    \"massage\": \"Cable Operator Fetch Successfully\",\n    \"data\": [\n        {\n            \"cable_id\": 1,\n            \"name\": \"DSTV Subscription\",\n            \"slug\": \"dstv\",\n            \"status\": \"enable\"\n        },\n        {\n            \"cable_id\": 2,\n            \"name\": \"GOTV Subscription\",\n            \"slug\": \"gotv\",\n            \"status\": \"enable\"\n        },\n        {\n            \"cable_id\": 3,\n            \"name\": \"Startimes Subscription\",\n            \"slug\": \"startimes\",\n            \"status\": \"enable\"\n        },\n        {\n            \"cable_id\": 4,\n            \"name\": \"Showmax Subscription\",\n            \"slug\": \"showmax\",\n            \"status\": \"enable\"\n        }\n    ]\n}"}],"_postman_id":"4599b52c-7800-4880-9707-3ebe8dff4133"},{"name":"Get Cable Plans By ID","id":"3c5b7a26-8c6a-447a-ac7f-467d2ad7bbdc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/cable/plans/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","name":"OK2PAY API","type":"collection"}},"urlObject":{"path":["plans","1"],"host":["http://127.0.0.1:8000/api/v1/cable"],"query":[],"variable":[]}},"response":[{"id":"7883b25a-9c26-476b-a679-bbd1fe66e1a6","name":"Get Cable Plans By ID","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/cable/plans/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Sat, 10 Sep 2022 19:29:37 GMT"},{"key":"Date","value":"Sat, 10 Sep 2022 19:29:37 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.3"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 100,\n    \"status\": \"success\",\n    \"massage\": \"Cable Plan Fetch Successfully\",\n    \"data\": {\n        \"cable_id\": 1,\n        \"service_name\": \"DSTV Subscription\",\n        \"service_slug\": \"dstv\",\n        \"plans\": [\n            {\n                \"plan_id\": 1,\n                \"name\": \"DStv Padi N2,150\",\n                \"plan_amount\": \"2150.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 2,\n                \"name\": \"DStv Yanga N2,950\",\n                \"plan_amount\": \"2950.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 3,\n                \"name\": \"Dstv Confam N5,300\",\n                \"plan_amount\": \"5300.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 4,\n                \"name\": \"DStv  Compact N9,000\",\n                \"plan_amount\": \"9000.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 5,\n                \"name\": \"DStv Premium N21,000\",\n                \"plan_amount\": \"21000.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 6,\n                \"name\": \"DStv Asia N7,100\",\n                \"plan_amount\": \"7100.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 7,\n                \"name\": \"DStv Compact Plus N14,250\",\n                \"plan_amount\": \"14250.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 8,\n                \"name\": \"DStv Premium-French N29,300\",\n                \"plan_amount\": \"29300.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 9,\n                \"name\": \"DStv Premium-Asia N23,500\",\n                \"plan_amount\": \"23500.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 10,\n                \"name\": \"DStv Confam + ExtraView N8,200\",\n                \"plan_amount\": \"8200.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 11,\n                \"name\": \"DStv Yanga + ExtraView N5,850\",\n                \"plan_amount\": \"5850.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 12,\n                \"name\": \"DStv Padi + ExtraView N5,050\",\n                \"plan_amount\": \"5050.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 13,\n                \"name\": \"DStv Compact + Asia N16,100\",\n                \"plan_amount\": \"16100.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 14,\n                \"name\": \"DStv Compact + Extra View N11,900\",\n                \"plan_amount\": \"11900.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 15,\n                \"name\": \"DStv Compact + French Touch N11,650\",\n                \"plan_amount\": \"11650.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 16,\n                \"name\": \"DStv Premium + Extra View N23,900\",\n                \"plan_amount\": \"23900.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 17,\n                \"name\": \"DStv Compact Plus + Asia N21,350\",\n                \"plan_amount\": \"21350.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 18,\n                \"name\": \"DStv Compact + French Touch + ExtraView N14,550\",\n                \"plan_amount\": \"14550.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 19,\n                \"name\": \"DStv Compact + Asia + ExtraView N19,000\",\n                \"plan_amount\": \"19000.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 20,\n                \"name\": \"DStv Compact Plus + French Plus N23,550\",\n                \"plan_amount\": \"23550.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 21,\n                \"name\": \"DStv Compact Plus + French Touch N16,900\",\n                \"plan_amount\": \"16900.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 22,\n                \"name\": \"DStv Compact Plus + Extra View N17,150\",\n                \"plan_amount\": \"17150.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 23,\n                \"name\": \"DStv Compact Plus + FrenchPlus + Extra View N26,450\",\n                \"plan_amount\": \"26450.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 24,\n                \"name\": \"DStv Compact + French Plus N18,300\",\n                \"plan_amount\": \"18300.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 25,\n                \"name\": \"DStv Compact Plus + Asia + ExtraView N24,250\",\n                \"plan_amount\": \"24250.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 26,\n                \"name\": \"DStv Premium + Asia + Extra View N31,000\",\n                \"plan_amount\": \"31000.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 27,\n                \"name\": \"DStv Premium + French + Extra View N28,000\",\n                \"plan_amount\": \"28000.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 29,\n                \"name\": \"DStv French Plus Add-on N9,300\",\n                \"plan_amount\": \"9300.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 30,\n                \"name\": \"DStv Asian Add-on N7,100\",\n                \"plan_amount\": \"7100.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 31,\n                \"name\": \"DStv French Touch Add-on N2,650\",\n                \"plan_amount\": \"2650.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 32,\n                \"name\": \"ExtraView Access N2,900\",\n                \"plan_amount\": \"2900.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 33,\n                \"name\": \"DStv French 11 N4,100\",\n                \"plan_amount\": \"4100.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 60,\n                \"name\": \"DStv Compact Plus Movie Bundle Add-on E36 - N2,500\",\n                \"plan_amount\": \"2500.00\",\n                \"fixedPrice\": \"yes\"\n            },\n            {\n                \"plan_id\": 61,\n                \"name\": \"DStv Movie Bundle Add-on E36 - N2,500\",\n                \"plan_amount\": \"2500.00\",\n                \"fixedPrice\": \"yes\"\n            }\n        ]\n    }\n}"}],"_postman_id":"3c5b7a26-8c6a-447a-ac7f-467d2ad7bbdc"},{"name":"Verify Cable Smart Card","id":"90d04dc9-2e30-46be-b059-ec1cc2c3cb4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/cable/verify/?cable_id=1&smart_card=1212121212","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","name":"OK2PAY API","type":"collection"}},"urlObject":{"path":["verify",""],"host":["http://127.0.0.1:8000/api/v1/cable"],"query":[{"description":{"content":"<p>Cable ID</p>\n","type":"text/plain"},"key":"cable_id","value":"1"},{"description":{"content":"<p>Smart Card Number</p>\n","type":"text/plain"},"key":"smart_card","value":"1212121212"}],"variable":[]}},"response":[],"_postman_id":"90d04dc9-2e30-46be-b059-ec1cc2c3cb4b"},{"name":"Pay Cable Subscription","id":"377b975b-1d20-4195-bb10-c63967240d72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/cable/pay?cable_id=1&smart_card=1212121212&subscription_type=renew&plan_id=1&mobile=01307366733&amount=500","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","name":"OK2PAY API","type":"collection"}},"urlObject":{"path":["pay"],"host":["http://127.0.0.1:8000/api/v1/cable"],"query":[{"description":{"content":"<p>Cable ID</p>\n","type":"text/plain"},"key":"cable_id","value":"1"},{"description":{"content":"<p>Smart Card Number</p>\n","type":"text/plain"},"key":"smart_card","value":"1212121212"},{"description":{"content":"<p>renew Or Change</p>\n","type":"text/plain"},"key":"subscription_type","value":"renew"},{"description":{"content":"<p>Plan Code</p>\n","type":"text/plain"},"key":"plan_id","value":"1"},{"description":{"content":"<p>Phone Number </p>\n","type":"text/plain"},"key":"mobile","value":"01307366733"},{"description":{"content":"<p>Amount of Renew or Plan Price (Amount Should be match with renew or plan price. otherwise we will topup the amount to customer account)</p>\n","type":"text/plain"},"key":"amount","value":"500"}],"variable":[]}},"response":[{"id":"a8a80c5e-c737-4402-bd74-a13151ee3e61","name":"Pay Cable Subscription","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"http://127.0.0.1:8000/api/v1/cable/pay?cable_id=1&smart_card=1212121212&subscription_type=change&plan_code=dstv-padi&mobile=01307366733&amount=500","host":["http://127.0.0.1:8000/api/v1/cable"],"path":["pay"],"query":[{"key":"cable_id","value":"1","description":"Cable ID"},{"key":"smart_card","value":"1212121212","description":"Smart Card Number"},{"key":"subscription_type","value":"change","description":"renew Or Change"},{"key":"plan_code","value":"dstv-padi","description":"Plan Code"},{"key":"mobile","value":"01307366733","description":"Phone Number "},{"key":"amount","value":"500","description":"Amount of Renew or Plan Price (Amount Should be match with renew or plan price. otherwise we will topup the amount to customer account)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Fri, 25 Mar 2022 00:58:06 GMT"},{"key":"Date","value":"Fri, 25 Mar 2022 00:58:06 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.3"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 100,\n    \"status\": \"success\",\n    \"message\": \"Transaction Successful\",\n    \"data\": {\n        \"transactions\": {\n            \"tnx_status\": \"delivered\",\n            \"type\": \"Cable Bill Payment\",\n            \"operator\": \"dstv\",\n            \"mobile\": \"01307366733\",\n            \"smart_card\": \"1212121212\",\n            \"smart_card_type\": null,\n            \"amount\": \"500\",\n            \"transactionId\": \"202203250158-0000000527\",\n            \"credit_amount\": 550,\n            \"fee\": 50,\n            \"discount\": null\n        },\n        \"transactions_time\": {\n            \"date_time\": \"2022-03-25 01:58:06\",\n            \"timezone\": \"Africa/Lagos\"\n        },\n        \"request_by\": {\n            \"email\": \"tomalsen2000@gmail.com\",\n            \"phone\": \"01307366733\"\n        }\n    }\n}"},{"id":"a52fd87d-ad24-401a-a853-1a34f21ccae2","name":"Pay Cable Subscription","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"http://127.0.0.1:8000/api/v1/cable/pay?cable_id=1&smart_card=1212121212&subscription_type=renew&plan_id=1&mobile=01307366733&amount=500","host":["http://127.0.0.1:8000/api/v1/cable"],"path":["pay"],"query":[{"key":"cable_id","value":"1","description":"Cable ID"},{"key":"smart_card","value":"1212121212","description":"Smart Card Number"},{"key":"subscription_type","value":"renew","description":"renew Or Change"},{"key":"plan_id","value":"1","description":"Plan Code"},{"key":"mobile","value":"01307366733","description":"Phone Number "},{"key":"amount","value":"500","description":"Amount of Renew or Plan Price (Amount Should be match with renew or plan price. otherwise we will topup the amount to customer account)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Thu, 14 Apr 2022 22:23:02 GMT"},{"key":"Date","value":"Thu, 14 Apr 2022 22:23:02 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.3"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 100,\n    \"status\": \"success\",\n    \"message\": \"Transaction Successful\",\n    \"data\": {\n        \"transactions\": {\n            \"tnx_status\": \"success\",\n            \"type\": \"Cable Bill Payment\",\n            \"operator\": \"dstv\",\n            \"mobile\": \"01307366733\",\n            \"smart_card\": \"1212121212\",\n            \"smart_card_type\": null,\n            \"amount\": \"500\",\n            \"transactionId\": \"202204142323-0000000126\",\n            \"credit_amount\": 600,\n            \"fee\": 100,\n            \"discount\": null,\n            \"details\": []\n        },\n        \"transactions_time\": {\n            \"date_time\": \"2022-04-14 23:23:02\",\n            \"timezone\": \"Africa/Lagos\"\n        },\n        \"request_by\": {\n            \"email\": \"tomalsen200@gmail.com\",\n            \"phone\": \"01736744457\"\n        }\n    }\n}"}],"_postman_id":"377b975b-1d20-4195-bb10-c63967240d72"},{"name":"Get Electricity Operators and Id","id":"ca75d724-02dd-4822-b9c4-d59eaf9c1210","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/electricity/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","name":"OK2PAY API","type":"collection"}},"urlObject":{"path":[""],"host":["http://127.0.0.1:8000/api/v1/electricity"],"query":[],"variable":[]}},"response":[{"id":"8ab5a671-5949-4577-974f-5b59a6156b82","name":"Get Electricity Operators and Id","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/electricity/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Fri, 25 Mar 2022 00:28:07 GMT"},{"key":"Date","value":"Fri, 25 Mar 2022 00:28:07 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.3"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 100,\n    \"status\": \"success\",\n    \"massage\": \"Electricity Operator Fetch Successfully\",\n    \"data\": [\n        {\n            \"operator_id\": 1,\n            \"name\": \"Ikeja Electricity Distribution Company (IKEDC)\",\n            \"slug\": \"ikeja-electric\",\n            \"status\": \"enable\"\n        },\n        {\n            \"operator_id\": 2,\n            \"name\": \"Eko Electricity Distribution Company (EKEDC)\",\n            \"slug\": \"eko-electric\",\n            \"status\": \"enable\"\n        },\n        {\n            \"operator_id\": 3,\n            \"name\": \"Kano Electricity Distribution Company (KEDCO)\",\n            \"slug\": \"kano-electric\",\n            \"status\": \"enable\"\n        },\n        {\n            \"operator_id\": 4,\n            \"name\": \"Port Harcourt Electricity Distribution Company (PHED)\",\n            \"slug\": \"portharcourt-electric\",\n            \"status\": \"enable\"\n        },\n        {\n            \"operator_id\": 5,\n            \"name\": \"Joss’s Electricity Distribution Company (JED)\",\n            \"slug\": \"jos-electric\",\n            \"status\": \"enable\"\n        },\n        {\n            \"operator_id\": 6,\n            \"name\": \"Ibadan Electricity Distribution Company (IBEDC)\",\n            \"slug\": \"ibadan-electric\",\n            \"status\": \"enable\"\n        },\n        {\n            \"operator_id\": 7,\n            \"name\": \"Kaduna Electric (KAEDCO)\",\n            \"slug\": \"kaduna-electric\",\n            \"status\": \"enable\"\n        },\n        {\n            \"operator_id\": 8,\n            \"name\": \"Abuja Electricity Distribution Company (AEDC)\",\n            \"slug\": \"abuja-electric\",\n            \"status\": \"enable\"\n        }\n    ]\n}"}],"_postman_id":"ca75d724-02dd-4822-b9c4-d59eaf9c1210"},{"name":"Electricity Meter Verify","id":"e558dd3f-3ab9-4630-a2e6-67c5fb6a6de5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/electricity/verify/?operator_id=1&meter_number=1010101010101&meter_type=postpaid","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","name":"OK2PAY API","type":"collection"}},"urlObject":{"path":["verify",""],"host":["http://127.0.0.1:8000/api/v1/electricity"],"query":[{"description":{"content":"<p>Operator ID</p>\n","type":"text/plain"},"key":"operator_id","value":"1"},{"description":{"content":"<p>Meter No</p>\n","type":"text/plain"},"key":"meter_number","value":"1010101010101"},{"description":{"content":"<p>prepaid OR Postpaid</p>\n","type":"text/plain"},"key":"meter_type","value":"postpaid"}],"variable":[]}},"response":[{"id":"502006b6-8a42-4905-afe2-8e296583cb1a","name":"Electricity Meter Verify","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"http://127.0.0.1:8000/api/v1/electricity/verify/?operator_id=1&meter_number=1010101010101&meter_type=postpaid","host":["http://127.0.0.1:8000/api/v1/electricity"],"path":["verify",""],"query":[{"key":"operator_id","value":"1","description":"Operator Id"},{"key":"meter_number","value":"1010101010101","description":"Meter No"},{"key":"meter_type","value":"postpaid","description":"prepaid OR postpaid"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Fri, 25 Mar 2022 00:28:57 GMT"},{"key":"Date","value":"Fri, 25 Mar 2022 00:28:57 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.3"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 100,\n    \"status\": \"success\",\n    \"massage\": \"Meter No Verified Successfully\",\n    \"data\": {\n        \"customer_name\": \"TESTMETER1\",\n        \"meter_no\": null,\n        \"address\": \"ABULE - EGBA BU ABULE\",\n        \"customer_district\": \"007903312\",\n        \"meter_type\": \"POSTPAID\"\n    }\n}"}],"_postman_id":"e558dd3f-3ab9-4630-a2e6-67c5fb6a6de5"},{"name":"Pay Electricity Bill","id":"9450a54d-2abe-4825-a4ad-4819f225b473","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"http://127.0.0.1:8000/api/v1/electricity/pay/?operator_id=1&meter_number=1111111111111&meter_type=prepaid&amount=500&mobile=01307366733&request_id","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","name":"OK2PAY API","type":"collection"}},"urlObject":{"path":["pay",""],"host":["http://127.0.0.1:8000/api/v1/electricity"],"query":[{"description":{"content":"<p>Operator ID</p>\n","type":"text/plain"},"key":"operator_id","value":"1"},{"description":{"content":"<p>Meter Number</p>\n","type":"text/plain"},"key":"meter_number","value":"1111111111111"},{"description":{"content":"<p>prepaid OR postpaid</p>\n","type":"text/plain"},"key":"meter_type","value":"prepaid"},{"description":{"content":"<p>Amount</p>\n","type":"text/plain"},"key":"amount","value":"500"},{"description":{"content":"<p>Mobile Number</p>\n","type":"text/plain"},"key":"mobile","value":"01307366733"},{"description":{"content":"<p>a Unique request id of current time stamp</p>\n","type":"text/plain"},"key":"request_id","value":null}],"variable":[]}},"response":[{"id":"37c080a3-e6d6-437e-9caa-185b7123cfc8","name":"Pay Electricity Bill","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"http://127.0.0.1:8000/api/v1/electricity/pay/?operator_id=1&meter_number=1010101010101&meter_type=postpaid&amount=500&mobile=01307366733","host":["http://127.0.0.1:8000/api/v1/electricity"],"path":["pay",""],"query":[{"key":"operator_id","value":"1"},{"key":"meter_number","value":"1010101010101"},{"key":"meter_type","value":"postpaid"},{"key":"amount","value":"500"},{"key":"mobile","value":"01307366733"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Fri, 25 Mar 2022 00:30:19 GMT"},{"key":"Date","value":"Fri, 25 Mar 2022 00:30:19 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.3"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 100,\n    \"status\": \"success\",\n    \"message\": \"Transaction Successful\",\n    \"data\": {\n        \"transactions\": {\n            \"tnx_status\": \"delivered\",\n            \"type\": \"Electricity Bill Payment\",\n            \"operator\": \"ikeja-electric\",\n            \"mobile\": \"01307366733\",\n            \"meter_no\": \"1010101010101\",\n            \"meter_type\": \"postpaid\",\n            \"amount\": \"500\",\n            \"transactionId\": \"202203250130-0000000513\",\n            \"credit_amount\": 550,\n            \"fee\": 50,\n            \"discount\": null\n        },\n        \"transactions_time\": {\n            \"date_time\": \"2022-03-25 01:30:19\",\n            \"timezone\": \"Africa/Lagos\"\n        },\n        \"request_by\": {\n            \"email\": \"tomalsen2000@gmail.com\",\n            \"phone\": \"01307366733\"\n        }\n    }\n}"}],"_postman_id":"9450a54d-2abe-4825-a4ad-4819f225b473"}],"id":"a4ba4ce0-d456-4db5-aefa-d78062e43d11","_postman_id":"a4ba4ce0-d456-4db5-aefa-d78062e43d11","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","id":"cd20db21-fc5b-4b92-a899-1c17b58bfd26","name":"OK2PAY API","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"287451fc-28cb-4f24-ba63-ae1eca00806b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ca552b02-247b-44d4-ba80-e026461d77ae","type":"text/javascript","exec":[""]}}],"variable":[{"key":"base_url","value":"http://127.0.0.1:8000/api/v1/","type":"string"},{"key":"CurrentTimestamp","value":"","type":"string","disabled":true}]}