{"info":{"_postman_id":"d5890e41-0199-4ac4-80eb-611eb0f807b0","name":"Payspot Nigeria API Documentation","description":"<html><head></head><body><h1 id=\"welcome\">Welcome</h1>\n<p>Welcome to the Payspot Nigeria API documentation! This guide provides a comprehensive overview of how to integrate with Payspot's services programmatically using our robust API. Our API empowers you to seamlessly accept payments, manage transactions, and access valuable account information, all within your applications.</p>\n<p><strong>Our base url is</strong> <code>https://payspotng.com/api</code></p>\n<h3 id=\"need-some-help\"><strong>Need some help?</strong></h3>\n<p>If you encounter any challenges while integrating with the Payspot Nigeria API, or have any questions, feel free to reach out to our friendly support team via <a href=\"https://wa.me/message/XJKQJAXH7E3UP1\">whatsapp chat</a>. We're here to assist you!</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Welcome","slug":"welcome"}],"owner":"11861303","collectionId":"d5890e41-0199-4ac4-80eb-611eb0f807b0","publishedId":"2sAYQfEV6Y","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-01-24T23:47:01.000Z"},"item":[{"name":"Authentication","item":[],"id":"ef0bcf6d-3dc4-4127-8cd4-3430dc5f163b","description":"<p>Payspot Nigeria employs token-based authentication to ensure secure access to its API resources. To interact with protected endpoints, you'll need to include a valid access token within your request headers.</p>\n<p><strong>Obtaining an Access Token</strong></p>\n<p>Before you start making API requests, you must acquire an access token. To do this, send a POST request to the following endpoint:</p>\n<p><strong>Endpoint</strong>: <code>https://payspotng.com/api/auth/login</code><br /><strong>Request Method</strong>: <code>POST</code><br /><strong>Request Parameters</strong>:<br />• <code>email</code> (string, required): Your email address.<br />• <code>password</code> (string, required): Your account password.<br />• <code>expire</code> (integer, optional): Expiration days for which the token will be valid. <em><strong>Default is 7 days</strong></em></p>\n<p><strong>Example Request</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n     \"email\": \"user@example.com\",\n     \"password\": \"password123\",\n     \"expire\": 360\n}\n\n</code></pre>\n<p><strong>Example Response</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": true,\n  \"data\": {\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\",\n    \"expiration_date\": \"Dec. 25, 2023 at 20:55\"\n  },\n  \"message\": \"Token generated successfully\",\n  \"status_code\": 200\n}\n\n</code></pre>\n<p><strong>Using the Access Token</strong></p>\n<p>Once you've obtained a valid access token, include it within the Authorization header of your subsequent API requests using the Bearer token scheme. Here's the format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">Authorization: Bearer &lt;your_access_token_here&gt;\n\n</code></pre>\n","_postman_id":"ef0bcf6d-3dc4-4127-8cd4-3430dc5f163b","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d5890e41-0199-4ac4-80eb-611eb0f807b0","id":"d5890e41-0199-4ac4-80eb-611eb0f807b0","name":"Payspot Nigeria API Documentation","type":"collection"}}},{"name":"Get Account Information","item":[],"id":"a12cfc26-b7bc-45d2-a9e7-e33ad2a31669","description":"<p>Retrieve details pertaining to your Payspot Nigeria account.</p>\n<p><strong>Endpoint:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://payspotng.com/api/user/info\n\n</code></pre><p><strong>Request Method:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET\n\n</code></pre><p><strong>Request Parameters:</strong></p>\n<ul>\n<li><strong>NONE</strong> (Authentication is handled via the Authorization header)</li>\n</ul>\n<p><strong>Headers:</strong></p>\n<ul>\n<li><strong>Authorization: Bearer</strong></li>\n</ul>\n<p><strong>Example Request (using cURL):</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">curl -X GET \\\n  https://payspotng.com/api/user/info \\\n  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN'\n\n</code></pre>\n<p><strong>Example Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"success\",\n  \"data\": {\n    \"basic\": {\n      \"firstname\": \"OGDesigns\",\n      \"lastname\": \"Inc.\",\n      \"email\": \"noreply@payspotng.com\",\n      \"package\": \"premium\"\n    },\n    \"wallets\": {\n      \"naira_balance\": \"735.75\",\n      \"referral_balance\": \"123\"\n    },\n    \"dedicated_accounts\": {\n      \"moniepoint_account\": \"0123456789\",\n      \"wema_account\": null\n    }\n  },\n  \"status_code\": 200\n}\n\n</code></pre>\n","_postman_id":"a12cfc26-b7bc-45d2-a9e7-e33ad2a31669","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d5890e41-0199-4ac4-80eb-611eb0f807b0","id":"d5890e41-0199-4ac4-80eb-611eb0f807b0","name":"Payspot Nigeria API Documentation","type":"collection"}}},{"name":"Products and Services","item":[{"name":"Airtime","item":[],"id":"275d44af-cb85-407e-8054-6e129cb56ce1","description":"<p><strong>Get Airtime</strong></p>\n<p>Retrieve available airtime top-up options for various networks.</p>\n<p><strong>Endpoint:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://payspotng.com/api/product/airtime\n\n</code></pre><p><strong>Request Method:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET\n\n</code></pre><p><strong>Header:</strong></p>\n<ul>\n<li><strong>Authorization: Bearer</strong></li>\n</ul>\n<p><strong>Buy Airtime</strong></p>\n<p>Purchase airtime for a recipient's phone number.</p>\n<p><strong>Endpoint:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://payspotng.com/api/product/airtime\n\n</code></pre><p><strong>Request Method:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>POST\n\n</code></pre><p><strong>Parameters:</strong></p>\n<ul>\n<li><p><strong>network (string, required):</strong> The network provider's ID.</p>\n</li>\n<li><p><strong>recipient (integer, required):</strong> The recipient's phone number.</p>\n</li>\n<li><p><strong>amount (integer, required):</strong> The top-up amount.</p>\n</li>\n</ul>\n<p><strong>Header:</strong></p>\n<ul>\n<li><strong>Authorization: Bearer</strong></li>\n</ul>\n","_postman_id":"275d44af-cb85-407e-8054-6e129cb56ce1","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d5890e41-0199-4ac4-80eb-611eb0f807b0","id":"d5890e41-0199-4ac4-80eb-611eb0f807b0","name":"Payspot Nigeria API Documentation","type":"collection"}}},{"name":"Internet Data","item":[],"id":"f4dac5d9-4c9f-432e-9aa3-66244246a50e","description":"<p><strong>Get Data Plans</strong></p>\n<p>Retrieve a list of available data plans for various networks.</p>\n<p><strong>Endpoint:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://payspotng.com/api/product/data\n\n</code></pre><p><strong>Request Method:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET\n\n</code></pre><p><strong>Header:</strong></p>\n<ul>\n<li><strong>Authorization: Bearer</strong></li>\n</ul>\n<p><strong>Buy Data</strong></p>\n<p>Purchase an internet data plan for a recipient's phone number.</p>\n<p><strong>Endpoint:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://payspotng.com/api/product/data\n\n</code></pre><p><strong>Request Method:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>POST\n\n</code></pre><p><strong>Parameters:</strong></p>\n<ul>\n<li><p><strong>plan_id (integer, required):</strong> The unique ID of the desired data plan.</p>\n</li>\n<li><p><strong>recipient (integer, required):</strong> The recipient's phone number.</p>\n</li>\n</ul>\n<p><strong>Header:</strong></p>\n<ul>\n<li><strong>Authorization: Bearer</strong></li>\n</ul>\n","_postman_id":"f4dac5d9-4c9f-432e-9aa3-66244246a50e","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d5890e41-0199-4ac4-80eb-611eb0f807b0","id":"d5890e41-0199-4ac4-80eb-611eb0f807b0","name":"Payspot Nigeria API Documentation","type":"collection"}}},{"name":"CableTv Subscription","item":[],"id":"346cd5b7-0d70-43fb-876b-25fffe755f34","description":"<p><strong>Get TV Packages</strong></p>\n<p>Retrieve a list of available cable TV subscription packages.</p>\n<p><strong>Endpoint:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://payspotng.com/api/product/cabletv\n\n</code></pre><p><strong>Request Method:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET\n\n</code></pre><p><strong>Header:</strong></p>\n<ul>\n<li><strong>Authorization: Bearer</strong></li>\n</ul>\n<p><strong>Pay Cable TV</strong></p>\n<p>Pay for a cable TV subscription for a customer.</p>\n<p><strong>Endpoint:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://payspotng.com/api/product/cabletv\n\n</code></pre><p><strong>Request Method:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>POST\n\n</code></pre><p><strong>Parameters:</strong></p>\n<ul>\n<li><p><strong>package_id (string, required):</strong> The unique ID of the cable TV package.</p>\n</li>\n<li><p><strong>uid (integer, required):</strong> The unique subscriber ID.</p>\n</li>\n</ul>\n<p><strong>Header:</strong></p>\n<ul>\n<li><strong>Authorization: Bearer</strong></li>\n</ul>\n","_postman_id":"346cd5b7-0d70-43fb-876b-25fffe755f34","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d5890e41-0199-4ac4-80eb-611eb0f807b0","id":"d5890e41-0199-4ac4-80eb-611eb0f807b0","name":"Payspot Nigeria API Documentation","type":"collection"}}},{"name":"Validate Subscriber","item":[],"id":"6a9e8c73-2f35-4d03-870a-7cd3faea9779","description":"<p>Effortlessly confirm user accounts before processing transactions, ensuring reliability and preventing unauthorized charges.</p>\n<p><strong>Validate Account</strong></p>\n<p><strong>Endpoint:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://payspotng.com/api/validate/product\n\n</code></pre><p><strong>Request Method:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>POST\n\n</code></pre><p><strong>Parameters:</strong></p>\n<ul>\n<li><p><strong>product (string, required):</strong> The expected value should be one of the following:  </p>\n<ul>\n<li><p><code>\"cabletv\"</code>: To validate a cable TV product.</p>\n</li>\n<li><p><code>\"ebill\"</code>: To validate an electricity bill product.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>type (string, required):</strong> A required parameter for ebill products.</p>\n<ul>\n<li>For <code>\"ebill\"</code>: Expecting either <code>\"prepaid\"</code> or <code>\"postpaid\"</code>.</li>\n</ul>\n</li>\n<li><p><strong>provider (string, required):</strong> A required parameter for ebill and cabletv products.</p>\n<ul>\n<li><p>For <code>\"ebill\"</code>: Expecting one of the following: <code>\"ikeja\"</code>, <code>\"eko\"</code>, <code>\"kano\"</code>, <code>\"portharcourt\"</code>, <code>\"jos\"</code>, <code>\"ibadan\"</code>, <code>\"kaduna\"</code>, <code>\"abuja\"</code>, <code>\"enugu\"</code>, <code>\"benin\"</code>, or <code>\"aba\"</code>.</p>\n</li>\n<li><p>For <code>\"cabletv\"</code>: Expected value should be either <code>\"startimes\"</code>, <code>\"gotv\"</code>, or <code>\"dstv\"</code>.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>uid (integer, required):</strong> The unique subscriber ID to be validated for the selected product.</p>\n</li>\n</ul>\n<p><strong>Header:</strong></p>\n<ul>\n<li><strong>Authorization: Bearer</strong></li>\n</ul>\n","_postman_id":"6a9e8c73-2f35-4d03-870a-7cd3faea9779","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d5890e41-0199-4ac4-80eb-611eb0f807b0","id":"d5890e41-0199-4ac4-80eb-611eb0f807b0","name":"Payspot Nigeria API Documentation","type":"collection"}}}],"id":"d7f1268b-e6cc-42dc-90fc-1d0b109bea3f","description":"<p>Payspot Nigeria API offers a comprehensive suite of services designed to streamline integration and interaction with various products. Whether you need to recharge airtime, subscribe to internet data plans, pay for cable TV subscriptions, or settle utility bills, Payspot Nigeria has you covered.</p>\n","_postman_id":"d7f1268b-e6cc-42dc-90fc-1d0b109bea3f","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"d5890e41-0199-4ac4-80eb-611eb0f807b0","id":"d5890e41-0199-4ac4-80eb-611eb0f807b0","name":"Payspot Nigeria API Documentation","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{token}}"}]}},"event":[{"listen":"prerequest","script":{"id":"868c2570-98cf-44b6-934a-a2bf96a550b4","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"20e840d4-ccd5-46b5-aa93-6488f68e44f2","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://payspotng.com/api"},{"key":"email","value":"","type":"string"},{"key":"password","value":"","type":"string"}]}