{"info":{"_postman_id":"192f63fd-ccfe-4773-99c9-17c94699e14c","name":"Fcube Digitals API","description":"<html><head></head><body><p>Fcube Digital API collection. Vend Airtime, data bundle, subscribe cable bills, electricity, etc</p>\n<p>Need to integrate any of the services we provide into your applications? Access the tools and resources you need to offer services similar to our platform.<br>Kindly access your profile setting page on <a href=\"https://www.dgcrecharge.com\">https://www.</a><a href=\"https://www.dgcrecharge.com/api\">fcubedigital</a><a href=\"https://www.dgcrecharge.com\">.com</a> to get the API Key which is your token.</p>\n<p>If you will be needing technical support to integrate the API or more requests, kindly use the <a href=\"https://www.fcubedigital.com/page/contact/\">Contact form</a> sending us a mail in respect to your request or you can call us or Whatsapp us too.</p>\n<p>Please take note that the <strong>BASE_URL</strong> is <a href=\"https://www.dgcrecharge.com/api\">https://www.</a><a href=\"https://www.dgcrecharge.com/api\">fcubedigital</a><a href=\"https://www.dgcrecharge.com/api\">.com/api</a></p>\n<p><strong>Be conscious of the Token(API Key), replace it with the token(API Key) you got from your profile page</strong></p>\n<h4>Response code and message in response body</h4>\n\n<p>All errors are self-explanatory</p>\n<p>Please if you have any challenge/suggestion with the API kindly send us a mail, call us or Whatsapp us.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"2415928","collectionId":"192f63fd-ccfe-4773-99c9-17c94699e14c","publishedId":"2s8YzMYkd9","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"e5ad06"},"publishDate":"2022-12-05T06:34:20.000Z"},"item":[{"name":"Airtime","item":[{"name":"GET Airtime Networks","id":"ab86f212-5157-4737-9a83-e4e28040bb4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://fcubedigital.com/api/airtime","description":"<p>To vend for airtime, you need to fetch network_id.</p>\n","urlObject":{"protocol":"https","path":["api","airtime"],"host":["fcubedigital","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ab86f212-5157-4737-9a83-e4e28040bb4f"},{"name":"Airtime Purchase","id":"2c61c0d9-cfaa-4e44-81c6-b21d766f8679","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"amount","value":"100","type":"text"},{"key":"network","value":"10","type":"text"},{"key":"recipent","value":"070*********","type":"text"},{"key":"ported","value":"false","type":"text"}]},"url":"https://fcubedigital.com/api/airtime","description":"<p>Use the network_id gotten from above with the amount of airtime you wished to purchase and the phone numbers(Separate the numbers by , if phone number is more than one). Please specify if the number is ported</p>\n<p>if number(s) is/are ported use true else use false {boolean}</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>SAMPLE RESPONSE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>{  <br />\"status\": \"success\",  <br />\"message\": \"Thanks for using FCUBE DIGITAL. Your order 07033333333 has been processed and should be received in less than a minute.\",  <br />}</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","airtime"],"host":["fcubedigital","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2c61c0d9-cfaa-4e44-81c6-b21d766f8679"}],"id":"ba2bb4c9-6af0-4e2b-ad3a-d0e337a27621","description":"<p>To vend for airtime, you need to fetch network_id.</p>\n<p>Then you use the network_id with the amount of airtime you wished to purchase and the phone number. Please specify if the number is ported</p>\n","_postman_id":"ba2bb4c9-6af0-4e2b-ad3a-d0e337a27621"},{"name":"Data Bundle","item":[{"name":"GET Data Network and Plans","id":"5816748d-0412-44d2-a5fa-a073c29ac221","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://fcubedigital.com/api/data","description":"<p>To vend for data bundle, you need to fetch network_id, plan_name and plan_id.</p>\n","urlObject":{"protocol":"https","path":["api","data"],"host":["fcubedigital","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5816748d-0412-44d2-a5fa-a073c29ac221"},{"name":"Data Purchase","id":"eb4e1811-0d60-4cfa-996f-0df1e96d0e6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"network","value":"28","type":"text"},{"key":"plan_id","value":"141","type":"text"},{"key":"recipent","value":"080**********","type":"text"},{"key":"ported","value":"false","type":"text"}]},"url":"https://fcubedigital.com/api/data","description":"<p>Use the network_id, plan_name and plan_id gotten from above and the phone numbers(Separate the numbers by , if phone number is more than one). Please specify if the number is ported</p>\n<p>if number(s) is/are ported use true else use false {boolean}</p>\n<p>Phone number = <strong>recipent</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>SAMPLE RESPONSE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>{  <br />\"status\": \"success\",  <br />\"message\": \"Thanks for using FCUBE DIGITAL. Your 1GB data plan order for 07033333333 has been processed and should be received in less than a minutes.\",  <br />}</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","data"],"host":["fcubedigital","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"eb4e1811-0d60-4cfa-996f-0df1e96d0e6d"}],"id":"f918277f-ade9-4a66-ae08-ec5b1e6c9795","description":"<p>To vend for data bundle, you need to fetch network_id, plan_name, plan_id, phone number, ported(if any).</p>\n<p>Phone number = <strong>recipent</strong></p>\n","_postman_id":"f918277f-ade9-4a66-ae08-ec5b1e6c9795"},{"name":"Cable Bill","item":[{"name":"GET Cable List","id":"fa60bddd-d62d-4bb0-bdb0-3b0f53d52a8f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://fcubedigital.com/api/cable","description":"<p>Fetch the cable providers names, id and network_name</p>\n","urlObject":{"protocol":"https","path":["api","cable"],"host":["fcubedigital","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"fa60bddd-d62d-4bb0-bdb0-3b0f53d52a8f"},{"name":"Verify Cable Details","id":"62545830-fc60-4441-977b-d575a57509b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"network_id","value":"15","type":"text"},{"key":"network_name","value":"dstv","type":"text"},{"key":"smart_card_number","value":"**********","type":"text"}]},"url":"https://fcubedigital.com/api/cable","description":"<p>Get bouquets for multichoice (DSTV and GoTV) and Packages for Startimes.</p>\n<p>Parameters:</p>\n<ul>\n<li>network_name(required): dstv</li>\n<li>smart_card_number(required): your IUC number or smart card number.</li>\n<li>network_id: 15</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>SAMPLE RESPONSE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>{  <br />\"status\": \"success\",  <br />\"message\": \"Verification success...\",  <br />\"result\": {  <br />\"network_name\": \"gotv\",  <br />\"smart_card_number\": \"3333333333\",  <br />\"customer_name\": \"FCUBE DIGITAL\",  <br />\"current_bouquet\": {  <br />\"dueDate\": \"January 3rd, 2023\",  <br />\"outstandingAmount\": 1900,  <br />\"currentBouquet\": \"GOtv Jinja N1,900\",  <br />\"currentPlan\": {  <br />\"items\": {  <br />\"plan\": \"gotv-jinja\",  <br />\"amount\": 1900,  <br />\"name\": \"GOtv Jinja N1,900\",  <br />\"description\": \"GOtv Jinja N1,900\"  <br />}  <br />},  <br />\"bouquets\": [  <br />{  <br />\"plan\": \"gotv-max\",  <br />\"amount\": \"4150.00\",  <br />\"name\": \"GOtv Max N4,150\",  <br />\"description\": \"GOtv Max N4,150\"  <br />},  <br />{  <br />\"plan\": \"gotv-jolli\",  <br />\"amount\": \"2800.00\",  <br />\"name\": \"GOtv Jolli N2,800\",  <br />\"description\": \"GOtv Jolli N2,800\"  <br />},  <br />{  <br />\"plan\": \"gotv-jinja\",  <br />\"amount\": \"1900.00\",  <br />\"name\": \"GOtv Jinja N1,900\",  <br />\"description\": \"GOtv Jinja N1,900\"  <br />},  <br />{  <br />\"plan\": \"gotv-smallie\",  <br />\"amount\": \"900.00\",  <br />\"name\": \"GOtv Smallie - monthly N900\",  <br />\"description\": \"GOtv Smallie - monthly N900\"  <br />},  <br />{  <br />\"plan\": \"gotv-smallie-3months\",  <br />\"amount\": \"2400.00\",  <br />\"name\": \"GOtv Smallie - quarterly N2,400\",  <br />\"description\": \"GOtv Smallie - quarterly N2,400\"  <br />},  <br />{  <br />\"plan\": \"gotv-smallie-1year\",  <br />\"amount\": \"7000.00\",  <br />\"name\": \"GOtv Smallie - yearly N7,000\",  <br />\"description\": \"GOtv Smallie - yearly N7,000\"  <br />},  <br />{  <br />\"plan\": \"gotv-supa\",  <br />\"amount\": \"5500.00\",  <br />\"name\": \"GOtv Supa - monthly N5,500\",  <br />\"description\": \"GOtv Supa - monthly N5,500\"  <br />}  <br />]  <br />}  <br />}  <br />}</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","cable"],"host":["fcubedigital","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"62545830-fc60-4441-977b-d575a57509b0"},{"name":"Subscribe For Cable Services","id":"3d429d71-1a20-4837-822e-87ebb464f2ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"smart_card_number","value":"**********","type":"text"},{"key":"network_name","value":"dstv","type":"text"},{"key":"plan","value":"dstv-padi","type":"text"},{"key":"registered_number","value":"070**********","type":"text"},{"key":"network_id","value":"15","type":"text"},{"key":"amount","value":"2150","type":"text"}]},"url":"https://fcubedigital.com/api/cable/pay","description":"<p>Get bouquets for multichoice.</p>\n<p>Parameters:</p>\n<ul>\n<li>network_name(required): dstv</li>\n<li>network_id: 15</li>\n<li>smart_card_number(required): your IUC number or smart card number.</li>\n<li>plan(required): dstv_padi</li>\n<li>registered_number(required): The number used to buy the decoder.</li>\n<li>amount(required): 2150</li>\n</ul>\n<p>These will be gotten from consuming <strong>Verify Cable Details API</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>SAMPLE RESPONSE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>{  <br />\"status\": \"success\",  <br />\"message\": \"Payment successful...\",  <br />\"content\": {  <br />\"network_name\": \"gotv\",  <br />\"smart_or_iuc_number\": \"3333333333\",  <br />\"package\": \"gotv-jinja\",  <br />\"amount\": \"2150\",  <br />\"phone\": \"07061309922\",  <br />\"subscription_type\": \"renew\",  <br />\"qty\": 1,  <br />\"description\": \"TV Subscription Bill: gotv subscription at N2150 - gotv-jinja, processed successfully for smart card number: 3333333333 N10.75 commission given.\",  <br />\"reference\": \"20221215150228_3\",  <br />\"date_initiated\": \"2022-12-15 14:02:33\"  <br />}  <br />}</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","cable","pay"],"host":["fcubedigital","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3d429d71-1a20-4837-822e-87ebb464f2ad"}],"id":"87432a78-d9b6-45fc-ad7b-b1c15493e33d","description":"<p><code>Multichoice - GOTV &amp; DSTV Subscription</code></p>\n<p><code>Startimes</code></p>\n","_postman_id":"87432a78-d9b6-45fc-ad7b-b1c15493e33d"},{"name":"Electricity Bill","item":[{"name":"GET Electricity Distributors","id":"a120d147-f1e3-4693-aa68-2792a350aa90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://fcubedigital.com/api/electricity","description":"<p>Here you get the appropriate distributor_id which you will use when validating your meter number against the distributor.</p>\n","urlObject":{"protocol":"https","path":["api","electricity"],"host":["fcubedigital","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a120d147-f1e3-4693-aa68-2792a350aa90"},{"name":"Verify Meter Number","id":"b3417fb8-c351-4e21-823f-b4ab5dd98b05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"distributor_id","value":"21","type":"text"},{"key":"meter_number","value":"**********","type":"text"},{"key":"meter_type","value":"prepaid","type":"text"},{"key":"amount","value":"500","type":"text"},{"key":"meter_number","value":"1111111111111","type":"text","disabled":true}]},"url":"https://fcubedigital.com/api/electricity","description":"<p>Verifying meter number</p>\n<p>Parameters</p>\n<ul>\n<li>distributor_id(required): You will get this when you consume <strong>GET Electricity Distributor API</strong></li>\n<li>meter_number(required): The meter number you want to validate</li>\n<li>meter_type(required): postpaid or prepaid</li>\n<li>amount(required): The amount you are purchasing minimum of N500</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>SAMPLE RESPONSE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>{  <br />\"status\": \"success\",  <br />\"message\": \"Meter number validation successful.\",  <br />\"customer_name\": \"FCUBE DIGITAL\",  <br />\"validation_result\": true,  <br />\"meter_number\": \"33333333333\",  <br />\"amount\": \"500\",  <br />\"meter_type\": \"prepaid\",  <br />\"address\": \"Lagos State \",  <br />\"channel\": \"EEDC\"  <br />}</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","electricity"],"host":["fcubedigital","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b3417fb8-c351-4e21-823f-b4ab5dd98b05"},{"name":"Generate Electricity Token","id":"5b8140f1-24da-4f3a-a167-dfae8169d493","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"distributor_id","value":"21","type":"text"},{"key":"meter_number","value":"************","type":"text"},{"key":"meter_type","value":"prepaid","type":"text"},{"key":"amount","value":"500","type":"text"},{"key":"phone_number","value":"070*********","type":"text"},{"key":"meter_number","value":"1111111111111","type":"text","disabled":true}]},"url":"https://fcubedigital.com/api/electricity/pay","description":"<p>To pay for electricity bill and generate token</p>\n<p>Parameters</p>\n<ul>\n<li>distributor_id(required): You will get this when you consume <strong>GET Electricity Distributor API</strong></li>\n<li>meter_number(required): The meter number you want to validate</li>\n<li>meter_type(required): postpaid or prepaid</li>\n<li>amount(required): The amount you are purchasing minimum of N500</li>\n<li>phone_number(required): This is where your generated token will be sent to.</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>SAMPLE RESPONSE</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>{  <br />\"status\": \"success\",  <br />\"body\": {  <br />\"name\": \"T &amp; L DANKU LTD\",  <br />\"amount\": \"500\",  <br />\"meter_number\": \"1111111111111\",  <br />\"meter_type\": \"prepaid\",  <br />\"unit\": \"15.8\",  <br />\"token\": \"57880316552890870667\",  <br />\"vat\": \"23.81\",  <br />\"address\": \"25 RAKABU STREET DIOBU \",  <br />\"reference\": \"20221215150720_\"  <br />}  <br />}</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","electricity","pay"],"host":["fcubedigital","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5b8140f1-24da-4f3a-a167-dfae8169d493"}],"id":"8c438bdb-4df3-4660-9a9a-c96158e7ce09","description":"<p>Our API covers the following electricity distribution in Nigeria.<br />Ikeja, Eko, Ibadan, Abuja, Porthacourt, Kaduna, Enugu, etc.</p>\n<p>These you can get by consuming the <strong>GET Electricity Distributor API</strong></p>\n","_postman_id":"8c438bdb-4df3-4660-9a9a-c96158e7ce09"}]}