{"info":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","description":"<html><head></head><body><p>The KiNG FLEXY GH Developer API: sell Ghana digital services from your own\napp, website or bot. MTN, Telecel and AirtelTigo data bundles and Standard\nBundles, airtime, WAEC/BECE/WASSCE results checker vouchers, MTN AFA\nregistration, utility bill payments (ECG, Ghana Water, DStv, GOtv,\nStarTimes), bulk SMS, and mobile-money wallet top-ups.</p>\n<p>Every service is provided by KiNG FLEXY GH. We fulfil each order and pay the\nbiller or network on your behalf, delivered through our network of licensed\npartners. You deal with one company: one wallet, one set of prices, one\nsupport desk.</p>\n<h3 id=\"environment\">Environment</h3>\n<p><strong>Production</strong> moves real money; a free <strong>Sandbox</strong> is available for testing (see Sandbox below). Every\nendpoint lives under <code>/api/v2</code> (v2 is the only version; v1 was retired).</p>\n<h3 id=\"sandbox\">Sandbox</h3>\n<p>Free test keys from Dashboard &gt; Developer API: <code>kf_test_...</code> (standard), <code>kf_cs_test_...</code> (Commission\nServices). Same base URL as production, a virtual GHS 1,000 wallet each, never move real money; swap in a\nlive key when ready, nothing else changes. Sandbox responses carry <code>meta.livemode: false</code> and header\n<code>X-KFT-Environment: sandbox</code>; sandbox webhook payloads carry <code>livemode: false</code>. <code>GET /sandbox/scenarios</code>\nreturns these rules as JSON (sandbox keys only; <code>403</code> for a live key).</p>\n<p>Outcome is decided by the recipient phone's LAST FOUR digits: <code>0001</code> succeeds (<del>3s, <code>order.completed</code>);\n<code>0002</code> fails and refunds (</del>3s, <code>order.refunded</code> — except results checker: instant <code>409</code>, no charge;\nverify-number: <code>allowed: false</code>; utilities lookup: <code>404</code>); <code>0003</code> stays pending forever (test polling and\ntimeouts); <code>0004</code> on data orders is held <code>blacklisted</code> (results checker completes instantly regardless;\nother products behave like <code>0003</code>); any other number succeeds.</p>\n<p>Utilities lookup: any account/phone returns one canned meter (example <code>0200000001</code>) except numbers ending\n<code>0002</code> (<code>404</code> \"account not found\"). Limits: 60 requests/min per key (each order in a bulk batch counts as\none); bulk data max 25 items (live: 100); Standard Bundles <code>pack_id</code> purchases unavailable; wallet top-up\nand SMS unavailable (<code>403</code>). References: 3-100 characters (Standard Bundles: letters, digits, <code>. _ : -</code>;\nutilities: optional, at most 64 characters of letters, digits, <code>. _ -</code>).</p>\n<h3 id=\"authentication\">Authentication</h3>\n<p>Send your API key RAW in the <code>Authorization</code> header (no <code>Bearer</code> prefix).\nThere are three key types, and each one only works on its own endpoints:</p>\n<ul>\n<li><strong>Standard</strong> (<code>kf_live_...</code>): account, data, wallet balance and wallet top-up, data orders, results checker, AFA.</li>\n<li><strong>Commission Services</strong> (<code>kf_cs_live_...</code>): airtime, Standard Bundles, utility bills.</li>\n<li><strong>SMS</strong> (<code>kf_sms_live_...</code>): SMS.</li>\n</ul>\n<p>Using the wrong key type returns <code>403</code>. Create keys in Dashboard &gt; Developer\nAPI. A key is shown once and goes live after admin approval.</p>\n<h3 id=\"pricing\">Pricing</h3>\n<p>KiNG FLEXY GH sets every price, and we compute it on our side. <strong>Never send a\nprice.</strong> Any price, fee or discount field in a request body is ignored; you\nare charged what our catalog says for your account role, and the response\ntells you what you paid.</p>\n<h3 id=\"response-envelope\">Response envelope</h3>\n<p>Every endpoint returns one of two shapes:</p>\n<ul>\n<li>Success: <code>{ \"success\": true, \"data\": { ... }, \"meta\": { \"timestamp\": \"...\", \"version\": \"v2\" } }</code></li>\n<li>Error: <code>{ \"success\": false, \"error\": { \"code\": 400, \"message\": \"...\" } }</code></li>\n</ul>\n<h3 id=\"ghana-only\">Ghana only</h3>\n<p>This platform serves Ghanaian mobile networks and services exclusively\n(MTN, Telecel, AirtelTigo). There is no coverage outside Ghana.</p>\n<h3 id=\"network-number-validation\">Network number validation</h3>\n<p>We validate a recipient/beneficiary number's network from its prefix\nbefore submitting an order. As of this writing:</p>\n<ul>\n<li><strong>MTN</strong>: 024, 025, 053, 054, 055, 059</li>\n<li><strong>Telecel</strong>: 020, 050</li>\n<li><strong>AirtelTigo</strong>: 026, 027, 056, 057</li>\n</ul>\n<p>These prefix-to-network mappings are <strong>not guaranteed to stay fixed</strong> —\nGhanaian operators occasionally get reassigned or new ranges opened by\nthe regulator. Don't hardcode this list into your own client-side\nvalidation as a permanent source of truth; treat our API's response as\nthe final word on whether a number/network pairing is accepted, and\nre-check this document periodically for changes.</p>\n<h3 id=\"idempotency\">Idempotency</h3>\n<p>Every money-moving endpoint accepts a <code>reference</code> you choose. Repeating\nthe exact same request with the same reference returns the original\norder instead of charging again. Reusing a reference for a <em>different</em>\nrequest returns <code>409 Conflict</code> and you are never charged twice. After a\ntimeout, always retry with the SAME reference; never mint a new one for a\nretry. On some products a reference is unique across every developer (the\nendpoint says so), so make yours distinctive, for example by prefixing it\nwith your own id.</p>\n<h3 id=\"errors\">Errors</h3>\n<ul>\n<li><code>400</code> invalid request; nothing was charged.</li>\n<li><code>401</code> missing or invalid API key.</li>\n<li><code>403</code> wrong key type for this endpoint, key pending or revoked, role not allowed, or account suspended.</li>\n<li><code>404</code> not found, or not owned by your account.</li>\n<li><code>409</code> the reference conflicts with an earlier request, or an identical request is still in progress.</li>\n<li><code>429</code> too many requests: wait the time in the message (and the <code>Retry-After</code> header where present), then slow down.</li>\n<li><code>502</code> temporarily unreachable: retry shortly. Never treat it as \"not found\".</li>\n<li><code>503</code> the product is switched off or temporarily paused; nothing was charged.</li>\n<li><code>500</code> internal error: contact support if it persists.</li>\n</ul>\n<h3 id=\"webhooks\">Webhooks</h3>\n<p>Configure a webhook URL per API key in your dashboard (the Standard key covers <code>data</code>, <code>resultschecker</code>\nand <code>afa</code>; the Commission key covers <code>airtime</code>, <code>utilities</code> and <code>bundles</code>). We POST a JSON body:\n<code>{ event_id, event, product, reference, status, timestamp, detail? }</code> with the headers\n<code>Content-Type: application/json</code>, <code>User-Agent: KiNGFLEXYGH-Webhook/1.0</code> and <code>X-KFT-Signature</code> — the\nHMAC-SHA256 (hex) of the exact raw request body using your webhook secret. Verify it before trusting\nthe payload and compare in constant time (guard the length first).</p>\n<ul>\n<li><strong>URL rules:</strong> the webhook URL must be a public <code>https://</code> URL on the standard port 443 (no custom\nport), and its domain must not resolve to a private network address. Localhost, IP addresses and\ninternal hostnames are rejected. If the test reports \"Your webhook host points to a private network\naddress\", your domain resolves to a private/internal IP or your URL uses a port other than 443.</li>\n<li><strong>Respond with 2xx within 5 seconds.</strong> A redirect (3xx), any other status or a timeout is a failed\nattempt. We never follow redirects: save the final URL.</li>\n<li><strong>Retries:</strong> failed deliveries are retried automatically: about 5 minutes after the first failure,\nthen 30 minutes and 2 hours after each following failure (4 attempts in total — the last one roughly\n2½ hours after the first), then we stop. Delivery is at-least-once: deduplicate on <code>event_id</code>. Pending retries use your current URL and secret.</li>\n<li><strong>Events:</strong> <code>order.completed</code>, <code>order.failed</code>, and <code>order.refunded</code> (data and AFA orders). For\n<strong>data</strong> orders <code>order.failed</code> is NOT final — the order is retried automatically — and\n<code>order.refunded</code> is the only final failure. For airtime, utilities, bundles and results checker\n<code>order.failed</code> is final (<code>status</code> is <code>refunded</code> when your wallet was refunded).</li>\n<li><strong>Testing:</strong> the \"Send test event\" button on each webhook card sends a signed <code>webhook.test</code> event\n(<code>status: \"test\"</code>, <code>reference</code> starting <code>TEST-</code>, no order created) and reports the status, latency\nand the reason for any failure. Answer 2xx without running order logic: branch on\n<code>event == \"webhook.test\"</code> (the test carries <code>product</code> <code>data</code> for the Standard key or <code>airtime</code> for\nthe Commission key, and an <code>event_id</code> of the form <code>test:&lt;uuid&gt;</code>). One test per key every 30 seconds.</li>\n<li>We send from changing cloud IP addresses — do not IP-allowlist; verify the signature instead.</li>\n<li><strong>Wallet top-ups have no webhook event.</strong> Poll <code>GET /wallet/topup/{reference}</code> instead.</li>\n</ul>\n<h3 id=\"tips--recommendations-standard-bundles\">Tips &amp; recommendations (Standard Bundles)</h3>\n<ul>\n<li><strong>Cache the catalog.</strong> Cache <code>GET /bundles/catalog</code> and refresh it every few minutes to an hour; do not\ncall it before every purchase. Use the <code>ETag</code> / <code>If-None-Match</code> for cheap revalidation. Excessive catalog\nor status polling is rate limited.</li>\n<li><strong>Prefer webhooks over polling.</strong> Listen for <code>order.completed</code> / <code>order.failed</code> (product <code>bundles</code>; verify\nthe <code>X-KFT-Signature</code> HMAC-SHA256 hex of the raw body with your webhook secret; deduplicate on <code>event_id</code>).\nIf you poll <code>GET /bundles/orders/{reference}</code>, poll sparingly with back-off (for example 5s, 15s, 60s) and\nstop at a terminal status (<code>completed</code>, <code>failed</code>, <code>refunded</code>).</li>\n<li><strong>One reference per purchase, reused on retry.</strong> Send a unique <code>reference</code> per purchase and reuse the SAME\nreference on any retry; never generate a new reference for a retry. A repeat returns the original order\n(<code>is_duplicate: true</code>); <code>409</code> means the first attempt is still being processed.</li>\n<li><strong>Honour <code>429</code>.</strong> Wait the time given in the response (the <code>Retry-After</code> header and the \"Retry in N s\"\nmessage) and slow your overall request rate.</li>\n</ul>\n<p>Contact Support:\n Name: KiNG FLEXY GH</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"55615613","collectionId":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","publishedId":"2sBYAuTBhF","public":true,"customColor":{"highlight":"#FF6C37","right-sidebar":"#FFFFFF","top-bar":"#FFFFFF"},"publishDate":"2026-11-09T13:55:58.000Z"},"item":[{"name":"Account","item":[{"name":"Get your current role and expiry status","id":"57919c2f-a8b2-470f-be60-d1e3c3261126","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.kingflexygh.com/api/v2/account/role","description":"<p>Returns your current role and, for a time-limited dealer/agent, how many days remain before it lapses.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}},"urlObject":{"path":["account","role"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[]}},"response":[{"id":"2aeee0a4-3843-4c4b-a541-36e37ef92ec6","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":"https://api.kingflexygh.com/api/v2/account/role"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"role\": \"dealer\",\n    \"is_active\": true,\n    \"is_permanent\": false,\n    \"expires_at\": \"1983-07-22T20:01:28.040Z\",\n    \"days_remaining\": 8978\n  },\n  \"meta\": {\n    \"timestamp\": \"1953-11-21T23:12:16.186Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"72d25890-81c7-416b-a1c0-707b4e6b063b","name":"Missing or invalid API key","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":"https://api.kingflexygh.com/api/v2/account/role"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"397b447e-26e9-4ed1-9cb2-ec7e0f4f0696","name":"Rate limit exceeded for this endpoint","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":"https://api.kingflexygh.com/api/v2/account/role"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"57919c2f-a8b2-470f-be60-d1e3c3261126"}],"id":"bd76c042-3c9b-42cf-8ae8-2f114212cb01","description":"<p>Check your own role and expiry status. Standard key.</p>\n","_postman_id":"bd76c042-3c9b-42cf-8ae8-2f114212cb01","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}}},{"name":"Data","item":[{"name":"List available data packages","id":"0e791532-902f-40b0-821e-be9f0a501211","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.kingflexygh.com/api/v2/packages?network=MTN&size_gb=303.6930531565063","description":"<p>List available data packages with pricing for your account role. Call this first to discover valid network/size combinations before placing orders.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}},"urlObject":{"path":["packages"],"host":["https://api.kingflexygh.com/api/v2"],"query":[{"description":{"content":"<p>Case-sensitive network filter.</p>\n","type":"text/plain"},"key":"network","value":"MTN"},{"description":{"content":"<p>Filter by exact GB size, e.g. 5.</p>\n","type":"text/plain"},"key":"size_gb","value":"303.6930531565063"}],"variable":[]}},"response":[{"id":"b1117cac-02c1-4673-b37a-eb1c8a775695","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/packages?network=MTN&size_gb=303.6930531565063","host":["https://api.kingflexygh.com/api/v2"],"path":["packages"],"query":[{"description":"Case-sensitive network filter.","key":"network","value":"MTN"},{"description":"Filter by exact GB size, e.g. 5.","key":"size_gb","value":"303.6930531565063"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"packages\": [\n      {\n        \"id\": \"872b8732-1649-c9d5-a213-e40bdea07900\",\n        \"network\": \"string\",\n        \"size\": \"5GB\",\n        \"volume_gb\": 8104.196765995933,\n        \"price\": 3106.9901996362923,\n        \"currency\": \"GHS\"\n      },\n      {\n        \"id\": \"5260b494-8005-958d-7aa6-1b872fc94888\",\n        \"network\": \"string\",\n        \"size\": \"5GB\",\n        \"volume_gb\": 5207.19698707453,\n        \"price\": 8422.061539263492,\n        \"currency\": \"GHS\"\n      }\n    ],\n    \"total\": 4005\n  },\n  \"meta\": {\n    \"timestamp\": \"1951-05-18T16:23:04.032Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"25d389c5-b3c7-4e09-9c87-4af0fd50170f","name":"Missing or invalid API key","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/packages?network=MTN&size_gb=303.6930531565063","host":["https://api.kingflexygh.com/api/v2"],"path":["packages"],"query":[{"description":"Case-sensitive network filter.","key":"network","value":"MTN"},{"description":"Filter by exact GB size, e.g. 5.","key":"size_gb","value":"303.6930531565063"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"8d3c4170-97e7-4d9b-b3fa-fb7d86391620","name":"Rate limit exceeded for this endpoint","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/packages?network=MTN&size_gb=303.6930531565063","host":["https://api.kingflexygh.com/api/v2"],"path":["packages"],"query":[{"description":"Case-sensitive network filter.","key":"network","value":"MTN"},{"description":"Filter by exact GB size, e.g. 5.","key":"size_gb","value":"303.6930531565063"}]}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"0e791532-902f-40b0-821e-be9f0a501211"},{"name":"Purchase a single data bundle","id":"806a3a0f-59eb-40f5-aa05-cc4074fde748","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"Telecel\",\n  \"volume_gb\": 5,\n  \"recipient\": \"0551617309\",\n  \"reference\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/purchase","description":"<p>Purchase a single data bundle for a recipient phone number. Deducts from your wallet atomically.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}},"urlObject":{"path":["data","purchase"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[]}},"response":[{"id":"66375958-e179-47a1-aca7-58fbc6a3710e","name":"Order placed (or idempotent replay of an existing one)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"Telecel\",\n  \"volume_gb\": 5,\n  \"recipient\": \"0551617309\",\n  \"reference\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/purchase"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"order_id\": \"5e56693a-cd19-a8ef-4e42-10933d86dd78\",\n    \"reference\": \"string\",\n    \"status\": \"pending\",\n    \"network\": \"string\",\n    \"size\": \"string\",\n    \"recipient\": \"string\",\n    \"price\": 835.4854598442384,\n    \"source\": \"api\",\n    \"new_balance\": 7204.426410638443,\n    \"created_at\": \"2005-06-04T17:14:50.302Z\"\n  },\n  \"meta\": {\n    \"timestamp\": \"1992-06-14T13:30:25.911Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"9a9a6caa-c4c1-4412-bd04-df345c0e0abf","name":"Invalid request body or parameters","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"Telecel\",\n  \"volume_gb\": 5,\n  \"recipient\": \"0551617309\",\n  \"reference\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/purchase"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"5aeaf863-8268-44d1-a86b-69bd934b8a29","name":"Missing or invalid API key","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"Telecel\",\n  \"volume_gb\": 5,\n  \"recipient\": \"0551617309\",\n  \"reference\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/purchase"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"2737bd39-8e5d-4895-96a9-2445b09f4278","name":"Duplicate reference reused against a different request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"Telecel\",\n  \"volume_gb\": 5,\n  \"recipient\": \"0551617309\",\n  \"reference\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/purchase"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"cb91c759-6946-48ad-aaa0-9c2d40ea8543","name":"Rate limit exceeded for this endpoint","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"Telecel\",\n  \"volume_gb\": 5,\n  \"recipient\": \"0551617309\",\n  \"reference\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/purchase"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"806a3a0f-59eb-40f5-aa05-cc4074fde748"},{"name":"Purchase up to 100 data bundles in one batch","id":"2a02fa29-6f36-42a0-9683-bb354246e41a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"orders\": [\n    {\n      \"network\": \"AT-BigTime\",\n      \"volume_gb\": 4025.2548187396633,\n      \"recipient\": \"string\",\n      \"reference\": \"string\"\n    },\n    {\n      \"network\": \"Telecel\",\n      \"volume_gb\": 9261.353729004411,\n      \"recipient\": \"string\",\n      \"reference\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/bulk","description":"<p>A validation failure (invalid network, package not found, out of\nstock) rejects the whole batch and nothing is charged. The one\nexception: an MTN recipient not yet registered to receive MTN data\nis skipped individually (not charged, not created) while the rest of\nthe batch is placed and charged normally (only when this optional\ncheck is switched on).</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}},"urlObject":{"path":["data","bulk"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[]}},"response":[{"id":"904a37cc-ca13-46aa-bc8e-078a32f63060","name":"Batch placed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"orders\": [\n    {\n      \"network\": \"AT-BigTime\",\n      \"volume_gb\": 4025.2548187396633,\n      \"recipient\": \"string\",\n      \"reference\": \"string\"\n    },\n    {\n      \"network\": \"Telecel\",\n      \"volume_gb\": 9261.353729004411,\n      \"recipient\": \"string\",\n      \"reference\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/bulk"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"orders_placed\": 2337,\n    \"total_cost\": 7153.854793510306,\n    \"new_balance\": 5297.164504809775,\n    \"orders\": [\n      {\n        \"order_id\": \"7f63bf93-7a62-3f26-b127-4eda9515478c\",\n        \"reference\": \"string\",\n        \"status\": \"completed\",\n        \"network\": \"string\",\n        \"size\": \"string\",\n        \"recipient\": \"string\",\n        \"price\": 2065.4169558409176,\n        \"source\": \"api\",\n        \"new_balance\": 5587.149372664022,\n        \"created_at\": \"1966-02-02T16:42:50.614Z\"\n      },\n      {\n        \"order_id\": \"63b0e1d0-207f-ef0b-5f0a-b7389d654258\",\n        \"reference\": \"string\",\n        \"status\": \"refunded\",\n        \"network\": \"string\",\n        \"size\": \"string\",\n        \"recipient\": \"string\",\n        \"price\": 344.96234386553135,\n        \"source\": \"api\",\n        \"new_balance\": 5612.92827485208,\n        \"created_at\": \"1967-09-14T17:21:35.065Z\"\n      }\n    ],\n    \"skipped\": [\n      {\n        \"recipient\": \"string\",\n        \"reason\": \"string\"\n      },\n      {\n        \"recipient\": \"string\",\n        \"reason\": \"string\"\n      }\n    ]\n  },\n  \"meta\": {\n    \"timestamp\": \"2022-01-11T02:16:30.774Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"3d00dcb5-a4dc-44eb-b652-1381a3393efb","name":"Invalid request body or parameters","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"orders\": [\n    {\n      \"network\": \"AT-BigTime\",\n      \"volume_gb\": 4025.2548187396633,\n      \"recipient\": \"string\",\n      \"reference\": \"string\"\n    },\n    {\n      \"network\": \"Telecel\",\n      \"volume_gb\": 9261.353729004411,\n      \"recipient\": \"string\",\n      \"reference\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/bulk"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"474f8a91-8094-4007-a9d5-0c07fc21953f","name":"Missing or invalid API key","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"orders\": [\n    {\n      \"network\": \"AT-BigTime\",\n      \"volume_gb\": 4025.2548187396633,\n      \"recipient\": \"string\",\n      \"reference\": \"string\"\n    },\n    {\n      \"network\": \"Telecel\",\n      \"volume_gb\": 9261.353729004411,\n      \"recipient\": \"string\",\n      \"reference\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/bulk"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"3f36507b-0539-40b4-bd81-bcb065bb05de","name":"Rate limit exceeded for this endpoint","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"orders\": [\n    {\n      \"network\": \"AT-BigTime\",\n      \"volume_gb\": 4025.2548187396633,\n      \"recipient\": \"string\",\n      \"reference\": \"string\"\n    },\n    {\n      \"network\": \"Telecel\",\n      \"volume_gb\": 9261.353729004411,\n      \"recipient\": \"string\",\n      \"reference\": \"string\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/bulk"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"2a02fa29-6f36-42a0-9683-bb354246e41a"},{"name":"Check a number against Server 1 and Server 2 combined","id":"0b8ef451-b868-4b25-87c0-35e45eb78945","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"MTN\",\n  \"recipient\": \"0551617309\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/verify-number","description":"<p><strong>Server 1 and Server 2 combined:</strong> <code>allowed: true</code> when the number\nis registered on Server 1 or Server 2. Use it as your checkout gate\n<strong>only when the platform has announced that both servers are\naccepted</strong> — if only one server is accepted, check that server's\nendpoint instead. Recommended, not required.</p>\n<p>This endpoint does <strong>not</strong> tell you which server holds the number.\nFor the actual registration state, use\n<code>/data/verify-number/server-1</code> and <code>/data/verify-number/server-2</code>.</p>\n<p>The combined result follows the server(s) the platform currently\naccepts orders on, so it equals \"Server 1 or Server 2\" only while\nboth are accepted. Watch platform announcements.</p>\n<p>Non-MTN networks always return <code>allowed: true</code> immediately (no-op).\nA number that isn't registered yet is automatically submitted for\nregistration; check again soon. <code>/data/purchase</code> independently\nre-verifies at order time. If the registration check is temporarily\nunavailable this endpoint fails open (<code>allowed: true</code>) rather than wrongly telling\nyou a real customer is blocked — treat a <code>true</code> here as \"likely\nfine to proceed\", not as a guarantee the subsequent purchase will\nsucceed.</p>\n<p>Rate limit: 20/min per API key, shared across all three\nverify-number endpoints.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}},"urlObject":{"path":["data","verify-number"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[]}},"response":[{"id":"d23ae53f-2bc5-4381-9a61-bb06cd018169","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"AT-iShare\",\n  \"recipient\": \"0551617309\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/verify-number"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"recipient\": \"0551617309\",\n    \"network\": \"MTN\",\n    \"allowed\": false\n  },\n  \"meta\": {\n    \"timestamp\": \"1999-06-19T18:03:10.697Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"f9ff7b9b-f70f-4e02-8643-70df6d7a751a","name":"Invalid request body or parameters","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"AT-iShare\",\n  \"recipient\": \"0551617309\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/verify-number"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 2249,\n    \"message\": \"string\"\n  }\n}"},{"id":"81bfafa3-17cd-4deb-9517-f95e3f16f388","name":"Missing or invalid API key","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"AT-iShare\",\n  \"recipient\": \"0551617309\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/verify-number"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 2249,\n    \"message\": \"string\"\n  }\n}"},{"id":"2b1d32d0-5896-48e5-b9cd-099bfe806568","name":"Rate limit exceeded for this endpoint","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"AT-iShare\",\n  \"recipient\": \"0551617309\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/verify-number"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 2249,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"0b8ef451-b868-4b25-87c0-35e45eb78945"},{"name":"Check whether an MTN number is registered on Server 1","id":"4630fd2f-38bd-4ceb-b32d-5f8b77060c6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"MTN\",\n  \"recipient\": \"0551617309\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/verify-number/server-1","description":"<p><strong>The actual registration state on Server 1</strong> — <code>allowed</code> tells you\nwhether this number is registered on Server 1 specifically. Use this\nendpoint to know which server a number is registered on. A number\ncan be registered on one server and not the other. If only Server 1\nis currently accepted, use it as your checkout gate.</p>\n<p>Which server(s) the platform currently accepts orders on can change\n— check platform announcements or ask support.</p>\n<p>A number that isn't registered on Server 1 is automatically\nsubmitted for registration; check again soon. Unlike\n<code>/data/verify-number</code>, this endpoint does not fail open: if Server 1\ncan't be reached it returns <code>502</code> rather than a guess. Non-MTN\nnetworks return <code>allowed: true</code> immediately.</p>\n<p>Rate limit: 20/min per API key, shared across all three\nverify-number endpoints.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}},"urlObject":{"path":["data","verify-number","server-1"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[]}},"response":[{"id":"5209ec93-35cf-4838-90b9-94460e6ffac8","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"MTN\",\n  \"recipient\": \"0551617309\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/verify-number/server-1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"recipient\": \"0551617309\",\n    \"network\": \"MTN\",\n    \"server\": 1,\n    \"allowed\": true\n  },\n  \"meta\": {\n    \"timestamp\": \"1979-08-01T06:55:38.949Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"1546d5de-6449-46f7-8bcc-6dabe87ea9c7","name":"Invalid request body or parameters","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"MTN\",\n  \"recipient\": \"0551617309\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/verify-number/server-1"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 7303,\n    \"message\": \"string\"\n  }\n}"},{"id":"84f6fa3a-52ab-43dd-9760-f7e7b708e9b7","name":"Missing or invalid API key","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"MTN\",\n  \"recipient\": \"0551617309\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/verify-number/server-1"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 7303,\n    \"message\": \"string\"\n  }\n}"},{"id":"c716d5e4-21a5-410f-8aab-1e779cfa3c73","name":"Rate limit exceeded for this endpoint","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"MTN\",\n  \"recipient\": \"0551617309\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/verify-number/server-1"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 7303,\n    \"message\": \"string\"\n  }\n}"},{"id":"ab225ca6-f1f9-4125-b204-28ed71254efd","name":"Server 1 could not check this number right now — retry shortly","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"MTN\",\n  \"recipient\": \"0551617309\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/verify-number/server-1"},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 7303,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"4630fd2f-38bd-4ceb-b32d-5f8b77060c6b"},{"name":"Check whether an MTN number is registered on Server 2","id":"02ee9f6f-86e1-44bd-a5d8-bda449dad558","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"MTN\",\n  \"recipient\": \"0551617309\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/verify-number/server-2","description":"<p><strong>The actual registration state on Server 2</strong> — <code>allowed</code> tells you\nwhether this number is registered on Server 2 specifically. Use this\nendpoint to know which server a number is registered on. A number\ncan be registered on one server and not the other. If only Server 2\nis currently accepted, use it as your checkout gate.</p>\n<p>Which server(s) the platform currently accepts orders on can change\n— check platform announcements or ask support.</p>\n<p>A number that isn't registered on Server 2 is automatically\nsubmitted for registration; check again soon. Unlike\n<code>/data/verify-number</code>, this endpoint does not fail open: if Server 2\ncan't be reached it returns <code>502</code> rather than a guess. Non-MTN\nnetworks return <code>allowed: true</code> immediately.</p>\n<p>Rate limit: 20/min per API key, shared across all three\nverify-number endpoints.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}},"urlObject":{"path":["data","verify-number","server-2"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[]}},"response":[{"id":"c80ef0c6-7146-48f4-a246-08b71ef74a13","name":"OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"MTN\",\n  \"recipient\": \"0551617309\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/verify-number/server-2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"recipient\": \"0551617309\",\n    \"network\": \"MTN\",\n    \"server\": 2,\n    \"allowed\": false\n  },\n  \"meta\": {\n    \"timestamp\": \"1974-03-10T21:38:09.273Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"f5ee02d9-d555-4ebd-b416-4d9d2748d0f4","name":"Invalid request body or parameters","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"MTN\",\n  \"recipient\": \"0551617309\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/verify-number/server-2"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 7303,\n    \"message\": \"string\"\n  }\n}"},{"id":"67ac212c-ec3e-46bb-9f5a-880edd3bee47","name":"Missing or invalid API key","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"MTN\",\n  \"recipient\": \"0551617309\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/verify-number/server-2"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 7303,\n    \"message\": \"string\"\n  }\n}"},{"id":"5f4ab9a4-d81c-420d-be5b-9626ec55b37a","name":"Rate limit exceeded for this endpoint","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"MTN\",\n  \"recipient\": \"0551617309\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/verify-number/server-2"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 7303,\n    \"message\": \"string\"\n  }\n}"},{"id":"19732a2f-a9a6-4734-ac89-ee268dd0f083","name":"Server 2 could not check this number right now — retry shortly","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"MTN\",\n  \"recipient\": \"0551617309\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/data/verify-number/server-2"},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 7303,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"02ee9f6f-86e1-44bd-a5d8-bda449dad558"}],"id":"38d9e579-726b-4286-bf6b-b3dfff7bf079","description":"<p>Browse packages and purchase MTN/Telecel/AirtelTigo data bundles. Standard key.</p>\n","_postman_id":"38d9e579-726b-4286-bf6b-b3dfff7bf079","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}}},{"name":"Wallet","item":[{"name":"Get your wallet balance","id":"d9a0aaf9-3de3-421d-a79a-df4d391faec3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.kingflexygh.com/api/v2/wallet/balance","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}},"urlObject":{"path":["wallet","balance"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[]}},"response":[{"id":"c088c6b1-df02-4086-a2e0-88801dd4b247","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":"https://api.kingflexygh.com/api/v2/wallet/balance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"balance\": 3656.4538681236745,\n    \"currency\": \"GHS\"\n  },\n  \"meta\": {\n    \"timestamp\": \"2018-11-22T21:19:29.869Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"99b05f45-d28b-4ada-9f82-3b92ceb81e34","name":"Missing or invalid API key","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":"https://api.kingflexygh.com/api/v2/wallet/balance"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"d9a0aaf9-3de3-421d-a79a-df4d391faec3"},{"name":"Top up your wallet from mobile money","id":"89e482ae-9cb0-4248-bfac-3884d8752c07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"reference\": \"topup-1001\",\n  \"amount\": 50,\n  \"phone\": \"0240000000\",\n  \"network\": \"MTN\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/wallet/topup","description":"<p>Sends a mobile-money approval prompt to <code>phone</code>. When the payer\napproves it on their phone, your wallet is credited with <code>amount</code>\nautomatically. Standard key only: a Commission Services or SMS key\ngets <code>403</code>.</p>\n<p><strong>The fee is added on top.</strong> The payer is charged <code>total_amount</code>\n(<code>amount</code> + <code>fee</code>) and your wallet receives exactly <code>amount</code>. KiNG\nFLEXY GH sets <code>fee</code> for your account role and returns it in the\nresponse. Never send a fee or a total.</p>\n<p><strong>Status flow:</strong> <code>pending</code> → <code>completed</code> | <code>failed</code> | <code>under_review</code>.</p>\n<ul>\n<li><code>pending</code>: the prompt was sent and is waiting for the payer.</li>\n<li><code>completed</code>: approved; your wallet was credited with <code>amount</code>.</li>\n<li><code>failed</code>: declined, expired or could not be completed; your wallet\nwas not credited. Start again with a NEW reference if you still\nwant to top up.</li>\n<li><code>under_review</code>: the payer was charged but the top-up could not be\ncredited automatically. Contact support with your reference and do\nNOT start another top-up for it.</li>\n</ul>\n<p><strong>No webhook.</strong> Top-ups do not send webhook events. Poll\nGET /wallet/topup/{reference} every 5 to 10 seconds and stop at a\nterminal status (<code>completed</code>, <code>failed</code> or <code>under_review</code>). Polling\nalso moves the top-up forward, so keep polling while it is <code>pending</code>.</p>\n<p><strong>Idempotency.</strong> <code>reference</code> is your own id for this top-up, unique\nwithin your account.</p>\n<ul>\n<li>Sending the same reference with the same <code>amount</code> and <code>phone</code>\nagain returns the same top-up with <code>duplicate: true</code>. No new\nprompt is sent.</li>\n<li>The same reference with a different <code>amount</code> or <code>phone</code> is <code>409</code>.</li>\n<li>A DIFFERENT reference with the same <code>amount</code> and <code>phone</code> while the\nfirst top-up is still <code>pending</code> is <code>409</code> (\"an identical top-up is\nalready in progress\"). Wait for the first one to finish.</li>\n<li>A payer is never charged twice by retrying with the same\nreference. After a timeout, retry with the SAME reference.</li>\n</ul>\n<p><strong>Limits.</strong> At most 5 top-ups pending at once per account (started\nin the last 15 minutes; <code>429</code> beyond that), and 3 requests per\nminute per API key.</p>\n<p><strong>Paused.</strong> <code>503</code> with <code>Retry-After: 300</code> when top-ups are\ntemporarily unavailable. Nothing was started; try again later.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}},"urlObject":{"path":["wallet","topup"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[]}},"response":[{"id":"9643e476-6797-40b3-be2f-8b002b924867","name":"Top-up started (`status: pending`), or the existing top-up for this reference\n(`duplicate: true`, no new prompt sent).","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"reference\": \"topup-1001\",\n  \"amount\": 50,\n  \"phone\": \"0240000000\",\n  \"network\": \"MTN\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/wallet/topup"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"reference\": \"topup-1001\",\n    \"status\": \"pending\",\n    \"amount\": 50,\n    \"fee\": 1,\n    \"total_amount\": 51\n  },\n  \"meta\": {\n    \"timestamp\": \"2026-01-01T12:00:00.000Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"78a0cb85-9f55-459e-a41c-d57b530c8982","name":"Invalid request; nothing was started. `reference` is not 1-64 characters of letters, digits, \"_\" or \"-\"; `amount` is not a JSON number, has more than 2 decimal places, or is outside the allowed range; `phone` is not a 10-digit Ghana number starting with 0","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"reference\": \"topup-1001\",\n  \"amount\": 50,\n  \"phone\": \"0240000000\",\n  \"network\": \"MTN\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/wallet/topup"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 400,\n    \"message\": \"network must be one of MTN, VOD or ATL\"\n  }\n}"},{"id":"e84ed063-5c5b-4fc7-acb1-8f99fc1f587a","name":"Missing or invalid API key","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"reference\": \"topup-1001\",\n  \"amount\": 50,\n  \"phone\": \"0240000000\",\n  \"network\": \"MTN\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/wallet/topup"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8700,\n    \"message\": \"string\"\n  }\n}"},{"id":"d51cb796-d22a-4e9d-a1b7-a47e3d894c7f","name":"Wrong key type for this endpoint, key pending/revoked, role not allowed, or account suspended","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"reference\": \"topup-1001\",\n  \"amount\": 50,\n  \"phone\": \"0240000000\",\n  \"network\": \"MTN\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/wallet/topup"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8700,\n    \"message\": \"string\"\n  }\n}"},{"id":"a52c43ea-b356-4116-ba78-ff6b1af74156","name":"This reference was already used with a different amount or phone number, or an identical top-up (same amount and phone, different reference) is still in progress. No new prompt was sent.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"reference\": \"topup-1001\",\n  \"amount\": 50,\n  \"phone\": \"0240000000\",\n  \"network\": \"MTN\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/wallet/topup"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 409,\n    \"message\": \"This reference was already used with a different amount or phone number\"\n  }\n}"},{"id":"df8b13d2-2996-4005-8cce-2147113e3772","name":"More than 3 requests per minute on this key (\"Rate limit exceeded (3/min). Retry in N s\"), or too many top-ups already pending on this account. Wait, then retry.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"reference\": \"topup-1001\",\n  \"amount\": 50,\n  \"phone\": \"0240000000\",\n  \"network\": \"MTN\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/wallet/topup"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8700,\n    \"message\": \"string\"\n  }\n}"},{"id":"8607e6c7-47f2-4904-baf6-eee4847ca84b","name":"Could not process this request. Retry with the SAME reference; a retry never charges the payer twice.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"reference\": \"topup-1001\",\n  \"amount\": 50,\n  \"phone\": \"0240000000\",\n  \"network\": \"MTN\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/wallet/topup"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8700,\n    \"message\": \"string\"\n  }\n}"},{"id":"d14f0bbc-5e2b-4b43-b804-f8f2d58006cf","name":"Wallet top-ups are temporarily unavailable. Nothing was started. Retry after the `Retry-After` header (300 seconds).","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"reference\": \"topup-1001\",\n  \"amount\": 50,\n  \"phone\": \"0240000000\",\n  \"network\": \"MTN\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/wallet/topup"},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"disabled":false,"description":{"content":"Seconds to wait before trying again.","type":"text/plain"},"key":"Retry-After","value":"300"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8700,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"89e482ae-9cb0-4248-bfac-3884d8752c07"},{"name":"Check a wallet top-up's status","id":"1dda3ee3-4fb0-47be-867b-a666d43d7e11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.kingflexygh.com/api/v2/wallet/topup/:reference","description":"<p>Returns the current status of a top-up you started, by the <code>reference</code> you sent. Standard key\nonly. While the top-up is <code>pending</code> this call also checks for the payer's approval and credits\nyour wallet as soon as it arrives, so poll it every 5 to 10 seconds and stop at a terminal\nstatus (<code>completed</code>, <code>failed</code> or <code>under_review</code>). See POST /wallet/topup for what each status\nmeans. This endpoint works even while new top-ups are paused.</p>\n<p>Rate limit: 20 requests per minute per API key.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}},"urlObject":{"path":["wallet","topup",":reference"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[{"description":{"content":"<p>The reference you sent to POST /wallet/topup.</p>\n","type":"text/plain"},"type":"any","value":"topup-1001","key":"reference"}]}},"response":[{"id":"7b16abf2-c7e0-440a-8e48-a597357a00f3","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/wallet/topup/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["wallet","topup",":reference"],"variable":[{"key":"reference","value":"topup-1001","description":"The reference you sent to POST /wallet/topup."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"reference\": \"topup-1001\",\n    \"status\": \"completed\",\n    \"amount\": 50,\n    \"fee\": 1,\n    \"total_amount\": 51\n  },\n  \"meta\": {\n    \"timestamp\": \"2026-01-01T12:01:00.000Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"b12da009-069c-4adf-bd8d-81005fb9bda4","name":"Invalid request body or parameters","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/wallet/topup/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["wallet","topup",":reference"],"variable":[{"key":"reference","value":"topup-1001","description":"The reference you sent to POST /wallet/topup."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8700,\n    \"message\": \"string\"\n  }\n}"},{"id":"8204cf11-79d2-4102-a986-eb146e6bc9cd","name":"Missing or invalid API key","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/wallet/topup/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["wallet","topup",":reference"],"variable":[{"key":"reference","value":"topup-1001","description":"The reference you sent to POST /wallet/topup."}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8700,\n    \"message\": \"string\"\n  }\n}"},{"id":"8579fc79-e017-473c-a8df-bf7a23cf90e6","name":"Wrong key type for this endpoint, key pending/revoked, role not allowed, or account suspended","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/wallet/topup/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["wallet","topup",":reference"],"variable":[{"key":"reference","value":"topup-1001","description":"The reference you sent to POST /wallet/topup."}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8700,\n    \"message\": \"string\"\n  }\n}"},{"id":"f10a89a2-55fe-4229-83f0-c957466c2012","name":"No top-up with this reference on your account (\"Payment not found\").","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/wallet/topup/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["wallet","topup",":reference"],"variable":[{"key":"reference","value":"topup-1001","description":"The reference you sent to POST /wallet/topup."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8700,\n    \"message\": \"string\"\n  }\n}"},{"id":"489613e0-7568-4d09-a608-97b7dd1108a7","name":"Rate limit exceeded for this endpoint","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/wallet/topup/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["wallet","topup",":reference"],"variable":[{"key":"reference","value":"topup-1001","description":"The reference you sent to POST /wallet/topup."}]}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8700,\n    \"message\": \"string\"\n  }\n}"},{"id":"21c2148d-deca-4844-b5b1-6e0b847d8b97","name":"Could not process this request. Retry shortly.","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/wallet/topup/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["wallet","topup",":reference"],"variable":[{"key":"reference","value":"topup-1001","description":"The reference you sent to POST /wallet/topup."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8700,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"1dda3ee3-4fb0-47be-867b-a666d43d7e11"}],"id":"084e7a0c-ad20-4c0a-85aa-58637703260b","description":"<p>Check your GHS wallet balance, and top it up from mobile money. Standard key.</p>\n","_postman_id":"084e7a0c-ad20-4c0a-85aa-58637703260b","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}}},{"name":"Orders","item":[{"name":"Check a data order's fulfillment status","id":"5325187b-5487-4b07-9c3e-bf222e62e6c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.kingflexygh.com/api/v2/orders/:reference","description":"<p>Status flow: pending | queued | blacklisted → processing → completed | failed | refunded. A <code>blacklisted</code> order is paid but held until our team releases it.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}},"urlObject":{"path":["orders",":reference"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[{"description":{"content":"<p>The reference you supplied (or was echoed back) when the order was created.</p>\n","type":"text/plain"},"type":"any","value":"string","key":"reference"}]}},"response":[{"id":"312f71cc-29d2-484a-8631-667742777c70","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/orders/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["orders",":reference"],"variable":[{"key":"reference","value":"string","description":"The reference you supplied (or was echoed back) when the order was created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"order_id\": \"5e56693a-cd19-a8ef-4e42-10933d86dd78\",\n    \"reference\": \"string\",\n    \"status\": \"pending\",\n    \"network\": \"string\",\n    \"size\": \"string\",\n    \"recipient\": \"string\",\n    \"price\": 835.4854598442384,\n    \"source\": \"api\",\n    \"new_balance\": 7204.426410638443,\n    \"created_at\": \"2005-06-04T17:14:50.302Z\"\n  },\n  \"meta\": {\n    \"timestamp\": \"1992-06-14T13:30:25.911Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"a64af331-00b9-4b23-93e9-01a258229f54","name":"Missing or invalid API key","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/orders/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["orders",":reference"],"variable":[{"key":"reference","value":"string","description":"The reference you supplied (or was echoed back) when the order was created."}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"024cdd5c-4c2f-4f87-a02e-2937433ca328","name":"Resource not found, or not owned by this account","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/orders/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["orders",":reference"],"variable":[{"key":"reference","value":"string","description":"The reference you supplied (or was echoed back) when the order was created."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"5325187b-5487-4b07-9c3e-bf222e62e6c8"}],"id":"1964aea1-b355-4fee-a814-228c54820417","description":"<p>Poll the fulfillment status of a data order by reference. Standard key.</p>\n","_postman_id":"1964aea1-b355-4fee-a814-228c54820417","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}}},{"name":"Airtime","item":[{"name":"Top up airtime","id":"84ba5cfa-e948-48f0-a2e9-ad2d491bed1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"Telecel\",\n  \"beneficiary_phone\": \"0551617309\",\n  \"amount\": 10,\n  \"reference\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/airtime/purchase","description":"<p>Top up airtime on MTN, Telecel or AT at face value: the beneficiary\nreceives exactly <code>amount</code> and you pay exactly <code>amount</code>, no fee. If you\nare a lifetime agent or dealer, a share of KiNG FLEXY GH's commission\non this top-up is credited to your Commission Wallet\n(<code>/dashboard/commission</code>) once it completes; other roles buy fee-free\nand earn no commission. The order is delivered in the background;\npoll GET /airtime/orders/{reference} for the final status.</p>\n","urlObject":{"path":["airtime","purchase"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[]}},"response":[{"id":"613bb651-615a-4029-a225-2dabf5319986","name":"Order placed","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"Telecel\",\n  \"beneficiary_phone\": \"0551617309\",\n  \"amount\": 10,\n  \"reference\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/airtime/purchase"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"order_id\": \"0c484193-4d0e-e29b-d552-23ea119c0233\",\n    \"reference\": \"string\",\n    \"status\": \"pending\",\n    \"network\": \"string\",\n    \"beneficiary_phone\": \"string\",\n    \"airtime_amount\": 4193.447311628142,\n    \"fee_amount\": 3092.3681609272235,\n    \"total_paid\": 4232.014575872842,\n    \"new_balance\": 3113.6650940297673\n  },\n  \"meta\": {\n    \"timestamp\": \"1968-03-28T09:00:13.150Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"2e935be2-1d0b-41e0-8b58-c9e0e30ec503","name":"Invalid request body or parameters","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"Telecel\",\n  \"beneficiary_phone\": \"0551617309\",\n  \"amount\": 10,\n  \"reference\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/airtime/purchase"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"dae58577-12a7-4174-9af9-a4bbd578906e","name":"Missing or invalid API key","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"Telecel\",\n  \"beneficiary_phone\": \"0551617309\",\n  \"amount\": 10,\n  \"reference\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/airtime/purchase"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"9cade843-3df8-4fbf-b57f-4fb090b59ed9","name":"Duplicate reference reused against a different request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"Telecel\",\n  \"beneficiary_phone\": \"0551617309\",\n  \"amount\": 10,\n  \"reference\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/airtime/purchase"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"ad49b924-bdbf-40df-901b-29e8017e8595","name":"Rate limit exceeded for this endpoint","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"Telecel\",\n  \"beneficiary_phone\": \"0551617309\",\n  \"amount\": 10,\n  \"reference\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/airtime/purchase"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"4230b05e-80d1-47c9-8c52-382d3346288c","name":"Wrong key type for this endpoint, key pending/revoked, role not allowed, or account suspended","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"AT\",\n  \"beneficiary_phone\": \"0551617309\",\n  \"amount\": 10,\n  \"reference\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/airtime/purchase"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9330,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"84ba5cfa-e948-48f0-a2e9-ad2d491bed1f"},{"name":"List your recent airtime orders","id":"496d4deb-439c-4fdb-8921-56e0def8b341","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.kingflexygh.com/api/v2/airtime/orders","description":"<p>Returns at most 30 records, newest first.</p>\n","urlObject":{"path":["airtime","orders"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[]}},"response":[{"id":"2586285d-88f1-49b3-8337-8f53ccf99a1a","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":"https://api.kingflexygh.com/api/v2/airtime/orders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"orders\": [\n      {\n        \"order_id\": \"0e317c1b-2c00-4530-4609-3eed8d1ffa86\",\n        \"reference\": \"string\",\n        \"status\": \"string\",\n        \"network\": \"string\",\n        \"airtime_amount\": 6232.334999420508\n      },\n      {\n        \"order_id\": \"ee603835-ead3-1ea4-4cfe-b411da8d509f\",\n        \"reference\": \"string\",\n        \"status\": \"string\",\n        \"network\": \"string\",\n        \"airtime_amount\": 1568.6755696339949\n      }\n    ]\n  },\n  \"meta\": {\n    \"timestamp\": \"2019-06-01T10:27:25.617Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"d6702eeb-f740-47ff-93fd-bff1320586af","name":"Missing or invalid API key","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":"https://api.kingflexygh.com/api/v2/airtime/orders"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"8a6c97cf-196a-4f53-906d-1dc631209784","name":"Wrong key type for this endpoint, key pending/revoked, role not allowed, or account suspended","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":"https://api.kingflexygh.com/api/v2/airtime/orders"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9330,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"496d4deb-439c-4fdb-8921-56e0def8b341"},{"name":"Check one airtime order's status","id":"c1632076-9fe1-47da-9e40-8a24d58a0f13","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.kingflexygh.com/api/v2/airtime/orders/:reference","description":"<p>Status flow: pending → processing → completed | failed | refunded.</p>\n","urlObject":{"path":["airtime","orders",":reference"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[{"description":{"content":"<p>The reference you supplied (or was echoed back) when the order was created.</p>\n","type":"text/plain"},"type":"any","value":"string","key":"reference"}]}},"response":[{"id":"7a1ad4d5-18d9-4cfa-8a00-f4bccaa42c9b","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/airtime/orders/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["airtime","orders",":reference"],"variable":[{"key":"reference","value":"string","description":"The reference you supplied (or was echoed back) when the order was created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"order_id\": \"7cae5fd0-bde0-d800-0926-30dc6452ea90\",\n    \"reference\": \"string\",\n    \"status\": \"string\",\n    \"network\": \"string\",\n    \"beneficiary_phone\": \"string\",\n    \"airtime_amount\": 4316.664843518159,\n    \"fee_amount\": 8704.99770210743,\n    \"commission\": 4875.661909363169,\n    \"reason\": \"string\"\n  },\n  \"meta\": {\n    \"timestamp\": \"1974-02-15T15:05:02.145Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"1d9b44cb-6ea8-4b2e-b08e-7eb2024207b5","name":"Missing or invalid API key","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/airtime/orders/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["airtime","orders",":reference"],"variable":[{"key":"reference","value":"string","description":"The reference you supplied (or was echoed back) when the order was created."}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"6d114919-e321-47fc-9a1a-06b538fd6091","name":"Resource not found, or not owned by this account","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/airtime/orders/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["airtime","orders",":reference"],"variable":[{"key":"reference","value":"string","description":"The reference you supplied (or was echoed back) when the order was created."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"69418af9-a8fa-46e1-815a-739778233126","name":"Wrong key type for this endpoint, key pending/revoked, role not allowed, or account suspended","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/airtime/orders/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["airtime","orders",":reference"],"variable":[{"key":"reference","value":"string","description":"The reference you supplied (or was echoed back) when the order was created."}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9330,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"c1632076-9fe1-47da-9e40-8a24d58a0f13"}],"id":"4d698565-8cc2-49c5-bfff-d8a32f42d927","description":"<p>Top up airtime at face value with no fee and track each order. Lifetime agents and dealers earn a share of KiNG FLEXY GH's commission. Commission Services key.</p>\n","_postman_id":"4d698565-8cc2-49c5-bfff-d8a32f42d927","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}}},{"name":"Results Checker","item":[{"name":"List voucher types with your role-based price and stock","id":"5e04501f-1d24-49c4-b179-64691066bb5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.kingflexygh.com/api/v2/resultschecker/types","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}},"urlObject":{"path":["resultschecker","types"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[]}},"response":[{"id":"e276f10b-7460-4de7-9ce9-aeeed54934d3","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":"https://api.kingflexygh.com/api/v2/resultschecker/types"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"types\": [\n      {\n        \"type_id\": \"0956250a-eecc-4d40-d85c-af4f62de27a6\",\n        \"name\": \"WAEC BECE\",\n        \"price\": 3014.6111500630823,\n        \"available_count\": 7306,\n        \"is_active\": true\n      },\n      {\n        \"type_id\": \"da649c74-e3d3-d2ac-acc2-adff2e56de0d\",\n        \"name\": \"WAEC BECE\",\n        \"price\": 3695.4467131552747,\n        \"available_count\": 2852,\n        \"is_active\": false\n      }\n    ]\n  },\n  \"meta\": {\n    \"timestamp\": \"1984-06-25T01:03:07.572Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"8f9f4ac5-ff45-4442-aa5d-683198eb7c1f","name":"Missing or invalid API key","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":"https://api.kingflexygh.com/api/v2/resultschecker/types"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"5e04501f-1d24-49c4-b179-64691066bb5b"},{"name":"Buy voucher(s)","id":"bf98b3d6-0df2-4ac6-b587-d4004f71a2d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"typeId\": \"edb61995-e05e-dbac-74c9-7ee558672f35\",\n  \"quantity\": 4129,\n  \"reference\": \"string\",\n  \"recipientPhone\": \"string\",\n  \"recipientEmail\": \"okBHFC@bBtWbWdWbAgdfMvIE.bw\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/resultschecker/purchase","description":"<p>Stock is checked BEFORE your wallet is touched — insufficient stock is rejected upfront, never charged then refunded. Vouchers are returned directly in this response; there is no separate \"retrieve voucher\" call.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}},"urlObject":{"path":["resultschecker","purchase"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[]}},"response":[{"id":"b130280a-ffb8-4b1c-b0f1-3bb5d7ba15c8","name":"Purchased","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"typeId\": \"edb61995-e05e-dbac-74c9-7ee558672f35\",\n  \"quantity\": 4129,\n  \"reference\": \"string\",\n  \"recipientPhone\": \"string\",\n  \"recipientEmail\": \"okBHFC@bBtWbWdWbAgdfMvIE.bw\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/resultschecker/purchase"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"order\": {\n      \"id\": \"58a3ee58-3771-e3ac-66b4-19c27d5d8803\",\n      \"reference\": \"string\",\n      \"status\": \"string\",\n      \"type_name\": \"string\",\n      \"quantity\": 3021,\n      \"unit_price\": 1054.7439018449788,\n      \"total_paid\": 1493.3962728893912\n    },\n    \"vouchers\": [\n      {\n        \"id\": \"f9ca133e-a070-6ad8-866c-1e093e8404b9\",\n        \"pin\": \"1234-5678-9012\",\n        \"serial_number\": \"SN-000123\"\n      },\n      {\n        \"id\": \"61b42686-e361-eeaa-59b3-70f6889a8d0e\",\n        \"pin\": \"1234-5678-9012\",\n        \"serial_number\": \"SN-000123\"\n      }\n    ],\n    \"new_balance\": 1895.1225196171074\n  },\n  \"meta\": {\n    \"timestamp\": \"1955-05-04T07:16:52.842Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"e7b432cf-430e-4c1e-8f11-54e04fa52b82","name":"Invalid request body or parameters","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"typeId\": \"edb61995-e05e-dbac-74c9-7ee558672f35\",\n  \"quantity\": 4129,\n  \"reference\": \"string\",\n  \"recipientPhone\": \"string\",\n  \"recipientEmail\": \"okBHFC@bBtWbWdWbAgdfMvIE.bw\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/resultschecker/purchase"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"3b81d7fc-75ab-4b08-9ea5-beade5bc4bd5","name":"Missing or invalid API key","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"typeId\": \"edb61995-e05e-dbac-74c9-7ee558672f35\",\n  \"quantity\": 4129,\n  \"reference\": \"string\",\n  \"recipientPhone\": \"string\",\n  \"recipientEmail\": \"okBHFC@bBtWbWdWbAgdfMvIE.bw\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/resultschecker/purchase"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"5c69d73a-07ec-4b1d-9ed1-a5d3ab5803bf","name":"Duplicate reference reused against a different request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"typeId\": \"edb61995-e05e-dbac-74c9-7ee558672f35\",\n  \"quantity\": 4129,\n  \"reference\": \"string\",\n  \"recipientPhone\": \"string\",\n  \"recipientEmail\": \"okBHFC@bBtWbWdWbAgdfMvIE.bw\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/resultschecker/purchase"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"25a0d1c2-3333-4a89-b657-a4b35cb95179","name":"Rate limit exceeded for this endpoint","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"typeId\": \"edb61995-e05e-dbac-74c9-7ee558672f35\",\n  \"quantity\": 4129,\n  \"reference\": \"string\",\n  \"recipientPhone\": \"string\",\n  \"recipientEmail\": \"okBHFC@bBtWbWdWbAgdfMvIE.bw\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/resultschecker/purchase"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"bf98b3d6-0df2-4ac6-b587-d4004f71a2d6"},{"name":"List your recent results checker orders","id":"a469d1c1-392a-4b09-a4c7-8e2571a7a44e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.kingflexygh.com/api/v2/resultschecker/orders","description":"<p>Returns at most 30 records, newest first.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}},"urlObject":{"path":["resultschecker","orders"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[]}},"response":[{"id":"09c57f15-6623-433f-be19-be549360ed07","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":"https://api.kingflexygh.com/api/v2/resultschecker/orders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"orders\": [\n      {\n        \"id\": \"51da7680-d812-d4dd-4014-33eb6d8ccd6c\",\n        \"reference\": \"string\",\n        \"status\": \"string\",\n        \"type_name\": \"string\",\n        \"quantity\": 8364,\n        \"unit_price\": 840.5640627596811,\n        \"total_paid\": 7712.5511252805245\n      },\n      {\n        \"id\": \"cd3d7308-03dc-1352-18a9-8fde7201fc49\",\n        \"reference\": \"string\",\n        \"status\": \"string\",\n        \"type_name\": \"string\",\n        \"quantity\": 180,\n        \"unit_price\": 748.5456461587092,\n        \"total_paid\": 3570.884720636398\n      }\n    ]\n  },\n  \"meta\": {\n    \"timestamp\": \"1982-10-02T01:26:17.864Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"5c00b989-1b1e-4757-b347-d7697564b4a9","name":"Missing or invalid API key","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":"https://api.kingflexygh.com/api/v2/resultschecker/orders"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"a469d1c1-392a-4b09-a4c7-8e2571a7a44e"},{"name":"Look up one order, including its vouchers again","id":"6fc9daca-283f-459c-a3ad-a19cee6a9540","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.kingflexygh.com/api/v2/resultschecker/orders/:reference","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}},"urlObject":{"path":["resultschecker","orders",":reference"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[{"description":{"content":"<p>The reference you supplied (or was echoed back) when the order was created.</p>\n","type":"text/plain"},"type":"any","value":"string","key":"reference"}]}},"response":[{"id":"a83a1b4e-6a9c-4133-811d-ea1121d9e8e5","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/resultschecker/orders/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["resultschecker","orders",":reference"],"variable":[{"key":"reference","value":"string","description":"The reference you supplied (or was echoed back) when the order was created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"order\": {\n      \"id\": \"6987f9fd-93f4-4470-d3b9-48b49eb99af6\",\n      \"reference\": \"string\",\n      \"status\": \"string\",\n      \"type_name\": \"string\",\n      \"quantity\": 3857,\n      \"unit_price\": 7230.144984430349,\n      \"total_paid\": 3099.2302596248833\n    },\n    \"vouchers\": [\n      {\n        \"id\": \"310c4a3b-3e94-74bb-748d-93dd50d1df61\",\n        \"pin\": \"1234-5678-9012\",\n        \"serial_number\": \"SN-000123\"\n      },\n      {\n        \"id\": \"08e6128a-5390-2eb8-4813-a53d48bdfae4\",\n        \"pin\": \"1234-5678-9012\",\n        \"serial_number\": \"SN-000123\"\n      }\n    ]\n  },\n  \"meta\": {\n    \"timestamp\": \"1963-01-24T22:44:24.762Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"18e56d1f-0ad5-4b3f-9733-08345479d05f","name":"Missing or invalid API key","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/resultschecker/orders/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["resultschecker","orders",":reference"],"variable":[{"key":"reference","value":"string","description":"The reference you supplied (or was echoed back) when the order was created."}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"2f808f4c-16e5-41a6-9c8b-d9312646bfe6","name":"Resource not found, or not owned by this account","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/resultschecker/orders/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["resultschecker","orders",":reference"],"variable":[{"key":"reference","value":"string","description":"The reference you supplied (or was echoed back) when the order was created."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"6fc9daca-283f-459c-a3ad-a19cee6a9540"}],"id":"68bcd8f9-52b0-4757-a750-76fd1af786a3","description":"<p>Sell WAEC/BECE/WASSCE results checker vouchers. Standard key.</p>\n","_postman_id":"68bcd8f9-52b0-4757-a750-76fd1af786a3","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}}},{"name":"AFA Registration","item":[{"name":"Submit an MTN AFA (Authorized Field Agent) registration — permanent, no expiry","id":"9507ef1a-9558-4ad1-bb3e-e6fcb94bcdb3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"reference\": \"string\",\n  \"full_name\": \"string\",\n  \"phone\": \"0551617309\",\n  \"id_type\": \"Ghana Card\",\n  \"id_number\": \"GHA-123456789-0\",\n  \"date_of_birth\": \"1973-01-10\",\n  \"region\": \"Bono East\",\n  \"location\": \"string\",\n  \"notes\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/afa/register","description":"<p>Requires a valid Ghana Card and a supported region. Carries Ghana\nCard KYC data — send it only over HTTPS, which is all this API\naccepts. <code>reference</code> is GLOBAL across every developer, not scoped to\nyour account — a reference already taken by anyone returns 409,\nnever a silent success.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}},"urlObject":{"path":["afa","register"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[]}},"response":[{"id":"abba4257-f419-428b-a3ac-4ceec945bb32","name":"Submitted","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"reference\": \"string\",\n  \"full_name\": \"string\",\n  \"phone\": \"0551617309\",\n  \"id_type\": \"Ghana Card\",\n  \"id_number\": \"GHA-123456789-0\",\n  \"date_of_birth\": \"1973-01-10\",\n  \"region\": \"Bono East\",\n  \"location\": \"string\",\n  \"notes\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/afa/register"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"order_id\": \"14545fed-6578-e729-0124-5db0b57e57ba\",\n    \"reference\": \"string\",\n    \"status\": \"pending\",\n    \"new_balance\": 2224.9227104845827\n  },\n  \"meta\": {\n    \"timestamp\": \"1968-05-11T13:37:41.800Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"68100ecd-c7f9-4345-9e2f-5da7d9179643","name":"Invalid request body or parameters","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"reference\": \"string\",\n  \"full_name\": \"string\",\n  \"phone\": \"0551617309\",\n  \"id_type\": \"Ghana Card\",\n  \"id_number\": \"GHA-123456789-0\",\n  \"date_of_birth\": \"1973-01-10\",\n  \"region\": \"Bono East\",\n  \"location\": \"string\",\n  \"notes\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/afa/register"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"3fc4b33c-44d6-4c0e-834a-64e798c32be4","name":"Missing or invalid API key","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"reference\": \"string\",\n  \"full_name\": \"string\",\n  \"phone\": \"0551617309\",\n  \"id_type\": \"Ghana Card\",\n  \"id_number\": \"GHA-123456789-0\",\n  \"date_of_birth\": \"1973-01-10\",\n  \"region\": \"Bono East\",\n  \"location\": \"string\",\n  \"notes\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/afa/register"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"f6f7935b-caeb-42b4-a8f7-4696dcf65bf3","name":"Duplicate reference reused against a different request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"reference\": \"string\",\n  \"full_name\": \"string\",\n  \"phone\": \"0551617309\",\n  \"id_type\": \"Ghana Card\",\n  \"id_number\": \"GHA-123456789-0\",\n  \"date_of_birth\": \"1973-01-10\",\n  \"region\": \"Bono East\",\n  \"location\": \"string\",\n  \"notes\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/afa/register"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"6a711e7a-25b0-4ea6-b3b5-54fc31d8c18b","name":"Rate limit exceeded for this endpoint","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"reference\": \"string\",\n  \"full_name\": \"string\",\n  \"phone\": \"0551617309\",\n  \"id_type\": \"Ghana Card\",\n  \"id_number\": \"GHA-123456789-0\",\n  \"date_of_birth\": \"1973-01-10\",\n  \"region\": \"Bono East\",\n  \"location\": \"string\",\n  \"notes\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/afa/register"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"9507ef1a-9558-4ad1-bb3e-e6fcb94bcdb3"},{"name":"List your recent AFA registrations","id":"7fb8572b-98bc-428a-b143-45b975119851","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.kingflexygh.com/api/v2/afa/orders","description":"<p>Returns at most 30 records, newest first.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}},"urlObject":{"path":["afa","orders"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[]}},"response":[{"id":"0841f5c4-c458-4050-a5df-5178bf61364d","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":"https://api.kingflexygh.com/api/v2/afa/orders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"orders\": [\n      {\n        \"id\": \"1b61155b-9333-bd72-4f07-8188eb2c28b1\",\n        \"reference\": \"string\",\n        \"status\": \"string\"\n      },\n      {\n        \"id\": \"84e87040-882e-1fa8-5b78-19d169e7ebad\",\n        \"reference\": \"string\",\n        \"status\": \"string\"\n      }\n    ]\n  },\n  \"meta\": {\n    \"timestamp\": \"1963-11-13T05:43:35.897Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"63192c4c-93da-4afa-b348-d55fae10d894","name":"Missing or invalid API key","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":"https://api.kingflexygh.com/api/v2/afa/orders"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"7fb8572b-98bc-428a-b143-45b975119851"},{"name":"Check one AFA registration's status","id":"847f13b8-7380-4d14-a735-42ea4b7552de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.kingflexygh.com/api/v2/afa/orders/:reference","description":"<p>Status lifecycle: pending → processing → completed | cancelled.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}},"urlObject":{"path":["afa","orders",":reference"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[{"description":{"content":"<p>The reference you supplied (or was echoed back) when the order was created.</p>\n","type":"text/plain"},"type":"any","value":"string","key":"reference"}]}},"response":[{"id":"940f6b16-777b-432f-816d-66f64f4e093f","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/afa/orders/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["afa","orders",":reference"],"variable":[{"key":"reference","value":"string","description":"The reference you supplied (or was echoed back) when the order was created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"id\": \"aa020e4c-a8be-f368-37b7-654e34374eeb\",\n    \"reference\": \"string\",\n    \"status\": \"pending\"\n  },\n  \"meta\": {\n    \"timestamp\": \"1966-04-24T16:46:46.604Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"c1eb52d5-ae6d-4f66-9a09-26a2faa2519d","name":"Missing or invalid API key","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/afa/orders/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["afa","orders",":reference"],"variable":[{"key":"reference","value":"string","description":"The reference you supplied (or was echoed back) when the order was created."}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"43096f9d-3422-4293-84f5-951ffe4f1171","name":"Resource not found, or not owned by this account","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/afa/orders/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["afa","orders",":reference"],"variable":[{"key":"reference","value":"string","description":"The reference you supplied (or was echoed back) when the order was created."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"847f13b8-7380-4d14-a735-42ea4b7552de"}],"id":"b58850cd-3ca3-4854-bd20-e76497c7289b","description":"<p>Register an MTN AFA (Authorized Field Agent) — a permanent registration — on behalf of a customer. Standard key.</p>\n","_postman_id":"b58850cd-3ca3-4854-bd20-e76497c7289b","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}}},{"name":"SMS","item":[{"name":"Send an SMS to one or many recipients","id":"c8b90a7f-55ee-43e8-a1f4-44fdfb1ef936","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"message\": \"string\",\n  \"recipients\": \"string\",\n  \"sender\": \"string\",\n  \"reference\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/sms/send","description":"<p>Requires an SMS-type API key (<code>requireKeyType(auth, 'sms')</code>) — a\nstandard or commission key is rejected with 403.</p>\n<p><strong>How sends are dispatched.</strong> Small sends (≤500 recipients) are sent\nimmediately and the response already carries the final <code>sent</code>/<code>failed</code>\ncounts. Larger sends are queued (<code>status: queued</code>) and delivered in\nbatches shortly afterwards; the response returns straight away with the\n<code>campaignId</code>, so poll <code>GET /sms/messages/{id}</code> for progress.</p>\n<p><strong>Credits.</strong> Credits for the whole campaign are charged up front.\nAny message that cannot be sent is refunded automatically when the\ncampaign finishes, and a message is never sent twice — a refunded\nmessage stays refunded and is not retried behind your back.</p>\n<p><strong>Idempotency.</strong> Pass <code>reference</code> to make a retry safe: repeating the\nsame reference returns the original campaign instead of sending again.</p>\n","urlObject":{"path":["sms","send"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[]}},"response":[{"id":"b6fd5db0-e42b-4b8e-b8e6-a22377a0ed40","name":"Sent or queued","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"message\": \"string\",\n  \"recipients\": \"string\",\n  \"sender\": \"string\",\n  \"reference\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/sms/send"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"campaignId\": \"ebc71db7-7c1f-3fa8-5f87-4bfa2f67146b\",\n    \"status\": \"completed\",\n    \"recipients\": 9738,\n    \"segments\": 6433,\n    \"creditsCharged\": 3820,\n    \"sender\": \"string\",\n    \"sent\": 3455,\n    \"failed\": 4441,\n    \"balance\": 3863\n  },\n  \"meta\": {\n    \"timestamp\": \"1979-03-25T17:49:26.511Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"c8b21d92-7fb9-4de5-b3d3-c6b260175233","name":"Invalid request body or parameters","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"message\": \"string\",\n  \"recipients\": \"string\",\n  \"sender\": \"string\",\n  \"reference\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/sms/send"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"d8f17a4d-2b8f-4376-9617-7cefae5b2eeb","name":"Missing or invalid API key","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"message\": \"string\",\n  \"recipients\": \"string\",\n  \"sender\": \"string\",\n  \"reference\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/sms/send"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"f41a8cc2-5399-442b-a40b-1d361075cd1b","name":"Insufficient SMS credits","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"message\": \"string\",\n  \"recipients\": \"string\",\n  \"sender\": \"string\",\n  \"reference\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/sms/send"},"status":"Payment Required","code":402,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"0d4ebc81-0b6a-4447-9102-bfa73278211e","name":"Wrong key type for this endpoint, key pending/revoked, role not allowed, or account suspended","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"message\": \"string\",\n  \"recipients\": \"string\",\n  \"sender\": \"string\",\n  \"reference\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/sms/send"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"39ec9adb-9008-4b28-bf69-5abbf98ed1d0","name":"Rate limit exceeded for this endpoint","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"message\": \"string\",\n  \"recipients\": \"string\",\n  \"sender\": \"string\",\n  \"reference\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/sms/send"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"c8b90a7f-55ee-43e8-a1f4-44fdfb1ef936"},{"name":"List sender IDs this key may send under","id":"298d1ccf-eb86-4a1d-a664-99c2438571a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.kingflexygh.com/api/v2/sms/senders","urlObject":{"path":["sms","senders"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[]}},"response":[{"id":"b9a76d0c-2d3e-4a73-893f-685a2d225792","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":"https://api.kingflexygh.com/api/v2/sms/senders"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"mode\": \"business\",\n    \"defaultSender\": \"string\",\n    \"senders\": [\n      {\n        \"sender\": \"string\",\n        \"type\": \"pool\",\n        \"isDefault\": false\n      },\n      {\n        \"sender\": \"string\",\n        \"type\": \"pool\",\n        \"isDefault\": false\n      }\n    ]\n  },\n  \"meta\": {\n    \"timestamp\": \"1951-05-23T01:50:54.490Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"23060334-0f36-4cf5-a995-1896fb813791","name":"Missing or invalid API key","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":"https://api.kingflexygh.com/api/v2/sms/senders"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"8ecae6fe-0d5c-48c2-89bf-eda2cc4213c0","name":"Wrong key type for this endpoint, key pending/revoked, role not allowed, or account suspended","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":"https://api.kingflexygh.com/api/v2/sms/senders"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"298d1ccf-eb86-4a1d-a664-99c2438571a0"},{"name":"List your recent SMS campaigns","id":"7bc5c5dd-32cf-4da5-93af-68083e45d50c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.kingflexygh.com/api/v2/sms/campaigns?page=0&status=queued&from=2005-05-29&to=2005-05-29","description":"<p>Campaign <code>status</code> values:</p>\n<ul>\n<li><code>queued</code> — accepted and waiting for the dispatcher (large or scheduled sends).</li>\n<li><code>processing</code> — being sent right now. A large campaign stays here between\ndispatch passes until every recipient has been handled.</li>\n<li><code>completed</code> — every message was accepted for delivery.</li>\n<li><code>partial</code> — some messages were accepted and some could not be sent. The\ncredits for the unsent ones were refunded automatically.</li>\n<li><code>failed</code> — nothing could be sent; all credits were refunded.</li>\n<li><code>cancelled</code> — cancelled before sending; all credits were refunded.</li>\n<li><code>blocked</code> — refused by our content policy; never charged.</li>\n</ul>\n","urlObject":{"path":["sms","campaigns"],"host":["https://api.kingflexygh.com/api/v2"],"query":[{"description":{"content":"<p>30 per page.</p>\n","type":"text/plain"},"key":"page","value":"0"},{"key":"status","value":"queued"},{"key":"from","value":"2005-05-29"},{"key":"to","value":"2005-05-29"}],"variable":[]}},"response":[{"id":"39651cb1-170e-491b-b15b-6fb640d7f37f","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/sms/campaigns?page=0&status=queued&from=2005-05-29&to=2005-05-29","host":["https://api.kingflexygh.com/api/v2"],"path":["sms","campaigns"],"query":[{"description":"30 per page.","key":"page","value":"0"},{"key":"status","value":"queued"},{"key":"from","value":"2005-05-29"},{"key":"to","value":"2005-05-29"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"page\": 434,\n    \"campaigns\": [\n      {\n        \"id\": \"268ea42b-0e01-9180-ed8f-2b83506246b8\",\n        \"status\": \"string\",\n        \"recipients_count\": 3698,\n        \"segments\": 6400,\n        \"credits_charged\": 9336,\n        \"sender_used\": \"string\",\n        \"source\": \"string\",\n        \"scheduled_at\": \"1979-07-18T06:41:55.984Z\",\n        \"created_at\": \"1993-07-25T21:22:27.829Z\"\n      },\n      {\n        \"id\": \"7992544c-0c7f-9221-c276-676ea0f3ef36\",\n        \"status\": \"string\",\n        \"recipients_count\": 3123,\n        \"segments\": 7021,\n        \"credits_charged\": 4957,\n        \"sender_used\": \"string\",\n        \"source\": \"string\",\n        \"scheduled_at\": \"1973-01-04T22:32:00.073Z\",\n        \"created_at\": \"2014-06-16T09:06:22.284Z\"\n      }\n    ]\n  },\n  \"meta\": {\n    \"timestamp\": \"2011-02-13T04:34:08.305Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"c4612aa0-3149-45e1-a32a-15a00ab0e73c","name":"Invalid request body or parameters","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/sms/campaigns?page=0&status=queued&from=2005-05-29&to=2005-05-29","host":["https://api.kingflexygh.com/api/v2"],"path":["sms","campaigns"],"query":[{"description":"30 per page.","key":"page","value":"0"},{"key":"status","value":"queued"},{"key":"from","value":"2005-05-29"},{"key":"to","value":"2005-05-29"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"456707d7-8299-4e74-8383-4087b2537b89","name":"Missing or invalid API key","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/sms/campaigns?page=0&status=queued&from=2005-05-29&to=2005-05-29","host":["https://api.kingflexygh.com/api/v2"],"path":["sms","campaigns"],"query":[{"description":"30 per page.","key":"page","value":"0"},{"key":"status","value":"queued"},{"key":"from","value":"2005-05-29"},{"key":"to","value":"2005-05-29"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"e9b7147c-62af-4b5f-8aa0-af68532e5cf9","name":"Wrong key type for this endpoint, key pending/revoked, role not allowed, or account suspended","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/sms/campaigns?page=0&status=queued&from=2005-05-29&to=2005-05-29","host":["https://api.kingflexygh.com/api/v2"],"path":["sms","campaigns"],"query":[{"description":"30 per page.","key":"page","value":"0"},{"key":"status","value":"queued"},{"key":"from","value":"2005-05-29"},{"key":"to","value":"2005-05-29"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"215a5238-a2b3-4e69-8d88-fd6948e66186","name":"Rate limit exceeded for this endpoint","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/sms/campaigns?page=0&status=queued&from=2005-05-29&to=2005-05-29","host":["https://api.kingflexygh.com/api/v2"],"path":["sms","campaigns"],"query":[{"description":"30 per page.","key":"page","value":"0"},{"key":"status","value":"queued"},{"key":"from","value":"2005-05-29"},{"key":"to","value":"2005-05-29"}]}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"7bc5c5dd-32cf-4da5-93af-68083e45d50c"},{"name":"Delivery status for a campaign","id":"f705ee79-ba35-4092-979a-216a413b85d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.kingflexygh.com/api/v2/sms/messages/:id?page=0&status=expired","description":"<p>Returns the campaign summary, a delivery rollup, and per-recipient\nstatuses (30 per page — use <code>page</code> to walk the rest). The <code>delivery</code>\nrollup is an exact count over the WHOLE campaign, so you never need to\npage through every recipient to get the totals.</p>\n<p>Per-message <code>status</code> values:</p>\n<ul>\n<li><code>queued</code> — waiting its turn in a large campaign.</li>\n<li><code>dispatching</code> — being handed to the carrier right now. Transient: it\nnormally clears within seconds, and a message is never sent twice.</li>\n<li><code>sent</code> — accepted by the carrier; delivery receipt still pending.</li>\n<li><code>delivered</code> — confirmed delivered to the handset.</li>\n<li><code>undelivered</code> / <code>expired</code> / <code>rejected</code> — the carrier reported it could\nnot deliver. These are carrier outcomes and are not refunded.</li>\n<li><code>failed</code> — could not be sent, or the send was interrupted before we\ncould confirm it. The credit was refunded automatically and the message\nis <strong>not</strong> re-sent, so it can never arrive twice.</li>\n</ul>\n<p>A campaign is finished once none of its messages are <code>queued</code>,\n<code>dispatching</code> or <code>sent</code>.</p>\n","urlObject":{"path":["sms","messages",":id"],"host":["https://api.kingflexygh.com/api/v2"],"query":[{"description":{"content":"<p>30 per page.</p>\n","type":"text/plain"},"key":"page","value":"0"},{"key":"status","value":"expired"}],"variable":[{"description":{"content":"<p>The campaignId returned by POST /sms/send.</p>\n","type":"text/plain"},"type":"any","value":"53a360ed-7c1c-a1b0-1b39-3fe548b5de39","key":"id"}]}},"response":[{"id":"221407ad-5884-40a9-a82b-0771fc73f79f","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/sms/messages/:id?page=0&status=expired","host":["https://api.kingflexygh.com/api/v2"],"path":["sms","messages",":id"],"query":[{"description":"30 per page.","key":"page","value":"0"},{"key":"status","value":"expired"}],"variable":[{"key":"id","value":"53a360ed-7c1c-a1b0-1b39-3fe548b5de39","description":"The campaignId returned by POST /sms/send."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"campaign\": {\n      \"id\": \"d0363968-e5ff-df7a-3c89-dd8f6453dd29\",\n      \"sender_used\": \"string\",\n      \"recipients_count\": 3821,\n      \"segments\": 6252,\n      \"credits_charged\": 7892,\n      \"status\": \"string\",\n      \"created_at\": \"2007-12-13T01:55:33.223Z\"\n    },\n    \"delivery\": {\n      \"key_0\": 1986\n    },\n    \"messages\": [\n      {\n        \"recipient\": \"string\",\n        \"status\": \"string\",\n        \"status_updated_at\": \"1996-08-24T04:51:55.239Z\"\n      },\n      {\n        \"recipient\": \"string\",\n        \"status\": \"string\",\n        \"status_updated_at\": \"1967-10-08T10:16:37.108Z\"\n      }\n    ],\n    \"page\": 5501\n  },\n  \"meta\": {\n    \"timestamp\": \"1994-12-31T04:01:44.842Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"3fc2e870-9188-4fbb-a0ce-78683ddee253","name":"Missing or invalid API key","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/sms/messages/:id?page=0&status=expired","host":["https://api.kingflexygh.com/api/v2"],"path":["sms","messages",":id"],"query":[{"description":"30 per page.","key":"page","value":"0"},{"key":"status","value":"expired"}],"variable":[{"key":"id","value":"53a360ed-7c1c-a1b0-1b39-3fe548b5de39","description":"The campaignId returned by POST /sms/send."}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"45251881-3ec2-46d7-aa8c-d44c4fafc2ee","name":"Wrong key type for this endpoint, key pending/revoked, role not allowed, or account suspended","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/sms/messages/:id?page=0&status=expired","host":["https://api.kingflexygh.com/api/v2"],"path":["sms","messages",":id"],"query":[{"description":"30 per page.","key":"page","value":"0"},{"key":"status","value":"expired"}],"variable":[{"key":"id","value":"53a360ed-7c1c-a1b0-1b39-3fe548b5de39","description":"The campaignId returned by POST /sms/send."}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"03da4a2d-c611-4660-9a96-dbbd936d05c7","name":"Resource not found, or not owned by this account","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/sms/messages/:id?page=0&status=expired","host":["https://api.kingflexygh.com/api/v2"],"path":["sms","messages",":id"],"query":[{"description":"30 per page.","key":"page","value":"0"},{"key":"status","value":"expired"}],"variable":[{"key":"id","value":"53a360ed-7c1c-a1b0-1b39-3fe548b5de39","description":"The campaignId returned by POST /sms/send."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"f705ee79-ba35-4092-979a-216a413b85d0"},{"name":"Your SMS credit balance","id":"228872f8-d79b-4e72-9c61-f4f9f4b720d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.kingflexygh.com/api/v2/sms/balance","urlObject":{"path":["sms","balance"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[]}},"response":[{"id":"6939ca90-088d-4ed6-ad51-c8b9b9e921cf","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":"https://api.kingflexygh.com/api/v2/sms/balance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"credits\": 7617,\n    \"totalPurchased\": 7856,\n    \"totalUsed\": 4620,\n    \"mode\": \"business\",\n    \"accountStatus\": \"string\"\n  },\n  \"meta\": {\n    \"timestamp\": \"1953-08-31T21:17:16.115Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"3b431930-a9e1-46ff-95e2-cd9d874803ad","name":"Missing or invalid API key","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":"https://api.kingflexygh.com/api/v2/sms/balance"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"bc2e9039-d7c7-4f31-a89e-6e77be29b29f","name":"Wrong key type for this endpoint, key pending/revoked, role not allowed, or account suspended","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":"https://api.kingflexygh.com/api/v2/sms/balance"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"228872f8-d79b-4e72-9c61-f4f9f4b720d9"}],"id":"a93d9363-03ca-4bb8-9ca0-76cc7d0a3749","description":"<p>Send bulk/transactional SMS and track delivery. Requires a dedicated SMS-type key.</p>\n","_postman_id":"a93d9363-03ca-4bb8-9ca0-76cc7d0a3749","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}}},{"name":"Utility Bills (Commission)","item":[{"name":"Full biller catalog","id":"8799f454-8ad2-4ec2-99f0-6373ded9eab0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.kingflexygh.com/api/v2/utilities/billers","description":"<p>Includes currently disabled billers, so you can build your UI without hardcoding which ones are live.</p>\n","urlObject":{"path":["utilities","billers"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[]}},"response":[{"id":"39b4652a-f936-498d-adf8-5750294c421b","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":"https://api.kingflexygh.com/api/v2/utilities/billers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"billers\": [\n      {\n        \"key\": \"ghana_water\",\n        \"label\": \"string\",\n        \"enabled\": true,\n        \"account_label\": \"string\",\n        \"requires_phone\": false,\n        \"lookup_by\": \"account\",\n        \"links_phone_to_account\": false,\n        \"has_amount_due\": false\n      },\n      {\n        \"key\": \"dstv\",\n        \"label\": \"string\",\n        \"enabled\": true,\n        \"account_label\": \"string\",\n        \"requires_phone\": true,\n        \"lookup_by\": \"phone\",\n        \"links_phone_to_account\": true,\n        \"has_amount_due\": false\n      }\n    ],\n    \"min_amount\": 7754.114826762204,\n    \"max_amount\": 723.9703781555739,\n    \"currency\": \"GHS\"\n  },\n  \"meta\": {\n    \"timestamp\": \"1978-08-08T07:58:00.191Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"b927aa41-a47e-4521-b4dc-98b3889902f0","name":"Missing or invalid API key","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":"https://api.kingflexygh.com/api/v2/utilities/billers"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"776421b3-5908-430a-9d9a-5d6ebcceb3a8","name":"Wrong key type for this endpoint, key pending/revoked, role not allowed, or account suspended","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":"https://api.kingflexygh.com/api/v2/utilities/billers"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"8799f454-8ad2-4ec2-99f0-6373ded9eab0"},{"name":"Verify an account before paying","id":"fe5a2edd-6ae4-440e-a9e5-c2555d716564","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.kingflexygh.com/api/v2/utilities/lookup?biller=ghana_water&account=string&phone=string","urlObject":{"path":["utilities","lookup"],"host":["https://api.kingflexygh.com/api/v2"],"query":[{"key":"biller","value":"ghana_water"},{"description":{"content":"<p>Meter/smartcard/account number. For ecg, pass the phone here too if you have no separate meter number — the query actually runs on phone.</p>\n","type":"text/plain"},"key":"account","value":"string"},{"description":{"content":"<p>Required for ghana_water. For ecg this is what the lookup actually queries by.</p>\n","type":"text/plain"},"key":"phone","value":"string"}],"variable":[]}},"response":[{"id":"7570fa25-5b88-49d2-a23d-9145bc63167b","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/utilities/lookup?biller=ghana_water&account=string&phone=string","host":["https://api.kingflexygh.com/api/v2"],"path":["utilities","lookup"],"query":[{"key":"biller","value":"ghana_water"},{"description":"Meter/smartcard/account number. For ecg, pass the phone here too if you have no separate meter number — the query actually runs on phone.","key":"account","value":"string"},{"description":"Required for ghana_water. For ecg this is what the lookup actually queries by.","key":"phone","value":"string"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"account_name\": \"string\",\n    \"account_number\": \"string\",\n    \"amount_due\": 5511.498164453579,\n    \"bouquet\": \"string\",\n    \"meters\": [\n      {\n        \"name\": \"string\",\n        \"meterNumber\": \"string\",\n        \"outstanding\": 1590.6286810972992\n      },\n      {\n        \"name\": \"string\",\n        \"meterNumber\": \"string\",\n        \"outstanding\": 1987.338342982341\n      }\n    ]\n  },\n  \"meta\": {\n    \"timestamp\": \"1964-03-11T11:46:17.840Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"788dbadb-d0b4-4070-8a60-49f2fedec1be","name":"Invalid request body or parameters","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/utilities/lookup?biller=ghana_water&account=string&phone=string","host":["https://api.kingflexygh.com/api/v2"],"path":["utilities","lookup"],"query":[{"key":"biller","value":"ghana_water"},{"description":"Meter/smartcard/account number. For ecg, pass the phone here too if you have no separate meter number — the query actually runs on phone.","key":"account","value":"string"},{"description":"Required for ghana_water. For ecg this is what the lookup actually queries by.","key":"phone","value":"string"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"1fc88537-47d8-4bc9-9daa-290cf8f065cd","name":"Missing or invalid API key","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/utilities/lookup?biller=ghana_water&account=string&phone=string","host":["https://api.kingflexygh.com/api/v2"],"path":["utilities","lookup"],"query":[{"key":"biller","value":"ghana_water"},{"description":"Meter/smartcard/account number. For ecg, pass the phone here too if you have no separate meter number — the query actually runs on phone.","key":"account","value":"string"},{"description":"Required for ghana_water. For ecg this is what the lookup actually queries by.","key":"phone","value":"string"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"a1939b2b-3f86-426c-a471-c0451b0b0449","name":"Wrong key type for this endpoint, key pending/revoked, role not allowed, or account suspended","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/utilities/lookup?biller=ghana_water&account=string&phone=string","host":["https://api.kingflexygh.com/api/v2"],"path":["utilities","lookup"],"query":[{"key":"biller","value":"ghana_water"},{"description":"Meter/smartcard/account number. For ecg, pass the phone here too if you have no separate meter number — the query actually runs on phone.","key":"account","value":"string"},{"description":"Required for ghana_water. For ecg this is what the lookup actually queries by.","key":"phone","value":"string"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"f3a6fcc2-5400-4c37-ba3e-a25d3175be9d","name":"Resource not found, or not owned by this account","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/utilities/lookup?biller=ghana_water&account=string&phone=string","host":["https://api.kingflexygh.com/api/v2"],"path":["utilities","lookup"],"query":[{"key":"biller","value":"ghana_water"},{"description":"Meter/smartcard/account number. For ecg, pass the phone here too if you have no separate meter number — the query actually runs on phone.","key":"account","value":"string"},{"description":"Required for ghana_water. For ecg this is what the lookup actually queries by.","key":"phone","value":"string"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"f53f9ea9-3d55-4ef9-bcf2-4ec789998587","name":"Rate limit exceeded for this endpoint","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/utilities/lookup?biller=ghana_water&account=string&phone=string","host":["https://api.kingflexygh.com/api/v2"],"path":["utilities","lookup"],"query":[{"key":"biller","value":"ghana_water"},{"description":"Meter/smartcard/account number. For ecg, pass the phone here too if you have no separate meter number — the query actually runs on phone.","key":"account","value":"string"},{"description":"Required for ghana_water. For ecg this is what the lookup actually queries by.","key":"phone","value":"string"}]}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"7bd87bd4-3cc4-4bbf-871b-1ef46a299f4f","name":"Temporarily unreachable — retry shortly. Do not treat it as \"not found\".","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/utilities/lookup?biller=ghana_water&account=string&phone=string","host":["https://api.kingflexygh.com/api/v2"],"path":["utilities","lookup"],"query":[{"key":"biller","value":"ghana_water"},{"description":"Meter/smartcard/account number. For ecg, pass the phone here too if you have no separate meter number — the query actually runs on phone.","key":"account","value":"string"},{"description":"Required for ghana_water. For ecg this is what the lookup actually queries by.","key":"phone","value":"string"}]}},"status":"Bad Gateway","code":502,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"fe5a2edd-6ae4-440e-a9e5-c2555d716564"},{"name":"Pay a bill at face value from your wallet","id":"7cb83352-b3d8-4f98-9066-51086c3ab43e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"biller\": \"gotv\",\n  \"account\": \"string\",\n  \"amount\": 1800.8518091702986,\n  \"reference\": \"j1VREHiA9aD\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/utilities/pay","description":"<p>Debits the bill's face value from your main wallet and pays the\nbiller on your behalf in the background. Never send a price or fee:\nyou are charged exactly <code>amount</code>. Once the order is <code>completed</code>, your\n<code>commission_share_percent</code> share of KiNG FLEXY GH's commission is\ncredited to your Commission Wallet. Verify the account with\nGET /utilities/lookup first, then poll\nGET /utilities/orders/{reference} with the <code>reference</code> from THIS\nresponse (our own code, not the one you sent).</p>\n<p><code>reference</code> is a PURE idempotency key, not a distinct-payment key:\nreusing it (even with a different biller/account/amount) returns the\nORIGINAL order and never re-validates against the new values. Use a\nunique reference per distinct bill.</p>\n","urlObject":{"path":["utilities","pay"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[]}},"response":[{"id":"ea9cd546-01c2-4d3a-a854-f2d29729e088","name":"Paid (or idempotent replay)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"biller\": \"gotv\",\n  \"account\": \"string\",\n  \"amount\": 1800.8518091702986,\n  \"reference\": \"j1VREHiA9aD\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/utilities/pay"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"reference\": \"string\",\n    \"order_id\": \"390c004e-1bbc-f94c-4435-f09bbd560be4\",\n    \"status\": \"pending\",\n    \"biller\": \"string\",\n    \"account\": \"string\",\n    \"amount\": 36.99305038577627,\n    \"commission_share_percent\": 2164.897926180924,\n    \"new_balance\": 7074.75528722847,\n    \"already_processed\": true\n  },\n  \"meta\": {\n    \"timestamp\": \"2021-04-08T06:37:12.408Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"41270f76-3a4e-412b-84b3-d6ae900c7568","name":"Invalid request body or parameters","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"biller\": \"gotv\",\n  \"account\": \"string\",\n  \"amount\": 1800.8518091702986,\n  \"reference\": \"j1VREHiA9aD\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/utilities/pay"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"1a496090-e251-4c88-b12a-c52f8122d3cb","name":"Missing or invalid API key","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"biller\": \"gotv\",\n  \"account\": \"string\",\n  \"amount\": 1800.8518091702986,\n  \"reference\": \"j1VREHiA9aD\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/utilities/pay"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"dbcaae48-d718-40e3-a2bd-a74326639bf8","name":"Wrong key type for this endpoint, key pending/revoked, role not allowed, or account suspended","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"biller\": \"gotv\",\n  \"account\": \"string\",\n  \"amount\": 1800.8518091702986,\n  \"reference\": \"j1VREHiA9aD\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/utilities/pay"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"45e0dfd4-dbc9-463e-84db-438bc8c73d4f","name":"Duplicate order — same biller+account+amount resent within 30s without a reference","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"biller\": \"gotv\",\n  \"account\": \"string\",\n  \"amount\": 1800.8518091702986,\n  \"reference\": \"j1VREHiA9aD\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/utilities/pay"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"0fce9709-8a80-48a9-b395-e88c0ee02b66","name":"Rate limit exceeded for this endpoint","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"biller\": \"gotv\",\n  \"account\": \"string\",\n  \"amount\": 1800.8518091702986,\n  \"reference\": \"j1VREHiA9aD\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/utilities/pay"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"7cb83352-b3d8-4f98-9066-51086c3ab43e"},{"name":"Poll a utility bill order's status","id":"af16961e-1935-41ea-9606-391e5f4c81cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.kingflexygh.com/api/v2/utilities/orders/:reference","description":"<p>Status flow: pending → processing → completed | failed | refunded.</p>\n","urlObject":{"path":["utilities","orders",":reference"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[{"description":{"content":"<p>The reference you supplied (or was echoed back) when the order was created.</p>\n","type":"text/plain"},"type":"any","value":"string","key":"reference"}]}},"response":[{"id":"5c29f0f1-67d6-4446-a2a2-4a79cbeb64c7","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/utilities/orders/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["utilities","orders",":reference"],"variable":[{"key":"reference","value":"string","description":"The reference you supplied (or was echoed back) when the order was created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"reference\": \"string\",\n    \"status\": \"string\",\n    \"payment_status\": \"string\",\n    \"biller\": \"string\",\n    \"account_number\": \"string\",\n    \"account_name\": \"string\",\n    \"amount\": 2336.0467749599943,\n    \"commission_earned\": 6387.130276472745,\n    \"reason\": \"string\",\n    \"created_at\": \"2003-07-12T21:07:41.431Z\",\n    \"updated_at\": \"1978-09-20T01:53:45.894Z\"\n  },\n  \"meta\": {\n    \"timestamp\": \"2009-03-19T23:19:00.360Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"5bc8bd1c-4cbe-4dd3-9948-805ea5e3198b","name":"Missing or invalid API key","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/utilities/orders/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["utilities","orders",":reference"],"variable":[{"key":"reference","value":"string","description":"The reference you supplied (or was echoed back) when the order was created."}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"ad17f5d9-034e-4d4e-b754-9db15ae81a37","name":"Wrong key type for this endpoint, key pending/revoked, role not allowed, or account suspended","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/utilities/orders/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["utilities","orders",":reference"],"variable":[{"key":"reference","value":"string","description":"The reference you supplied (or was echoed back) when the order was created."}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"},{"id":"5c6720d5-53ec-4487-bb21-d860f63e92af","name":"Resource not found, or not owned by this account","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/utilities/orders/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["utilities","orders",":reference"],"variable":[{"key":"reference","value":"string","description":"The reference you supplied (or was echoed back) when the order was created."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 9423,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"af16961e-1935-41ea-9606-391e5f4c81cc"}],"id":"8c14d54d-c05e-4049-882a-f6ad3ff2ed9f","description":"<p>Pay ECG, Ghana Water, DStv, GOtv or StarTimes bills at face value from your wallet. We pay the biller on your behalf and you earn a share of KiNG FLEXY GH's commission. Commission Services key.</p>\n","_postman_id":"8c14d54d-c05e-4049-882a-f6ad3ff2ed9f","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}}},{"name":"Standard Bundles","item":[{"name":"List live Standard Bundles for a network","id":"223756df-d2a7-4ad1-9f37-5d6534ab8099","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.kingflexygh.com/api/v2/bundles/catalog?network=MTN","description":"<p>Live MTN, Telecel or AirtelTigo Standard Bundle catalog, grouped by family\n(Data, Video, Social, Midnight, Kokrokoo, Hour, No-Expiry, BigTime, Fuse, XXL Family,\nSika Kokoo, depending on the network). API buyers pay the <strong>face amount</strong>: <code>price</code> always\nequals <code>amount</code> (no discount on this channel). You earn a share of KiNG FLEXY GH's commission\nin your Commission Wallet once an order is delivered. Telecel Broadband is not a card catalog: it\nis always listed under <code>broadband</code>, with an explicit <code>commission: 0</code>.\nPass a bundle's <code>value</code> and <code>amount</code> unchanged to POST /bundles/purchase — never trim or edit <code>value</code>.\nA Special Bundle appears as an ordinary bundle card with a non-null <code>pack_id</code>; buy it by sending\n<code>pack_id</code> with <code>beneficiary_phone</code> and <code>reference</code>.</p>\n<p><strong>Cache this response.</strong> It changes rarely: refresh it every few minutes to an hour instead of\ncalling it before every purchase. The response carries <code>Cache-Control</code> and an <code>ETag</code>; send the\nETag back in <code>If-None-Match</code> to get a cheap <code>304 Not Modified</code>. Excessive catalog calls are rate limited.</p>\n","urlObject":{"path":["bundles","catalog"],"host":["https://api.kingflexygh.com/api/v2"],"query":[{"key":"network","value":"MTN"}],"variable":[]}},"response":[{"id":"b3d2a6e1-e568-4f4e-9a52-971dd1c7cdb3","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/bundles/catalog?network=MTN","host":["https://api.kingflexygh.com/api/v2"],"path":["bundles","catalog"],"query":[{"key":"network","value":"MTN"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"network\": \"MTN\",\n    \"enabled\": true,\n    \"families\": [\n      {\n        \"key\": \"standard\",\n        \"label\": \"Data Bundles\",\n        \"description\": \"string\"\n      },\n      {\n        \"key\": \"standard\",\n        \"label\": \"Data Bundles\",\n        \"description\": \"string\"\n      }\n    ],\n    \"bundles\": [\n      {\n        \"value\": \"string\",\n        \"amount\": 20,\n        \"price\": 20,\n        \"size\": \"1.39GB\",\n        \"plan\": \"string\",\n        \"family\": \"standard\",\n        \"family_label\": \"Data Bundles\",\n        \"validity\": \"Valid for 30 days\",\n        \"pack_id\": \"07342f9e-68cf-871c-46ba-687a34ec3ad4\"\n      },\n      {\n        \"value\": \"string\",\n        \"amount\": 20,\n        \"price\": 20,\n        \"size\": \"1.39GB\",\n        \"plan\": \"string\",\n        \"family\": \"standard\",\n        \"family_label\": \"Data Bundles\",\n        \"validity\": \"Valid for 30 days\",\n        \"pack_id\": \"b0564eb8-70d6-23eb-6e94-e0dab11b9c19\"\n      }\n    ],\n    \"broadband\": {\n      \"network\": \"TelecelBroadband\",\n      \"enabled\": true,\n      \"min_amount\": 7348.99941467966,\n      \"max_amount\": 8346.084519168826,\n      \"commission\": 0\n    }\n  },\n  \"meta\": {\n    \"timestamp\": \"2009-07-18T19:04:22.662Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"8f9c924e-40d9-40d0-9e07-889e343774ac","name":"Invalid request body or parameters","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/bundles/catalog?network=MTN","host":["https://api.kingflexygh.com/api/v2"],"path":["bundles","catalog"],"query":[{"key":"network","value":"MTN"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8308,\n    \"message\": \"string\"\n  }\n}"},{"id":"4bb4cead-3308-44d3-af74-a43f9b3ca74f","name":"Missing or invalid API key","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/bundles/catalog?network=MTN","host":["https://api.kingflexygh.com/api/v2"],"path":["bundles","catalog"],"query":[{"key":"network","value":"MTN"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8308,\n    \"message\": \"string\"\n  }\n}"},{"id":"3babdcbf-72b5-48ab-b707-63b544036558","name":"Wrong key type for this endpoint, key pending/revoked, role not allowed, or account suspended","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/bundles/catalog?network=MTN","host":["https://api.kingflexygh.com/api/v2"],"path":["bundles","catalog"],"query":[{"key":"network","value":"MTN"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8308,\n    \"message\": \"string\"\n  }\n}"},{"id":"88e4cde2-7737-4a95-a11d-79f074043398","name":"Rate limit exceeded for this endpoint","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/bundles/catalog?network=MTN","host":["https://api.kingflexygh.com/api/v2"],"path":["bundles","catalog"],"query":[{"key":"network","value":"MTN"}]}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8308,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"223756df-d2a7-4ad1-9f37-5d6534ab8099"},{"name":"Buy a Standard Bundle","id":"040d7363-9361-458b-9a50-782e5c6a8df1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"TelecelBroadband\",\n  \"beneficiary_phone\": \"0200000000\",\n  \"amount\": 20,\n  \"reference\": \"bundle-1001\",\n  \"value\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/bundles/purchase","description":"<p>Buy a Standard Bundle (or a Telecel Broadband top-up) from your wallet. Take <code>network</code>, <code>value</code>\nand <code>amount</code> from GET /bundles/catalog — the price is always recomputed on our side from the\ncatalog (any price or discount field in the body is ignored) and you are charged the face amount.\nFor <code>TelecelBroadband</code> send the landline in <code>beneficiary_phone</code>, omit <code>value</code>, and send any\n<code>amount</code> within the advertised min/max.\n<code>reference</code> is your unique transaction id: repeating the same reference returns the original\norder (<code>is_duplicate: true</code>) instead of charging again; a retry while the first call is still\nbeing processed returns 409 — retry with the SAME reference. References are unique per account. If you\nreuse a reference for a <em>different</em> purchase (different number or bundle) you get a 409 as well:\nalways check that a replayed response matches what you asked for, and never generate a new reference\nfor a retry.\nThe order is delivered in the background: prefer the <code>order.completed</code> / <code>order.failed</code> webhooks\n(see \"Webhooks\" below) over polling GET /bundles/orders/{reference}. An order that cannot be\ndelivered ends as <code>refunded</code> (the amount you paid is returned to your wallet automatically).\nA number on a different carrier than <code>network</code> is rejected before you are charged.</p>\n<p><strong>Special Bundles:</strong> send <code>pack_id</code> (from GET /bundles/catalog) with <code>beneficiary_phone</code> and\n<code>reference</code> instead of <code>network</code>/<code>value</code>/<code>amount</code>. Price and network are resolved server-side. It\nbehaves like any other bundle: same pricing, same statuses (<code>pending</code>, <code>processing</code>, <code>completed</code>,\n<code>failed</code>, <code>refunded</code>), same automatic refund if it cannot be delivered. If an order stays\n<code>processing</code> unusually long, contact support.</p>\n<p><strong>Webhooks:</strong> if you configured a webhook URL, we POST <code>order.completed</code> or <code>order.failed</code> with\n<code>product: \"bundles\"</code>, your own <code>reference</code>, the <code>status</code> (<code>completed</code>, <code>failed</code>, or <code>refunded</code> when a\nfailed order was refunded) and an <code>event_id</code>. The body is signed: <code>X-KFT-Signature</code> is the\nHMAC-SHA256 (hex) of the raw request body using your webhook secret. Delivery is at-least-once, so\ndeduplicate on <code>event_id</code>. A <code>completed</code> event with <code>detail.previously_refunded: true</code> means a\nrefunded order was later delivered anyway; the refund is not reversed. Your endpoint must answer 2xx\nwithin 5 seconds; failed deliveries are retried automatically (see \"Webhooks\" in the API description).</p>\n","urlObject":{"path":["bundles","purchase"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[]}},"response":[{"id":"700a103c-9747-4e9b-b7f2-4da4562c7b4b","name":"Order placed (or the original order when the reference was already used)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"TelecelBroadband\",\n  \"beneficiary_phone\": \"0200000000\",\n  \"amount\": 20,\n  \"reference\": \"bundle-1001\",\n  \"value\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/bundles/purchase"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"order_id\": \"0b2f3488-2e35-4586-3a7d-a3d66626e09c\",\n    \"reference\": \"string\",\n    \"order_reference\": \"NBDL-XXXXXXXX\",\n    \"status\": \"pending\",\n    \"network\": \"string\",\n    \"beneficiary_phone\": \"string\",\n    \"bundle\": \"1.39GB\",\n    \"amount\": 9151.692007692922,\n    \"amount_paid\": 7838.34129146179,\n    \"commission\": 4485.110731021567,\n    \"new_balance\": 4615.9735890136135,\n    \"is_duplicate\": true\n  },\n  \"meta\": {\n    \"timestamp\": \"2000-03-31T00:02:31.108Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"d82a3745-450f-4ef1-b7fe-7bcef8e41f1d","name":"Invalid request: bad or missing `reference`, `network`, `beneficiary_phone` or amount; a number that is not on the chosen network (\"That number is not on MTN. Check beneficiary_phone.\"); or \"Insufficient wallet balance\". Nothing was charged.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"TelecelBroadband\",\n  \"beneficiary_phone\": \"0200000000\",\n  \"amount\": 20,\n  \"reference\": \"bundle-1001\",\n  \"value\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/bundles/purchase"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8308,\n    \"message\": \"string\"\n  }\n}"},{"id":"18f7fc2a-6f77-434e-88f4-d17c86400e48","name":"Missing or invalid API key","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"TelecelBroadband\",\n  \"beneficiary_phone\": \"0200000000\",\n  \"amount\": 20,\n  \"reference\": \"bundle-1001\",\n  \"value\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/bundles/purchase"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8308,\n    \"message\": \"string\"\n  }\n}"},{"id":"65588d05-a3ef-4afd-8452-43a6da998b63","name":"Wrong key type for this endpoint, key pending/revoked, role not allowed, or account suspended","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"TelecelBroadband\",\n  \"beneficiary_phone\": \"0200000000\",\n  \"amount\": 20,\n  \"reference\": \"bundle-1001\",\n  \"value\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/bundles/purchase"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8308,\n    \"message\": \"string\"\n  }\n}"},{"id":"080f456a-5b8f-4870-8731-ab67c71e7a47","name":"That bundle (or `pack_id`) is no longer available. Fetch GET /bundles/catalog again and pick again. Nothing was charged.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"TelecelBroadband\",\n  \"beneficiary_phone\": \"0200000000\",\n  \"amount\": 20,\n  \"reference\": \"bundle-1001\",\n  \"value\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/bundles/purchase"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8308,\n    \"message\": \"string\"\n  }\n}"},{"id":"ae8421d5-9356-4136-822e-e4e6f647db12","name":"Either this reference is still being processed (retry shortly with the SAME reference), or it was already used for a different purchase (use a new reference for a new purchase).","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"TelecelBroadband\",\n  \"beneficiary_phone\": \"0200000000\",\n  \"amount\": 20,\n  \"reference\": \"bundle-1001\",\n  \"value\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/bundles/purchase"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8308,\n    \"message\": \"string\"\n  }\n}"},{"id":"a826e982-b767-498a-86e6-adfe3a0501b8","name":"Rate limit exceeded for this endpoint","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"TelecelBroadband\",\n  \"beneficiary_phone\": \"0200000000\",\n  \"amount\": 20,\n  \"reference\": \"bundle-1001\",\n  \"value\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/bundles/purchase"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8308,\n    \"message\": \"string\"\n  }\n}"},{"id":"df1c401e-b35c-4938-989e-d395caadd867","name":"Standard Bundles (or this network) is switched off or temporarily paused (\"Standard Bundles are not available right now\"). Nothing was charged.","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"network\": \"TelecelBroadband\",\n  \"beneficiary_phone\": \"0200000000\",\n  \"amount\": 20,\n  \"reference\": \"bundle-1001\",\n  \"value\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://api.kingflexygh.com/api/v2/bundles/purchase"},"status":"Service Unavailable","code":503,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8308,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"040d7363-9361-458b-9a50-782e5c6a8df1"},{"name":"List your recent Standard Bundle orders","id":"41c539d2-ade7-409d-a83e-4e85be203dc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.kingflexygh.com/api/v2/bundles/orders?status=refunded","description":"<p>Returns at most 30 records, newest first. Optional <code>status</code> filter. Only paid or refunded orders are listed. Prefer webhooks and the single-order lookup over repeatedly listing; excessive calls are rate limited.</p>\n","urlObject":{"path":["bundles","orders"],"host":["https://api.kingflexygh.com/api/v2"],"query":[{"key":"status","value":"refunded"}],"variable":[]}},"response":[{"id":"2114e741-2484-4724-bbfe-634f51c2f1ef","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/bundles/orders?status=refunded","host":["https://api.kingflexygh.com/api/v2"],"path":["bundles","orders"],"query":[{"key":"status","value":"refunded"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"orders\": [\n      {\n        \"order_id\": \"fcf824a5-1355-ad39-176a-c0391661cd13\",\n        \"reference\": \"string\",\n        \"order_reference\": \"NBDL-XXXXXXXX\",\n        \"status\": \"refunded\",\n        \"network\": \"TelecelBroadband\",\n        \"beneficiary_phone\": \"string\",\n        \"bundle\": \"1.39GB\",\n        \"amount\": 2771.0447426604424,\n        \"amount_paid\": 7621.897146732759,\n        \"commission\": 108.51597588117157,\n        \"reason\": \"string\",\n        \"created_at\": \"1986-10-16T22:18:40.346Z\",\n        \"updated_at\": \"1957-05-21T07:27:27.196Z\"\n      },\n      {\n        \"order_id\": \"89c56dac-ed70-ca05-0003-b5d4bda250fd\",\n        \"reference\": \"string\",\n        \"order_reference\": \"NBDL-XXXXXXXX\",\n        \"status\": \"processing\",\n        \"network\": \"AT\",\n        \"beneficiary_phone\": \"string\",\n        \"bundle\": \"1.39GB\",\n        \"amount\": 4199.709770544533,\n        \"amount_paid\": 2614.2864072496973,\n        \"commission\": 5244.086432031825,\n        \"reason\": \"string\",\n        \"created_at\": \"1994-03-26T10:20:41.888Z\",\n        \"updated_at\": \"1973-01-29T20:52:52.710Z\"\n      }\n    ],\n    \"count\": 8138\n  },\n  \"meta\": {\n    \"timestamp\": \"1985-10-02T01:06:00.412Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"a40e7f4f-9895-4dfe-a9ce-17e31bc647b8","name":"Invalid request body or parameters","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/bundles/orders?status=refunded","host":["https://api.kingflexygh.com/api/v2"],"path":["bundles","orders"],"query":[{"key":"status","value":"refunded"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8308,\n    \"message\": \"string\"\n  }\n}"},{"id":"66e0688b-ad22-4db3-b446-eebbb40758c3","name":"Missing or invalid API key","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/bundles/orders?status=refunded","host":["https://api.kingflexygh.com/api/v2"],"path":["bundles","orders"],"query":[{"key":"status","value":"refunded"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8308,\n    \"message\": \"string\"\n  }\n}"},{"id":"abb52bd9-bd6d-4b0d-ab36-a69835d1e2d0","name":"Wrong key type for this endpoint, key pending/revoked, role not allowed, or account suspended","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/bundles/orders?status=refunded","host":["https://api.kingflexygh.com/api/v2"],"path":["bundles","orders"],"query":[{"key":"status","value":"refunded"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8308,\n    \"message\": \"string\"\n  }\n}"},{"id":"5a880f18-95d1-4843-b45f-a0314024e80d","name":"Rate limit exceeded for this endpoint","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/bundles/orders?status=refunded","host":["https://api.kingflexygh.com/api/v2"],"path":["bundles","orders"],"query":[{"key":"status","value":"refunded"}]}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8308,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"41c539d2-ade7-409d-a83e-4e85be203dc4"},{"name":"Check one Standard Bundle order's status","id":"df71acad-faf5-46da-b169-9f456fa60085","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.kingflexygh.com/api/v2/bundles/orders/:reference","description":"<p>Look up one of your own orders by the <code>reference</code> you sent (or our <code>order_reference</code>).\nStatus flow: pending → processing → completed | failed | refunded.\nPrefer the <code>order.completed</code> / <code>order.failed</code> webhooks over polling. If you do poll, poll sparingly with\nincreasing back-off and stop at a terminal status (<code>completed</code>, <code>failed</code>, <code>refunded</code>); polling one order\ntoo often is rate limited.</p>\n","urlObject":{"path":["bundles","orders",":reference"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[{"description":{"content":"<p>The reference you supplied (or was echoed back) when the order was created.</p>\n","type":"text/plain"},"type":"any","value":"string","key":"reference"}]}},"response":[{"id":"ee60e3b0-de8e-429d-8830-657e5ad38ae3","name":"OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/bundles/orders/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["bundles","orders",":reference"],"variable":[{"key":"reference","value":"string","description":"The reference you supplied (or was echoed back) when the order was created."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"data\": {\n    \"order_id\": \"0be84c9f-48a7-555d-186a-da8c937ae06d\",\n    \"reference\": \"string\",\n    \"order_reference\": \"NBDL-XXXXXXXX\",\n    \"status\": \"completed\",\n    \"network\": \"MTN\",\n    \"beneficiary_phone\": \"string\",\n    \"bundle\": \"1.39GB\",\n    \"amount\": 2345.1254484714614,\n    \"amount_paid\": 2663.353128258985,\n    \"commission\": 1279.575152928276,\n    \"reason\": \"string\",\n    \"created_at\": \"2001-05-28T23:51:08.403Z\",\n    \"updated_at\": \"1955-05-18T11:41:41.476Z\"\n  },\n  \"meta\": {\n    \"timestamp\": \"1975-09-27T03:07:04.975Z\",\n    \"version\": \"v2\"\n  }\n}"},{"id":"0b586b2a-4b87-4b5b-9215-1c0f382d1ede","name":"Invalid request body or parameters","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/bundles/orders/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["bundles","orders",":reference"],"variable":[{"key":"reference","value":"string","description":"The reference you supplied (or was echoed back) when the order was created."}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8308,\n    \"message\": \"string\"\n  }\n}"},{"id":"0f32c7df-00e4-44c8-9164-9b5263015d14","name":"Missing or invalid API key","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/bundles/orders/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["bundles","orders",":reference"],"variable":[{"key":"reference","value":"string","description":"The reference you supplied (or was echoed back) when the order was created."}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8308,\n    \"message\": \"string\"\n  }\n}"},{"id":"d755bf03-a514-408c-8f99-faf0519f849f","name":"Wrong key type for this endpoint, key pending/revoked, role not allowed, or account suspended","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/bundles/orders/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["bundles","orders",":reference"],"variable":[{"key":"reference","value":"string","description":"The reference you supplied (or was echoed back) when the order was created."}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8308,\n    \"message\": \"string\"\n  }\n}"},{"id":"034a872f-26be-4417-9875-f38808e46156","name":"Resource not found, or not owned by this account","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/bundles/orders/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["bundles","orders",":reference"],"variable":[{"key":"reference","value":"string","description":"The reference you supplied (or was echoed back) when the order was created."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8308,\n    \"message\": \"string\"\n  }\n}"},{"id":"c4ee93ed-ae6c-47e6-97f5-9ebb56c56c1c","name":"Rate limit exceeded for this endpoint","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":{"raw":"https://api.kingflexygh.com/api/v2/bundles/orders/:reference","host":["https://api.kingflexygh.com/api/v2"],"path":["bundles","orders",":reference"],"variable":[{"key":"reference","value":"string","description":"The reference you supplied (or was echoed back) when the order was created."}]}},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": false,\n  \"error\": {\n    \"code\": 8308,\n    \"message\": \"string\"\n  }\n}"}],"_postman_id":"df71acad-faf5-46da-b169-9f456fa60085"}],"id":"0c167484-af35-4466-84f0-6c55f45ee5e2","description":"<p>The networks' own MTN, Telecel and AirtelTigo internet bundles (Data, Video, Social, Midnight, Kokrokoo, Hour, No-Expiry, BigTime, Fuse, XXL Family, Sika Kokoo) plus Telecel Broadband top-ups, sold at face price from your wallet. You earn a share of KiNG FLEXY GH's commission on every delivered order. Commission Services key.</p>\n","_postman_id":"0c167484-af35-4466-84f0-6c55f45ee5e2","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}}},{"name":"Sandbox","item":[{"name":"List sandbox test scenarios","id":"1d579758-fa3a-4125-ac3e-b0ad78d46667","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.kingflexygh.com/api/v2/sandbox/scenarios","description":"<p>Sandbox keys only (live keys receive 403). Returns the deterministic outcome rules, starting balance and the utilities test account. Works with a standard (kf_test_) or Commission Services (kf_cs_test_) sandbox key.</p>\n","urlObject":{"path":["sandbox","scenarios"],"host":["https://api.kingflexygh.com/api/v2"],"query":[],"variable":[]}},"response":[{"id":"2481fa92-fea9-4e02-b82a-d882e834237c","name":"Scenario rules as JSON: `data.environment`, `data.livemode`, `data.starting_balance`, and `data.scenarios` (array of `{suffix, outcome, description}`, outcome one of success/fail/pending/held).","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":"https://api.kingflexygh.com/api/v2/sandbox/scenarios"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"c715d297-9951-4562-8114-427f5dff6411","name":"A live key was used","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"Authorization","value":"<API Key>"}],"url":"https://api.kingflexygh.com/api/v2/sandbox/scenarios"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"1d579758-fa3a-4125-ac3e-b0ad78d46667"}],"id":"ea4c7d22-cff6-4e8b-8344-225fc31997f1","description":"<p>Free test environment. Sandbox keys (kf_test_ / kf_cs_test_) use the same URLs with a virtual wallet and no real money. Sandbox keys only.</p>\n","_postman_id":"ea4c7d22-cff6-4e8b-8344-225fc31997f1","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]},"isInherited":true,"source":{"_postman_id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","id":"7f50b1de-b114-4bc5-a967-9b2dc21e1831","name":"KiNG FLEXY GH API v2","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"{{apiKey}}"}]}},"variable":[{"key":"baseUrl","value":"https://api.kingflexygh.com/api/v2","type":"any"}]}