{"info":{"_postman_id":"64f3a471-1437-4235-a08d-0fae7ed76f76","name":"GSUBZ.com API Documentation","description":"<html><head></head><body><hr>\n<p><strong>GSUBZ API: Powering Seamless VTU and Bill Payment Integrations</strong></p>\n<p>Unlock your business's full potential with the GSUBZ API, a leading solution for simple and efficient online/mobile recharges. Designed to streamline your services, our API allows you to effortlessly integrate diverse functionalities such as data subscriptions, bill payments, airtime purchases, TV subscriptions, and recharge card printing directly into your website.</p>\n<p><strong>Getting Started is Easy:</strong></p>\n<ol>\n<li><p><strong>Create Your Free GSUBZ Account</strong>: Sign up for free and immediately start exploring our API's capabilities.</p>\n</li>\n<li><p><strong>Integrate and Innovate</strong>: Use our well-documented API to enhance your service offerings and provide your customers with a seamless experience.</p>\n</li>\n<li><p><strong>Receive an Upgrade</strong>: After integrating our API, we'll upgrade your account to allow you to get even cheaper prices.</p>\n</li>\n</ol>\n<p>With GSUBZ API, you're not just staying competitive—you're setting the pace in the world of virtual top-up and bill payment solutions. Start building with GSUBZ today and transform how your business handles payments and subscriptions.</p>\n<p>Get your Token[API KEY] here <a href=\"https://gsubz.com//dashboard/key.php\">https://gsubz.com//dashboard/key.php</a></p>\n<ul>\n<li>Code:'200':'<code>TRANSACTION_SUCCESSFUL</code>',<br>  However, a transaction can fail and still return 200, but with 'status\": 'failed'</li>\n</ul>\n<p>Example:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n    \"code\": 200,\n    \"status\": \"failed\",\n    \"transactionID\": \"3485293xxx\",\n    \"amount\": 125,\n    \"phone\": \"08167926xxx\",\n    \"serviceID\": \"mtn_sme\",\n    \"amountPaid\": 140,\n    \"initialBalance\": 6927928.0532408,\n    \"finalBalance\": 6927833.0532408,\n    \"date\": \"2024-09-14T19:31:06+01:00\",\n    \"api_response\": \"Activation of Data Transfer 500MB was not successful. Please try again.\"\n}\n\n</code></pre><ul>\n<li><p>Code:'204':'<code>REQUIRED_CONTENT_NOT_SENT</code>',</p>\n</li>\n<li><p>Code:'206':'<code>INVALID_CONTENT</code>',</p>\n</li>\n<li><p>Code:'401':' <code>INVALID_PLAN</code>',</p>\n</li>\n<li><p>Code:'402':'<code>INSUFFICIENT_BALANCE</code>',</p>\n</li>\n<li><p>Code:'404':'<code>CONTENT_NOT_FOUND</code>',</p>\n</li>\n<li><p>Code:'405':'<code>REQUEST_METHOD_NOT_IN_POST</code>'</p>\n</li>\n<li><p>Code:'406':'<code>SERVICE_DISABLED</code>',</p>\n</li>\n<li><p>Code:'502':'<code>GATEWAY_ERROR</code>'</p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"16767782","collectionId":"64f3a471-1437-4235-a08d-0fae7ed76f76","publishedId":"UyxhnnZz","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"152238","highlight":"ffeb3b"},"publishDate":"2024-07-04T15:54:38.000Z"},"item":[{"name":"data plans","id":"8961e807-3548-42cc-afbd-a6b33fcba083","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.gsubz.com/api/plans?service=mtn_sme","description":"<p><a href=\"https://gsubz.com/api/plans?service=%7B%7BserviceID%7D%7D\">https://api.gsubz.com/api/plans?service=mtn_sme</a></p>\n<p>End Point to get our list of available data plans</p>\n<blockquote>\n<p>useful for getting the appropriate <code>plan</code> for a particular data transfer </p>\n</blockquote>\n<p><strong>List of available data services (parameters)</strong></p>\n<p><strong>service=</strong><em>serviceID</em></p>\n<ul>\n<li><p><strong>service</strong>=<em>mtn_sme</em></p>\n</li>\n<li><p><strong>service</strong>=<em>mtn_cg_lite</em> (SME 2.0)</p>\n</li>\n<li><p><strong>service</strong>=<em>mtn_gifting</em></p>\n</li>\n<li><p><strong>service</strong>=<em>mtn_datashare (unavailable)</em></p>\n</li>\n<li><p><strong>service</strong>=<em>mtn_coupon</em></p>\n</li>\n<li><p><strong>service</strong>=<em>mtncg</em></p>\n</li>\n<li><p><strong>service</strong>=<em>airtel_cg</em></p>\n</li>\n<li><p><strong>service</strong>=<em>airtel_sme</em></p>\n</li>\n<li><p><strong>service</strong>=<em>glo_data</em></p>\n</li>\n<li><p><strong>service</strong>=glo_sme</p>\n</li>\n<li><p><strong>service</strong>=<em>etisalat_data</em></p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","plans"],"host":["api","gsubz","com"],"query":[{"description":{"content":"<p>//use any of the available serviceID's above</p>\n","type":"text/plain"},"key":"service","value":"mtn_sme"}],"variable":[]}},"response":[{"id":"8862e68c-6e4b-4224-9a99-a6229ea767a9","name":"plans","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://gsubz.com/api/plans?service=mtn_sme","protocol":"https","host":["gsubz","com"],"path":["api","plans"],"query":[{"key":"service","value":"mtn_sme","description":"Description"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"keep-alive","value":"timeout=5, max=100"},{"key":"x-powered-by","value":"PHP/7.2.34"},{"key":"content-type","value":"application/json"},{"key":"last-modified","value":"Tue, 11 Aug 2020 20:40:20 GMT"},{"key":"etag","value":"118b5e932f47541c6e5539c4bdb3dd71"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"cache-control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"content-length","value":"713"},{"key":"date","value":"Mon, 02 May 2022 16:47:11 GMT"},{"key":"server","value":"LiteSpeed"},{"key":"x-turbo-charged-by","value":"LiteSpeed"}],"cookie":[],"responseTime":null,"body":"{\n    \"service\": \"MTN-SME-Data(*461*4#)\",\n    \"PlanName\": \"plan\",\n    \"fixedPrice\": true,\n    \"plans\": [\n        {\n            \"displayName\": \"10GB - 30days\",\n            \"value\": \"260\",\n            \"price\": \"2400\"\n        },\n        {\n            \"displayName\": \"1GB - 30days\",\n            \"value\": \"166\",\n            \"price\": \"240\"\n        },\n        {\n            \"displayName\": \"2GB - 30days\",\n            \"value\": \"167\",\n            \"price\": \"480\"\n        },\n        {\n            \"displayName\": \"500MB - 30 Days\",\n            \"value\": \"179\",\n            \"price\": \"120\"\n        },\n        {\n            \"displayName\": \"5GB - 30days\",\n            \"value\": \"169\",\n            \"price\": \"1200\"\n        }\n    ]\n}"}],"_postman_id":"8961e807-3548-42cc-afbd-a6b33fcba083"},{"name":"buy data","id":"576ec89c-f387-4dcb-a483-6c9bfa7a3eaa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer ap_83c2ee17ca19e2c34e29a0f17cd5bd89","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"serviceID","value":"mtn_sme","description":"<p>//serviceID for the particular service you want to purchase</p>\n","type":"text"},{"key":"plan","value":"179","description":"<p>//plan, Query GET data plans to get plans with serviceID</p>\n","type":"text"},{"key":"api","value":"ap_83c2ee17ca19e2c34e29a0f17cd5bd89","description":"<p>// your api_key</p>\n","type":"text"},{"key":"amount","value":"","description":"<p>//passed as an empty field</p>\n","type":"text"},{"key":"phone","value":"08140558898","description":"<p>//phone number you want to subscribe</p>\n","type":"text"},{"key":"requestID","value":"duhfsibwudh3hg473rb73b7rb73br7v","description":"<p>//optional</p>\n","type":"text"}]},"url":"https://api.gsubz.com/api/pay/","description":"<p>Endpoint to send data to your customers</p>\n<ul>\n<li>The <code>api</code> is your API key and it can be gotten from <a href=\"https://gsubz.com/dashboard/key.php\">here</a> as <strong>API KEY</strong></li>\n<li>The serviceID allowed here are <strong><code>mtncg,</code></strong> <strong><code>airtel_cg..</code></strong> Query <code>GET buy data</code> to get the plans. They both must be spelt correctly with the proper case.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","pay",""],"host":["api","gsubz","com"],"query":[],"variable":[]}},"response":[{"id":"5981cd30-2c09-4fec-b135-9886327a7641","name":"buy data","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ap_83c2ee17ca19e2c34e29a0f17cd5bd89","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"serviceID","value":"mtn_sme","description":"{serviceID} ","type":"text"},{"key":"plan","value":"179","description":"{plan}","type":"text"},{"key":"api","value":"ap_83c2ee17ca19e2c34e29a0f17cd5bd89","description":"{api_key}","type":"text"},{"key":"amount","value":"","description":"passed as an empty field","type":"text"},{"key":"phone","value":"08140558898","description":"type number {phone}","type":"text"},{"key":"requestID","value":"8dhbc8w7huwh8hw9hew9","description":"It is optional and useful to check the transmission status","type":"text"}]},"url":"https://gsubz.com/api/pay/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"keep-alive","value":"timeout=5, max=100"},{"key":"x-powered-by","value":"PHP/7.2.34"},{"key":"last-modified","value":"Tue, 03 May 2022 00:48:51 GMT"},{"key":"clear-site-data","value":"\"cache\""},{"key":"content-type","value":"application/json"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"cache-control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"content-length","value":"739"},{"key":"date","value":"Tue, 03 May 2022 00:48:52 GMT"},{"key":"server","value":"LiteSpeed"},{"key":"x-turbo-charged-by","value":"LiteSpeed"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"status\": \"TRANSACTION_SUCCESSFUL\",\n    \"description\": \"TRANSACTION_SUCCESSFUL\",\n    \"content\": {\n        \"transactionID\": 3075647208,\n        \"requestID\": \"\",\n        \"amount\": \"120\",\n        \"phone\": \"08140558898\",\n        \"serviceID\": \"mtn_sme\",\n        \"amountPaid\": 120,\n        \"initialBalance\": \"1400\",\n        \"finalBalance\": 1280,\n        \"image\": \"//gsubz.com/uploads/service/368483884.png\",\n        \"fee\": \"0\",\n        \"serviceName\": \"MTN-SME-Data(*461*4#)\",\n        \"status\": \"TRANSACTION_SUCCESSFUL\",\n        \"code\": 200,\n        \"description\": \"TRANSACTION_SUCCESSFUL\",\n        \"date\": \"2022-05-03T01:48:52+01:00\",\n        \"diplayValue\": null\n    },\n    \"gateway\": {\n        \"referrer\": \"\"\n    }\n}"}],"_postman_id":"576ec89c-f387-4dcb-a483-6c9bfa7a3eaa"},{"name":"buy exam pin","id":"d3765128-fbc6-4bd0-a48f-59258c220097","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer ap_83c2ee17ca19e2c34e29a0f17cd5bd89","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"serviceID","value":"waec","description":"<p>//serviceID can be waec, neco or nabteb</p>\n","type":"text"},{"key":"plan","value":"waec","description":"<p>//plan, can be waec, neco or nabteb</p>\n","type":"text"},{"key":"api","value":"ap_83c2ee17ca19e2c34e29a0f17cd5bd89","description":"<p>// your api_key</p>\n","type":"text"},{"key":"amount","value":"","description":"<p>//passed as an empty field</p>\n","type":"text"},{"key":"phone","value":"08140558898","description":"<p>//phone number you want to subscribe</p>\n","type":"text"}]},"url":"https://api.gsubz.com/api/pay/","description":"<p>Endpoint to send data to your customers</p>\n<ul>\n<li><p>The <code>api</code> is your API key and it can be gotten from <a href=\"https://gsubz.com/dashboard/key.php\">here</a> as <strong>API KEY</strong></p>\n</li>\n<li><p>The serviceID allowed here are <strong><code>waec,neco,nabteb</code></strong></p>\n</li>\n<li><p>There is only one plan per service <strong><code>waec or neco or nabteb</code></strong></p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","pay",""],"host":["api","gsubz","com"],"query":[],"variable":[]}},"response":[{"id":"1ba771e0-0aa3-444a-928d-8d0bde52d965","name":"buy waec","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ap_83c2ee17ca19e2c34e29a0f17cd5bd89","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"serviceID","value":"waec","description":"{serviceID} ","type":"text"},{"key":"plan","value":"waecdirect","description":"{plan}","type":"text"},{"key":"api","value":"ap_83c2ee17ca19e2c34e29a0f17cd5bd89","description":"{api_key}","type":"text"},{"key":"amount","value":"","description":"passed as an empty field","type":"text"},{"key":"phone","value":"08140558898","description":"type number {phone}","type":"text"},{"key":"requestID","value":"87dfhw8dbw8e7hw9d9dh","description":"optional","type":"text"}]},"url":"https://gsubz.com/api/pay/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"keep-alive","value":"timeout=5, max=100"},{"key":"x-powered-by","value":"PHP/7.2.34"},{"key":"last-modified","value":"Tue, 03 May 2022 00:48:51 GMT"},{"key":"clear-site-data","value":"\"cache\""},{"key":"content-type","value":"application/json"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"cache-control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"content-length","value":"739"},{"key":"date","value":"Tue, 03 May 2022 00:48:52 GMT"},{"key":"server","value":"LiteSpeed"},{"key":"x-turbo-charged-by","value":"LiteSpeed"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"d3765128-fbc6-4bd0-a48f-59258c220097"},{"name":"buy airtime","id":"457aa68d-322f-4578-bdcd-0a02ab497548","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer ap_83c2ee17ca19e2c34e29a0f17cd5bd89","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"serviceID","value":"mtn","description":"<p>//serviceID </p>\n","type":"text"},{"key":"api","value":"ap_83c2ee17ca19e2c34e29a0f17cd5bd89","description":"<p>//your api_key</p>\n","type":"text"},{"key":"amount","value":"100","description":"<p>//amount of airtime, minimum is 100</p>\n","type":"text"},{"key":"phone","value":"08140558898","description":"<p>//phone number</p>\n","type":"text"}]},"url":"https://api.gsubz.com/api/pay/","description":"<p>Endpoint to send data to your customers</p>\n<ul>\n<li>The <code>api</code> is your API key and it can be gotten from <a href=\"https://gsubz.com/dashboard/key.php\">here</a> as <strong>API KEY</strong></li>\n<li>The serviceID allowed here are <strong><code>mtn,</code></strong> <strong><code>airtel, etisalat, glo only..</code></strong> They both must be spelt correctly with the proper case.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","pay",""],"host":["api","gsubz","com"],"query":[],"variable":[]}},"response":[{"id":"79df8f1b-798f-4546-a2d1-a1989d517641","name":"buy airtime","originalRequest":{"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the api header generated by Postman.","key":"api","value":"Bearer ap_83c2ee17ca19e2c34e29a0f17cd5bd89","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"serviceID","value":"mtn","description":"{serviceID} ","type":"text"},{"key":"plan","value":"179","description":"{plan}","type":"text","disabled":true},{"key":"api","value":"ap_83c2ee17ca19e2c34e29a0f17cd5bd89","description":"{api_key}","type":"text"},{"key":"amount","value":"100","description":"passed as an empty field","type":"text"},{"key":"phone","value":"08140558898","description":"type number {phone}","type":"text"}]},"url":"https://gsubz.com/api/pay/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"keep-alive","value":"timeout=5, max=100"},{"key":"x-powered-by","value":"PHP/7.2.34"},{"key":"last-modified","value":"Tue, 03 May 2022 00:52:44 GMT"},{"key":"clear-site-data","value":"\"cache\""},{"key":"content-type","value":"application/json"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"cache-control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"content-length","value":"726"},{"key":"date","value":"Tue, 03 May 2022 00:52:46 GMT"},{"key":"server","value":"LiteSpeed"},{"key":"x-turbo-charged-by","value":"LiteSpeed"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"status\": \"TRANSACTION_SUCCESSFUL\",\n    \"description\": \"TRANSACTION_SUCCESSFUL\",\n    \"content\": {\n        \"transactionID\": 2430882514,\n        \"requestID\": \"\",\n        \"amount\": \"100\",\n        \"phone\": \"08140558898\",\n        \"serviceID\": \"mtn\",\n        \"amountPaid\": 100,\n        \"initialBalance\": \"1280\",\n        \"finalBalance\": 1180,\n        \"image\": \"//gsubz.com/uploads/service/1951868123.png\",\n        \"fee\": \"0\",\n        \"serviceName\": \"MTN-Airtime\",\n        \"status\": \"TRANSACTION_SUCCESSFUL\",\n        \"code\": 200,\n        \"description\": \"TRANSACTION_SUCCESSFUL\",\n        \"date\": \"2022-05-03T01:52:44+01:00\",\n        \"diplayValue\": null\n    },\n    \"gateway\": {\n        \"referrer\": \"\"\n    }\n}"}],"_postman_id":"457aa68d-322f-4578-bdcd-0a02ab497548"},{"name":"fetch wallet balance","id":"9a060bf1-2da0-484d-92fb-a4f8ffe9e81d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer ap_xxxxxxxxxxxxxxxxxxxxxxxxxx","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"api","value":"ap_xxxxxxxxxxxxxxxxxxxxxxxxxxx","description":"<p>// your api_key</p>\n","type":"text"}]},"url":"https://api.gsubz.com/api/balance/","description":"<p>Endpoint to check user balance</p>\n<ul>\n<li>The <code>api</code> is your API key and it can be gotten from <a href=\"https://gsubz.com/dashboard/key.php\">here</a> as <strong>API KEY</strong></li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","balance",""],"host":["api","gsubz","com"],"query":[],"variable":[]}},"response":[{"id":"37b76110-c9f6-475a-bde9-74402c3dfdfa","name":"fetch wallet balance","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ap_xxxxxxxxxxxxxxxxxxxxxxxxxx","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"api","value":"ap_xxxxxxxxxxxxxxxxxxxxxxxxxxx","description":"// your api_key","type":"text"}]},"url":"https://gsubz.com/api/balance/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"cache-control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"content-length","value":"44"},{"key":"date","value":"Tue, 31 Oct 2023 16:19:55 GMT"},{"key":"server","value":"LiteSpeed"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000, h3-29=\":443\"; ma=2592000, h3-Q050=\":443\"; ma=2592000, h3-Q046=\":443\"; ma=2592000, h3-Q043=\":443\"; ma=2592000, quic=\":443\"; ma=2592000; v=\"43,46\""},{"key":"connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"balance\": \"747.5\"\n}"}],"_postman_id":"9a060bf1-2da0-484d-92fb-a4f8ffe9e81d"},{"name":"fetch transaction status","id":"0a8a988e-76ae-4b69-8bd6-644066711b33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer ap_83c2ee17ca19e2c34e29a0f17cd5bd89","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"api","value":"ap_83c2ee17ca19e2c34e29a0f17cd5bd89","description":"<p>// your api_key</p>\n","type":"text"},{"key":"requestID","value":"7wbd7wbdw7d72g6vd","description":"<p>//requestID passed during purchase</p>\n","type":"text"}]},"url":"https://api.gsubz.com/api/verify/","description":"<p>Endpoint to check transaction status and response</p>\n<ul>\n<li>The <code>api</code> is your API key and it can be gotten from <a href=\"https://gsubz.com/dashboard/key.php\">here</a> as <strong>API KEY</strong></li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","verify",""],"host":["api","gsubz","com"],"query":[],"variable":[]}},"response":[{"id":"baca9dc2-10d0-4e74-8619-8ac012e61168","name":"fetch transaction status","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ap_adxxxxxxxxxxxxxxxxxxxxxxx","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"requestID","value":"3292609847","description":"//serviceID for the particular service you want to purchase","type":"text"},{"key":"api","value":"ap_ad9xxxxxxxxxxxxxxxxxxxxxxxxxxx","description":"// your api_key","type":"text"}]},"url":"https://gsubz.com/api/verify/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"cache-control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"content-length","value":"247"},{"key":"date","value":"Wed, 25 Oct 2023 14:05:00 GMT"},{"key":"server","value":"LiteSpeed"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000, h3-29=\":443\"; ma=2592000, h3-Q050=\":443\"; ma=2592000, h3-Q046=\":443\"; ma=2592000, h3-Q043=\":443\"; ma=2592000, quic=\":443\"; ma=2592000; v=\"43,46\""},{"key":"connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": \"200\",\n    \"status\": \"success\",\n    \"description\": \"TRANSACTION_SUCCESSFUL\",\n    \"api_response\": \"Dear Customer, You have successfully shared 1GB Data to 2349063648020. Your SME data balance is 28955.68GB expires 30/01/2024. Thankyou\"\n}"}],"_postman_id":"0a8a988e-76ae-4b69-8bd6-644066711b33"},{"name":"recharge pins/epins printing","id":"669823de-ca94-49d3-bd90-787b435671ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer ap_83c2ee17ca19e2c34e29a0f17cd5bd89","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"network","value":"airtel","type":"text","description":"<p>//required: mtn,  airtel, glo, 9mobile</p>\n"},{"key":"value","value":"500","description":"<p>//required: amount to generate, 100, 200, 400, 500</p>\n","type":"text"},{"key":"number","value":"1","description":"<p>//required: number of pins to be generated, minimum is 10 for values below 500.</p>\n","type":"text"}]},"url":"https://api.gsubz.com/apiV2/generate/","description":"<p>Endpoint to send generate recharge pins.<br />The api is your API key and it can be gotten from <a href=\"https://gsubz.com/dashboard/key.php\">here</a> as API KEY<br />The <code>network</code> allowed here are</p>\n<ul>\n<li><code>airtel</code></li>\n<li><code>glo</code></li>\n<li><code>9mobile</code></li>\n<li><code>glo</code></li>\n</ul>\n<p>They all must be spelt correctly with the proper case.</p>\n","urlObject":{"protocol":"https","path":["apiV2","generate",""],"host":["api","gsubz","com"],"query":[],"variable":[]}},"response":[{"id":"a7aec8c1-3744-41c8-9da7-13892416e8e6","name":"recharge pins/epins printing","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ap_83c2ee17ca19e2c34e29a0f17cd5bd89","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"network","value":"airtel","type":"text","description":"//required: mtn,  airtel, glo, 9mobile"},{"key":"value","value":"500","description":"//required: amount to generate, 100, 200, 400, 500","type":"text"},{"key":"number","value":"1","description":"//required: number of pins to be generated","type":"text"}]},"url":"https://gsubz.com/apiV2/generate/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"keep-alive","value":"timeout=5, max=100"},{"key":"x-powered-by","value":"PHP/7.2.34"},{"key":"content-type","value":"application/json"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"cache-control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"content-length","value":"388"},{"key":"date","value":"Tue, 03 May 2022 09:41:57 GMT"},{"key":"server","value":"LiteSpeed"},{"key":"x-turbo-charged-by","value":"LiteSpeed"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"We Received your order, 1 of 1 delivered\\n Thank you for your patronage\",\n    \"status\": \"success\",\n    \"id\": \"c143e774874a59623aa928292d128f97\",\n    \"network\": \"Airtel\",\n    \"value\": \"500\",\n    \"number\": \"1\",\n    \"delivered\": \"1\",\n    \"pending\": 0,\n    \"pins\": [\n        {\n            \"pin\": \"5794977707301520\",\n            \"sn\": \"26026825914918714922\"\n        }\n    ]\n}"}],"_postman_id":"669823de-ca94-49d3-bd90-787b435671ef"},{"name":"cable tv sub plans","id":"5c5234c3-1d62-4feb-b53f-3942787cc8fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.gsubz.com/api/plans?service=gotv","description":"<p><a href=\"https://gsubz.com/api/plans?service=%7B%7BserviceID%7D%7D\">https://gsubz.com/api/plans?service=mtn_sme</a></p>\n<p>End Point to get a list of all available cable tv plans</p>\n<blockquote>\n<p>useful for getting the appropriate <code>plan</code> a particular cable subscription </p>\n</blockquote>\n<p><strong>List of available data services (parameters)</strong></p>\n<p><strong>service =</strong> <em>serviceID</em></p>\n<ul>\n<li><p><strong>service =</strong> <em>gotv</em></p>\n</li>\n<li><p><strong>service =</strong> <em>dstv</em></p>\n</li>\n<li><p><strong>service =</strong> <em>startimes</em></p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","plans"],"host":["api","gsubz","com"],"query":[{"description":{"content":"<p>//dstv, gotv, startimes</p>\n","type":"text/plain"},"key":"service","value":"gotv"}],"variable":[]}},"response":[{"id":"64f71cc1-daee-4e16-8fea-41a58940c830","name":"plans","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://gsubz.com/api/plans?service=gotv","protocol":"https","host":["gsubz","com"],"path":["api","plans"],"query":[{"key":"service","value":"gotv"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"keep-alive","value":"timeout=5, max=100"},{"key":"x-powered-by","value":"PHP/7.2.34"},{"key":"content-type","value":"application/json"},{"key":"last-modified","value":"Tue, 11 Aug 2020 20:40:20 GMT"},{"key":"etag","value":"118b5e932f47541c6e5539c4bdb3dd71"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"cache-control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"content-length","value":"947"},{"key":"date","value":"Tue, 03 May 2022 01:45:02 GMT"},{"key":"server","value":"LiteSpeed"},{"key":"x-turbo-charged-by","value":"LiteSpeed"}],"cookie":[],"responseTime":null,"body":"{\n    \"service\": \"GOTV\",\n    \"PlanName\": \"variation_code\",\n    \"fixedPrice\": true,\n    \"plans\": [\n        {\n            \"displayName\": \"GOtv Jinja N1,900\",\n            \"value\": \"gotv-jinja\",\n            \"price\": \"1900\"\n        },\n        {\n            \"displayName\": \"GOtv Jolli N2,800\",\n            \"value\": \"gotv-jolli\",\n            \"price\": \"2800\"\n        },\n        {\n            \"displayName\": \"GOtv Max N4,150\",\n            \"value\": \"gotv-max\",\n            \"price\": \"4150\"\n        },\n        {\n            \"displayName\": \"GOtv Smallie - monthly N900\",\n            \"value\": \"gotv-smallie\",\n            \"price\": \"900\"\n        },\n        {\n            \"displayName\": \"GOtv Smallie - quarterly N2,400\",\n            \"value\": \"gotv-smallie-3months\",\n            \"price\": \"2400\"\n        },\n        {\n            \"displayName\": \"GOtv Smallie - yearly N7,000\",\n            \"value\": \"gotv-smallie-1year\",\n            \"price\": \"7000\"\n        }\n    ]\n}"}],"_postman_id":"5c5234c3-1d62-4feb-b53f-3942787cc8fd"},{"name":"buy tv/decoder/cablesub","id":"457ba6f5-4c74-43a2-ae89-497d5725b646","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer ap_83c2ee17ca19e2c34e29a0f17cd5bd89","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"serviceID","value":"gotv","description":"<p>//dstv, gotv, startimes</p>\n","type":"text"},{"key":"api","value":"ap_83c2ee17ca19e2c34e29a0f17cd5bd89","description":"<p>//your api_key</p>\n","type":"text"},{"key":"variation_code","value":"gotv-smallie","description":"<p>//query GET cable tv sub plans to get plans for various plans</p>\n","type":"text"},{"key":"phone","value":"08140558898","description":"<p>//phone number, can be any number</p>\n","type":"text"},{"key":"amount","value":"","description":"<p>//passed as empty string</p>\n","type":"text"},{"key":"customerID","value":"0000000000","description":"<p>//IUC or Smartcard Number of the decoder</p>\n","type":"text"}]},"url":"https://api.gsubz.com/api/pay/","description":"<p>Endpoint to send data to your customers</p>\n<ul>\n<li>The <code>api</code> is your API key and it can be gotten from <a href=\"https://gsubz.com/dashboard/key.php\">here</a> as <strong>API KEY</strong></li>\n<li>The serviceID allowed here are <strong><code>gotv,</code></strong> <strong><code>dstv, startimes only..</code></strong> They both must be spelt correctly with the proper case.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","pay",""],"host":["api","gsubz","com"],"query":[],"variable":[]}},"response":[{"id":"4e4bfb22-3399-4b51-a7cf-a46d57e3078d","name":"buy tv/decoder/cablesub","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ap_83c2ee17ca19e2c34e29a0f17cd5bd89","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"serviceID","value":"gotv","description":"dstv, gotv, startimes","type":"text"},{"key":"plan","value":"179","description":"{plan}","type":"text","disabled":true},{"key":"api","value":"ap_83c2ee17ca19e2c34e29a0f17cd5bd89","description":"{api_key}","type":"text"},{"key":"plan","value":"gotv-smallie","type":"text"},{"key":"phone","value":"08140558898","description":"type number {phone}","type":"text"},{"key":"amount","value":"","type":"text"},{"key":"customerID","value":"0000000000","type":"text"}]},"url":"https://gsubz.com/api/pay/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"keep-alive","value":"timeout=5, max=100"},{"key":"x-powered-by","value":"PHP/7.2.34"},{"key":"last-modified","value":"Tue, 03 May 2022 01:34:19 GMT"},{"key":"clear-site-data","value":"\"cache\""},{"key":"content-type","value":"application/json"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"cache-control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"content-length","value":"719"},{"key":"date","value":"Tue, 03 May 2022 01:34:23 GMT"},{"key":"server","value":"LiteSpeed"},{"key":"x-turbo-charged-by","value":"LiteSpeed"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"status\": \"TRANSACTION_SUCCESSFUL\",\n    \"description\": \"TRANSACTION_SUCCESSFUL\",\n    \"content\": {\n        \"transactionID\": 3685573902,\n        \"requestID\": \"\",\n        \"amount\": \"900\",\n        \"phone\": \"08140558898\",\n        \"serviceID\": \"gotv\",\n        \"amountPaid\": 900,\n        \"initialBalance\": \"1180\",\n        \"finalBalance\": 280,\n        \"image\": \"//gsubz.com/uploads/service/1029285934.png\",\n        \"fee\": \"0\",\n        \"serviceName\": \"GOTV\",\n        \"status\": \"TRANSACTION_SUCCESSFUL\",\n        \"code\": 200,\n        \"description\": \"TRANSACTION_SUCCESSFUL\",\n        \"date\": \"2022-05-03T02:34:19+01:00\",\n        \"diplayValue\": null\n    },\n    \"gateway\": {\n        \"referrer\": \"\"\n    }\n}"}],"_postman_id":"457ba6f5-4c74-43a2-ae89-497d5725b646"},{"name":"buy electric token","id":"b224f410-8206-4074-89c6-3f44c81b71c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer ap_83c2ee17ca19e2c34e29a0f17cd5bd89","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"serviceID","value":"kaduna-electric","description":"<p>//check comment above for available serviceID's</p>\n","type":"text"},{"key":"api","value":"ap_83c2ee17ca19e2c34e29a0f17cd5bd89","description":"<p>//your api key</p>\n","type":"text"},{"key":"phone","value":"08140558898","description":"<p>//phone number can be any number</p>\n","type":"text"},{"key":"customerID","value":"00000000000","type":"text","description":"<p>//meter number</p>\n"},{"key":"amount","value":"1100","description":"<p>//amount to be generated</p>\n","type":"text"},{"key":"variation_code","value":"prepaid","description":"<p>//prepaid or postpaid</p>\n","type":"text"}]},"url":"https://api.gsubz.com/api/pay/","description":"<p>Endpoint to send generate electricity tokens.<br />The api is your API key and it can be gotten from here as API KEY<br />The serviceID allowed here are</p>\n<ul>\n<li><p><code>abuja-electric</code></p>\n</li>\n<li><p><code>eko-electric</code></p>\n</li>\n<li><p><code>ibadan-electric</code></p>\n</li>\n<li><p><code>ikeja-electric</code></p>\n</li>\n<li><p><code>jos-electic</code></p>\n</li>\n<li><p><code>Kaduna-electric</code></p>\n</li>\n<li><p><code>kano-electric</code></p>\n</li>\n<li><p><code>portharcourt-electric</code></p>\n</li>\n<li><p><code>aba-electric</code></p>\n</li>\n<li><p><code>yola-electric</code></p>\n</li>\n<li><p><code>benin-electric</code></p>\n</li>\n<li><p><code>enugu-electric</code></p>\n</li>\n</ul>\n<p>They all must be spelt correctly with the proper case.</p>\n","urlObject":{"protocol":"https","path":["api","pay",""],"host":["api","gsubz","com"],"query":[],"variable":[]}},"response":[{"id":"6feea696-24ff-42a7-b01e-f1ef4be2948d","name":"buy electric token","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ap_83c2ee17ca19e2c34e29a0f17cd5bd89","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"serviceID","value":"kaduna_electric","type":"text"},{"key":"plan","value":"179","description":"{plan}","type":"text","disabled":true},{"key":"api","value":"ap_83c2ee17ca19e2c34e29a0f17cd5bd89","description":"{api_key}","type":"text"},{"key":"plan","value":"gotv-smallie","type":"text","disabled":true},{"key":"phone","value":"08140558898","description":"type number {phone}","type":"text"},{"key":"amount","value":"1100","description":"passed as empty string","type":"text"},{"key":"customerID","value":"00000000000","type":"text","description":"meter number"}]},"url":"https://gsubz.com/api/pay/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"keep-alive","value":"timeout=5, max=100"},{"key":"x-powered-by","value":"PHP/7.2.34"},{"key":"last-modified","value":"Tue, 03 May 2022 02:00:59 GMT"},{"key":"clear-site-data","value":"\"cache\""},{"key":"content-type","value":"application/json"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"cache-control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"content-length","value":"746"},{"key":"date","value":"Tue, 03 May 2022 02:01:00 GMT"},{"key":"server","value":"LiteSpeed"},{"key":"x-turbo-charged-by","value":"LiteSpeed"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 200,\n    \"status\": \"TRANSACTION_SUCCESSFUL\",\n    \"description\": \"TRANSACTION_SUCCESSFUL\",\n    \"content\": {\n        \"transactionID\": 3574357094,\n        \"requestID\": \"\",\n        \"amount\": \"1100\",\n        \"phone\": \"08140558898\",\n        \"serviceID\": \"kaduna_electric\",\n        \"amountPaid\": 1100,\n        \"initialBalance\": \"1280\",\n        \"finalBalance\": 180,\n        \"image\": \"//gsubz.com/uploads/service/1867790347.png\",\n        \"fee\": \"0\",\n        \"serviceName\": \"Kaduna Electricity\",\n        \"status\": \"TRANSACTION_SUCCESSFUL\",\n        \"code\": 200,\n        \"description\": \"TRANSACTION_SUCCESSFUL\",\n        \"date\": \"2022-05-03T03:00:59+01:00\",\n        \"diplayValue\": null\n    },\n    \"gateway\": {\n        \"referrer\": \"\"\n    }\n}"}],"_postman_id":"b224f410-8206-4074-89c6-3f44c81b71c6"}],"variable":[{"key":"serviceId","value":"mtn_sme"},{"key":"serviceID","value":"mtn_sme"}]}