{"info":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","description":"<html><head></head><body><p>This document provides an overview of Integration between Content Providers (Partners) and HML Aggregator System . The Partner can set up and manage products while the Aggregator manages subscriptions and sends notifications to Partner via configured webhooks.</p>\n<p>Host URL for MTN: <a href=\"http://91.109.117.92:8001/api/v1\">http://91.109.117.92:8001/api/v1</a></p>\n<p>Host URL for Airtel and Ninemobile: <a href=\"http://78.110.161.243:8001/api/v1\">http://78.110.161.243:8001/api/v1</a></p>\n<h1 id=\"authentication\"><strong>Authentication</strong></h1>\n<p>Upon creating an account an a live API key and a sandbox API Key will be assigned to you. The live API key will be used for live transactions while the sandbox API key will be used for test transactions to get acquainted with the API.</p>\n<p>Authenticate your API calls by including your API key in the Authorization header of every request you make.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Authentication","slug":"authentication"}],"owner":"14135488","collectionId":"5f192590-c471-45ac-a17f-c15e97e978a0","publishedId":"UVysywKd","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-04-04T12:42:25.000Z"},"item":[{"name":"Partner APIs","item":[{"name":"Products","item":[{"name":"list","id":"42361db1-1128-4560-a5ac-42b515839f30","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/product/","description":"<p>Get a list of all the products configured on the system.</p>\n<p>Request: {{host}}/product/</p>\n<p>Sample response:</p>\n<p>{<br />\"status\": true,<br />\"status_code\": 0,<br />\"message\": \"List of products\",<br />\"data\": [<br />{<br />\"id\": 1,<br />\"user_id\": 1,<br />\"name\": \"USSD and SMS Story\",<br />\"identity\": \"PD-16460855111000\",<br />\"webhook\": \"<a href=\"http://www.myhisa.com/webhook\">http://www.partner.com/webhook\"</a>,<br />\"test_webhook\": \"<a href=\"http://www.myhisa.com/webhook\">http://www.partner.com</a><a href=\"http://www.myhisa.com/test-webhook\">/test-webhook\"</a>,<br />\"webhook_key\": null,<br />\"type\": \"WEBHOOK\",<br />\"amount\": 0,<br />\"subscription_type\": null,<br />\"status\": \"DRAFT\",<br />\"created_at\": \"2022-02-28T21:58:31.000000Z\",<br />\"updated_at\": \"2022-02-28T23:33:14.000000Z\"<br />},<br />{<br />\"id\": 2,<br />\"user_id\": 1,<br />\"name\": \"SMS Jokes\",<br />\"identity\": \"PD-16460856371000\",<br />\"webhook\": null,<br />\"test_webhook\": null,<br />\"webhook_key\": null,<br />\"type\": \"WEBHOOK\",<br />\"amount\": 56,<br />\"subscription_type\": null,<br />\"status\": \"DRAFT\",<br />\"created_at\": \"2022-02-28T22:00:37.000000Z\",<br />\"updated_at\": \"2022-02-28T22:55:30.000000Z\"<br />},<br />]<br />}</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"path":["product",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"cd847a2e-489a-498b-b42e-418c66926391","name":"list","originalRequest":{"method":"GET","header":[],"url":"{{host}}/product"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Mon, 28 Feb 2022 23:33:23 GMT"},{"key":"Date","value":"Mon, 28 Feb 2022 23:33:23 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.0.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"160"},{"key":"X-RateLimit-Remaining","value":"158"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"status_code\": 0,\n    \"message\": \"List of products\",\n    \"data\": [\n        {\n            \"id\": 1,\n            \"user_id\": 1,\n            \"name\": \"USSD and SMS Story\",\n            \"identity\": \"PD-16460855111000\",\n            \"webhook\": \"http://www.myhisa.com/webhook\",\n            \"test_webhook\": \"http://www.myhisa.com/test-webhook\",\n            \"webhook_key\": null,\n            \"type\": \"WEBHOOK\",\n            \"amount\": 0,\n            \"subscription_type\": null,\n            \"status\": \"DRAFT\",\n            \"created_at\": \"2022-02-28T21:58:31.000000Z\",\n            \"updated_at\": \"2022-02-28T23:33:14.000000Z\"\n        },\n        {\n            \"id\": 2,\n            \"user_id\": 1,\n            \"name\": \"SMS Jokes\",\n            \"identity\": \"PD-16460856371000\",\n            \"webhook\": null,\n            \"test_webhook\": null,\n            \"webhook_key\": null,\n            \"type\": \"WEBHOOK\",\n            \"amount\": 56,\n            \"subscription_type\": null,\n            \"status\": \"DRAFT\",\n            \"created_at\": \"2022-02-28T22:00:37.000000Z\",\n            \"updated_at\": \"2022-02-28T22:55:30.000000Z\"\n        },\n        {\n            \"id\": 3,\n            \"user_id\": 1,\n            \"name\": \"USSD and SMS Story\",\n            \"identity\": \"PD-16460858921000\",\n            \"webhook\": null,\n            \"test_webhook\": null,\n            \"webhook_key\": null,\n            \"type\": \"WEBHOOK\",\n            \"amount\": 0,\n            \"subscription_type\": null,\n            \"status\": \"DRAFT\",\n            \"created_at\": \"2022-02-28T22:04:52.000000Z\",\n            \"updated_at\": \"2022-02-28T22:04:52.000000Z\"\n        },\n        {\n            \"id\": 4,\n            \"user_id\": 1,\n            \"name\": \"USSD and SMS Story\",\n            \"identity\": \"PD-16460859461000\",\n            \"webhook\": null,\n            \"test_webhook\": null,\n            \"webhook_key\": null,\n            \"type\": \"WEBHOOK\",\n            \"amount\": 0,\n            \"subscription_type\": null,\n            \"status\": \"DRAFT\",\n            \"created_at\": \"2022-02-28T22:05:46.000000Z\",\n            \"updated_at\": \"2022-02-28T22:05:46.000000Z\"\n        },\n        {\n            \"id\": 5,\n            \"user_id\": 1,\n            \"name\": \"USSD and SMS Story\",\n            \"identity\": \"PD-16460863041000\",\n            \"webhook\": null,\n            \"test_webhook\": null,\n            \"webhook_key\": null,\n            \"type\": \"WEBHOOK\",\n            \"amount\": 0,\n            \"subscription_type\": null,\n            \"status\": \"DRAFT\",\n            \"created_at\": \"2022-02-28T22:11:44.000000Z\",\n            \"updated_at\": \"2022-02-28T22:11:44.000000Z\"\n        },\n        {\n            \"id\": 6,\n            \"user_id\": 1,\n            \"name\": \"USSD and SMS Story\",\n            \"identity\": \"PD-16460869071000\",\n            \"webhook\": null,\n            \"test_webhook\": null,\n            \"webhook_key\": null,\n            \"type\": \"WEBHOOK\",\n            \"amount\": 0,\n            \"subscription_type\": null,\n            \"status\": \"DRAFT\",\n            \"created_at\": \"2022-02-28T22:21:47.000000Z\",\n            \"updated_at\": \"2022-02-28T22:21:47.000000Z\"\n        },\n        {\n            \"id\": 7,\n            \"user_id\": 1,\n            \"name\": \"USSD and SMS Story\",\n            \"identity\": \"PD-16460869191000\",\n            \"webhook\": null,\n            \"test_webhook\": null,\n            \"webhook_key\": null,\n            \"type\": \"WEBHOOK\",\n            \"amount\": 56,\n            \"subscription_type\": null,\n            \"status\": \"DRAFT\",\n            \"created_at\": \"2022-02-28T22:21:59.000000Z\",\n            \"updated_at\": \"2022-02-28T22:21:59.000000Z\"\n        },\n        {\n            \"id\": 8,\n            \"user_id\": 1,\n            \"name\": \"SMS Jokes\",\n            \"identity\": \"PD-16460883911000\",\n            \"webhook\": null,\n            \"test_webhook\": null,\n            \"webhook_key\": null,\n            \"type\": \"WEBHOOK\",\n            \"amount\": 56,\n            \"subscription_type\": null,\n            \"status\": \"DRAFT\",\n            \"created_at\": \"2022-02-28T22:46:31.000000Z\",\n            \"updated_at\": \"2022-02-28T22:46:31.000000Z\"\n        }\n    ]\n}"}],"_postman_id":"42361db1-1128-4560-a5ac-42b515839f30"},{"name":"view","id":"36d33d65-1968-4dc3-9dca-ccecba38527b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/product/:product_id","description":"<p>View full details of a product.<br />Request: {{host}}/product/:product_id<br />Sample response:</p>\n<p>{<br />\"status\": true,<br />\"status_code\": 0,<br />\"message\": \"Successful\",<br />\"data\": {<br />\"id\": 1,<br />\"user_id\": 1,<br />\"name\": \"USSD and SMS Story\",<br />\"identity\": \"PD-16460855111000\",<br />\"webhook\": \"<a href=\"http://www.partner.com/webhook\">http://www.partner.com/webhook\"</a>,<br />\"test_webhook\": \"<a href=\"http://www.partner.com/test-webhook\">http://www.partner.com/test-webhook\"</a>,<br />\"webhook_key\": null,<br />\"type\": \"SUBSCRIPTION\",<br />\"amount\": 2000,<br />\"subscription_type\": \"ONETIME_AND_RECURRING\",<br />\"status\": \"LIVE\",<br />\"created_at\": \"2022-02-28T21:58:31.000000Z\",<br />\"updated_at\": \"2022-03-01T02:05:39.000000Z\",<br />\"mtn_config\": {<br />\"id\": 1,<br />\"product_id\": 1,<br />\"subscription_provider_id\": \"CSM\",<br />\"subscription_id\": \"1356\",<br />\"node_id\": \"Comviva\",<br />\"subscription_name\": \"Comvi_TestN_1356\",<br />\"subscription_description\": \"P_Comvi_TestN_1003\",<br />\"subscription_amount\": \"2000\",<br />\"status\": \"LIVE\",<br />\"created_at\": \"2022-03-01T13:39:23.000000Z\",<br />\"updated_at\": \"2022-03-01T13:39:42.000000Z\"<br />},<br />\"shortcode\": [<br />{<br />\"id\": 65,<br />\"product_id\": 129,<br />\"telco\": \"MTN\",<br />\"type\": \"SMS\",<br />\"shortcode\": \"7117\",<br />\"keyword\": null,<br />\"shortcode_subscription_id\": null,<br />\"details\": null,<br />\"created_at\": \"2022-06-08T21:47:09.000000Z\",<br />\"updated_at\": \"2022-06-08T21:47:09.000000Z\",<br />\"optin_keyword\": \"_7117#\",<br />\"optout_keyword\": \"on demand\"<br />}<br />],<br />\"ussd_shortcode\": [<br />{<br />\"id\": 1,<br />\"product_id\": 129,<br />\"telco\": \"MTN\",<br />\"shortcode\": \"_7117#\",<br />\"menu_hosted_by\": \"EXTERNAL\",<br />\"menu_url\": \"<a href=\"https://hordecall.net/DPR/index.php\">https://hordecall.net/DPR/index.php\"</a>,<br />\"details\": null,<br />\"created_at\": \"2022-06-10T11:04:59.000000Z\",<br />\"updated_at\": \"2022-06-10T15:58:08.000000Z\"<br />}<br />]<br />}<br />}</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"path":["product",":product_id"],"host":["{{host}}"],"query":[],"variable":[{"type":"any","value":"1","key":"product_id"}]}},"response":[{"id":"07b0b5be-414e-4fb2-9a52-b937dc4f5f31","name":"view","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/product/:product_id","host":["{{host}}"],"path":["product",":product_id"],"variable":[{"key":"product_id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 01 Mar 2022 13:39:47 GMT"},{"key":"Date","value":"Tue, 01 Mar 2022 13:39:47 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.0.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"160"},{"key":"X-RateLimit-Remaining","value":"156"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"status\": true,\n    \"status_code\": 0,\n    \"message\": \"Successful\",\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 1,\n        \"name\": \"USSD and SMS Story\",\n        \"identity\": \"PD-16460855111000\",\n        \"webhook\": \"http://www.myhisa.com/webhook\",\n        \"test_webhook\": \"http://www.myhisa.com/test-webhook\",\n        \"webhook_key\": null,\n        \"type\": \"SUBSCRIPTION\",\n        \"amount\": 2000,\n        \"subscription_type\": \"ONETIME_AND_RECURRING\",\n        \"status\": \"LIVE\",\n        \"created_at\": \"2022-02-28T21:58:31.000000Z\",\n        \"updated_at\": \"2022-03-01T02:05:39.000000Z\",\n        \"mtn_config\": {\n            \"id\": 1,\n            \"product_id\": 1,\n            \"subscription_provider_id\": \"CSM\",\n            \"subscription_id\": \"1356\",\n            \"node_id\": \"Comviva\",\n            \"subscription_name\": \"Comvi_TestN_1356\",\n            \"subscription_description\": \"P_Comvi_TestN_1003\",\n            \"subscription_amount\": \"2000\",\n            \"status\": \"LIVE\",\n            \"created_at\": \"2022-03-01T13:39:23.000000Z\",\n            \"updated_at\": \"2022-03-01T13:39:42.000000Z\"\n        },\n        \"shortcode\": []\n    }\n}"}],"_postman_id":"36d33d65-1968-4dc3-9dca-ccecba38527b"},{"name":"create","id":"9181478c-a76a-4713-a2a7-114d36cd1af7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Mobihealth weekly\",\n    \"type\": \"SUBSCRIPTION\",\n    \"subscription_type\": \"ONETIME_AND_RECURRING\",\n    \"amount\": 5000, // in kobo\n    \"webhook\": \"https://api.test.net/api/v1/notification/generic\",\n    \"status\": \"LIVE\",\n    \"validity_days\": 7\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/product","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"path":["product"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"e4049db2-2403-4cb4-82c7-947c945da98f","name":"create","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Mobihealth weekly\",\n    \"type\": \"SUBSCRIPTION\",\n    \"subscription_type\": \"ONETIME_AND_RECURRING\",\n    \"amount\": 5000, // in kobo\n    \"webhook\": \"https://api.test.net/api/v1/notification/generic\",\n    \"status\": \"LIVE\",\n    \"validity_days\": 7\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/product"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Mon, 28 Feb 2022 22:05:46 GMT"},{"key":"Date","value":"Mon, 28 Feb 2022 22:05:46 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.0.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"160"},{"key":"X-RateLimit-Remaining","value":"157"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"status_code\": 0,\n    \"message\": \"Successful\",\n    \"data\": {\n        \"id\": 4,\n        \"user_id\": 1,\n        \"name\": \"USSD and SMS Story\",\n        \"identity\": \"PD-16460859461000\",\n        \"webhook\": \"https://api.test.net/api/v1/notification/generic\",\n        \"test_webhook\": null,\n        \"webhook_key\": null,\n        \"type\": \"WEBHOOK\",\n        \"amount\": 0,\n        \"subscription_type\": null,\n        \"status\": \"DRAFT\",\n        \"created_at\": \"2022-02-28T22:05:46.000000Z\",\n        \"updated_at\": \"2022-02-28T22:05:46.000000Z\"\n    }\n}"}],"_postman_id":"9181478c-a76a-4713-a2a7-114d36cd1af7"},{"name":"update - webhook","id":"9a76cc09-ee7c-4508-98f7-20298ed93a0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"product_id\": 1, // you can pass only the fields that needs updating\n    \"webhook\": \"https://myhisa.com/\",\n    \"sms_webhook\": \"\",\n    \"ussd_webhook\": \"\",\n    \"sync_webhook\": \"\",\n    \"telco_data_webhook\": \"https://myhisa.com/\",\n    \"telco_data_sync_type\": \"UNMATCHED\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/product/update/webhook","description":"<p>Update the webhook for the product</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"path":["product","update","webhook"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"40c5b980-cb6c-4c0b-9698-2b9aced7e4d9","name":"update - webhook","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_id\": 1, // you can pass only the fields that needs updating\n    \"webhook\": \"https://myhisa.com/\",\n    \"sms_webhook\": \"\",\n    \"ussd_webhook\": \"\",\n    \"sync_webhook\": \"\",\n    \"telco_data_webhook\": \"https://myhisa.com/\",\n    \"telco_data_sync_type\": \"UNMATCHED\"\n}","options":{"raw":{"language":"json"}}},"url":"http://94.229.72.27:85/api/admin/product/update/webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Sat, 03 Sep 2022 10:19:54 GMT"},{"key":"Date","value":"Sat, 03 Sep 2022 10:19:54 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.5"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"500"},{"key":"X-RateLimit-Remaining","value":"499"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"status_code\": 0,\n    \"message\": \"Successful\",\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 1,\n        \"name\": \"USSD and SMS Story\",\n        \"identity\": \"PD-16460855111000\",\n        \"webhook\": \"https://myhisa.com/\",\n        \"sms_webhook\": null,\n        \"ussd_webhook\": null,\n        \"sync_webhook\": null,\n        \"telco_data_webhook\": \"https://myhisa.com/\",\n        \"telco_data_sync_type\": \"UNMATCHED\",\n        \"test_webhook\": null,\n        \"webhook_key\": null,\n        \"type\": \"SUBSCRIPTION\",\n        \"amount\": 2000,\n        \"validity_days\": 0,\n        \"subscription_type\": \"ONETIME_AND_RECURRING\",\n        \"status\": \"LIVE\",\n        \"created_at\": \"2022-02-28T21:58:31.000000Z\",\n        \"updated_at\": \"2022-09-03T10:19:54.000000Z\",\n        \"is_server_1\": 1,\n        \"is_server_2\": 1,\n        \"is_free\": 0\n    }\n}"}],"_postman_id":"9a76cc09-ee7c-4508-98f7-20298ed93a0c"},{"name":"update - status","id":"0bc33e6e-45be-4dd8-95ce-f56ae81a3375","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"product_id\": 1,\n    \"status\": \"LIVE\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/product/update/status","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"path":["product","update","status"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"d9a28abf-50f5-4276-930d-e4c0de064244","name":"update - status","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_id\": 1,\n    \"status\": \"LIVE\"\n}","options":{"raw":{"language":"json"}}},"url":"http://94.229.72.27:85/api/product/update/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 01 Mar 2022 01:57:39 GMT"},{"key":"Date","value":"Tue, 01 Mar 2022 01:57:39 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.0.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"160"},{"key":"X-RateLimit-Remaining","value":"158"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"status_code\": 0,\n    \"message\": \"Successful\",\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 1,\n        \"name\": \"USSD and SMS Story\",\n        \"identity\": \"PD-16460855111000\",\n        \"webhook\": \"http://www.myhisa.com/webhook\",\n        \"test_webhook\": \"http://www.myhisa.com/test-webhook\",\n        \"webhook_key\": null,\n        \"type\": \"WEBHOOK\",\n        \"amount\": 0,\n        \"subscription_type\": null,\n        \"status\": \"LIVE\",\n        \"created_at\": \"2022-02-28T21:58:31.000000Z\",\n        \"updated_at\": \"2022-03-01T01:57:39.000000Z\"\n    }\n}"}],"_postman_id":"0bc33e6e-45be-4dd8-95ce-f56ae81a3375"},{"name":"update - subscription","id":"cbae1815-f06e-401a-ae98-8267b4fe03f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"product_id\": 1,\n    \"type\": \"SUBSCRIPTION\",\n    \"subscription_type\": \"ONETIME_AND_RECURRING\",\n    \"amount\": 2000 // in kobo\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/product/update/subscription","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"path":["product","update","subscription"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"4a21f348-c4a6-4138-98c9-f3f3ee53c58e","name":"update - subscription","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_id\": 1,\n    \"type\": \"SUBSCRIPTION\",\n    \"subscription_type\": \"ONETIME_AND_RECURRING\",\n    \"amount\": 2000 // in kobo\n}","options":{"raw":{"language":"json"}}},"url":"http://94.229.72.27:85/api/product/update/subscription"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Tue, 01 Mar 2022 02:05:39 GMT"},{"key":"Date","value":"Tue, 01 Mar 2022 02:05:39 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.0.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"160"},{"key":"X-RateLimit-Remaining","value":"158"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"status_code\": 0,\n    \"message\": \"Successful\",\n    \"data\": {\n        \"id\": 1,\n        \"user_id\": 1,\n        \"name\": \"USSD and SMS Story\",\n        \"identity\": \"PD-16460855111000\",\n        \"webhook\": \"http://www.myhisa.com/webhook\",\n        \"test_webhook\": \"http://www.myhisa.com/test-webhook\",\n        \"webhook_key\": null,\n        \"type\": \"SUBSCRIPTION\",\n        \"amount\": \"2000\",\n        \"subscription_type\": \"ONETIME_AND_RECURRING\",\n        \"status\": \"LIVE\",\n        \"created_at\": \"2022-02-28T21:58:31.000000Z\",\n        \"updated_at\": \"2022-03-01T02:05:39.000000Z\"\n    }\n}"}],"_postman_id":"cbae1815-f06e-401a-ae98-8267b4fe03f2"}],"id":"226696cd-f822-4299-9c64-61196bbeb4dd","description":"<p>This collection contain all the apis necessary to create and manage products.</p>\n","event":[{"listen":"prerequest","script":{"id":"aa0246a0-7bda-438a-98fc-e8628929e35b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d0764e13-b23a-4a23-840c-6dc7bee4da3d","type":"text/javascript","exec":[""]}}],"_postman_id":"226696cd-f822-4299-9c64-61196bbeb4dd","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}}},{"name":"Messages","item":[{"name":"send-message","id":"c4e9dcc7-8c2c-4ad9-b978-ef944b90ee86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"shortcode\": \"6009\", // The shortcode or sender ID\n    \"type\": \"SMS\", // SMS,USSD\n    \"telco\": \"AIRTEL\", // MTN,GLO,AIRTEL,NINEMOBILE\n    \"phone\": \"07034481876\", // Subscribers phone number in national or international formate\n    \"message\": \"Test. Welcome to 7373 shortcode\" //The message. MAX:255 characters\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/partner/shortcode/send-message","description":"<p>The data object in the response is for diagnoses only and it is subject to change for different request</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"path":["partner","shortcode","send-message"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"2d26f3f6-d08f-4dda-a7ee-177c5f34b52a","name":"send-message","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 123456567","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"shortcode\": \"1234\",\n    \"type\": \"SMS\",\n    \"telco\": \"MTN\",\n    \"phone\": \"07030000000\",\n    \"message\": \"Test. Welcome to 1234 shortcode\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/partner/shortcode/send-message"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 25 Mar 2022 16:59:23 GMT"},{"key":"Server","value":"Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_wsgi/4.5.18 Python/3.6 PHP/7.3.29"},{"key":"Vary","value":"Authorization"},{"key":"X-Powered-By","value":"PHP/7.3.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"160"},{"key":"X-RateLimit-Remaining","value":"159"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"248"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"status_code\": 0,\n    \"message\": \"Success.\",\n    \"data\": {\n        \"transaction_id\": \"01648227563\",\n        \"message\": \"Test. Welcome to 1234 shortcode\",\n        \"phone\": \"07030000000\",\n        \"shortcode\": \"1234\",\n        \"response_httpcode\": 201,\n        \"response_id\": \"44bf34ae-78ee-4029-9bee-f6e82c7392d1\"\n    }\n}"}],"_postman_id":"c4e9dcc7-8c2c-4ad9-b978-ef944b90ee86"}],"id":"cfd8ebb2-12ec-4d46-90d7-f976ac9c4a4c","description":"<p>This collection contains api for sending Mobile Terminating (MT) sms or USSD flash messages to subscribers</p>\n","_postman_id":"cfd8ebb2-12ec-4d46-90d7-f976ac9c4a4c","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}}},{"name":"Subscription","item":[{"name":"Initiate","id":"d5fc784c-915e-4bfc-8717-112b89197942","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"product_id\": 1,\n    \"phone\": \"07034481876\",\n    \"telco\": \"MTN\",\n    \"channel\": \"SMS\",\n    \"amount\": 50\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/product/subscription/initiate","description":"<p>If product is draft, no actual subscription will be made. Error response with status code 80 will be returned.</p>\n<p>If product is test, a sample success response will be returned. But no actual subscription will be made</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"path":["product","subscription","initiate"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"d7cabd68-fb89-4a6d-84f3-9a596ea3e871","name":"Initiate","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 1234567890","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_id\": 0,\n    \"phone\": \"0703000000\",\n    \"telco\": \"MTN\",\n    \"channel\": \"USSD\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/product/subscription/initiate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Fri, 25 Mar 2022 11:50:18 GMT"},{"key":"Date","value":"Fri, 25 Mar 2022 11:50:18 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.0.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"160"},{"key":"X-RateLimit-Remaining","value":"158"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"status_code\": 0,\n    \"message\": \"Successful\",\n    \"data\": {\n        \"transaction_id\": \"01648209018\",\n        \"product_id\": 0,\n        \"phone\": \"2347030000000\",\n        \"telco\": \"MTN\",\n        \"amount\": null,\n        \"channel\": \"SMS\",\n        \"telco_ref\": null\n    }\n}"},{"id":"e12cfeeb-8720-4873-bed9-d5d3a9d84dda","name":"Initiate - Test Product","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_id\": 0,\n    \"phone\": \"0703000000\",\n    \"telco\": \"MTN\",\n    \"channel\": \"USSD\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/product/subscription/initiate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Thu, 21 Apr 2022 06:24:15 GMT"},{"key":"Date","value":"Thu, 21 Apr 2022 06:24:15 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.5"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"160"},{"key":"X-RateLimit-Remaining","value":"159"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"status_code\": 0,\n    \"message\": \"Successful. (DRAFT)\",\n    \"data\": {\n        \"transaction_id\": \"01650522255\",\n        \"product_id\": 0,\n        \"phone\": \"2347030000000\",\n        \"telco\": \"AIRTEL\",\n        \"amount\": null,\n        \"channel\": \"SMS\",\n        \"telco_ref\": null\n    }\n}"},{"id":"fc8336a9-6ff8-44f5-a7d3-aee90d584be8","name":"Initiate - Draft Product","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"product_id\": 0,\n    \"phone\": \"0703000000\",\n    \"telco\": \"MTN\",\n    \"channel\": \"USSD\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/product/subscription/initiate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Thu, 21 Apr 2022 06:18:04 GMT"},{"key":"Date","value":"Thu, 21 Apr 2022 06:18:04 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.5"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"160"},{"key":"X-RateLimit-Remaining","value":"158"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"status_code\": 80,\n    \"message\": \"Product is still under draft\",\n    \"data\": []\n}"}],"_postman_id":"d5fc784c-915e-4bfc-8717-112b89197942"},{"name":"unsubscribe","id":"641bc1b7-5e22-4194-b09e-e2b3dcbf8f52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"product_id\":0,\n\t\"phone\":\"07030000000\",\n\t\"telco\":\"MTN\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/product/subscription/unsubscribe","description":"<p>If product is draft, no actual subscription will be made. Error response with status code 80 will be returned.</p>\n<p>If product is test, a sample success response will be returned. But no actual subscription will be made</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"path":["product","subscription","unsubscribe"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"3eb87fd0-e63c-474b-bab5-351c8df192bc","name":"unsubscribe","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer 12345678","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"product_id\":0,\n\t\"phone\":\"07030000000\",\n\t\"telco\":\"MTN\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/product/subscription/unsubscribe"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 29 Mar 2022 09:08:57 GMT"},{"key":"Server","value":"Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_wsgi/4.5.18 Python/3.6 PHP/7.3.29"},{"key":"Vary","value":"Authorization"},{"key":"X-Powered-By","value":"PHP/7.3.29"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"160"},{"key":"X-RateLimit-Remaining","value":"159"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Length","value":"181"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"status_code\": 0,\n    \"message\": \"Request Successful\",\n    \"data\": {\n        \"transaction_id\": \"01648544937\",\n        \"product_id\": 0,\n        \"phone\": \"2347030000000\",\n        \"telco\": \"MTN\",\n        \"telco_ref\": \"01648544937\"\n    }\n}"},{"id":"43600aea-6f88-4e24-a9ec-0b18a0846ada","name":"unsubscribe - Test Product","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"product_id\":0,\n\t\"phone\":\"07030000000\",\n\t\"telco\":\"MTN\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/product/subscription/unsubscribe"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Thu, 21 Apr 2022 06:31:19 GMT"},{"key":"Date","value":"Thu, 21 Apr 2022 06:31:19 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.5"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"160"},{"key":"X-RateLimit-Remaining","value":"159"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"status_code\": 0,\n    \"message\": \"Successful. (DRAFT)\",\n    \"data\": {\n        \"transaction_id\": \"01650522679\",\n        \"product_id\": 0,\n        \"phone\": \"2347030000000\",\n        \"telco\": \"MTN\",\n        \"telco_ref\": null\n    }\n}"},{"id":"0377674f-1b01-4277-ade0-9b0ef6766d86","name":"unsubscribe - Draft Product","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"product_id\":0,\n\t\"phone\":\"07030000000\",\n\t\"telco\":\"MTN\"\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/product/subscription/unsubscribe"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Thu, 21 Apr 2022 06:33:22 GMT"},{"key":"Date","value":"Thu, 21 Apr 2022 06:33:22 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.5"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"160"},{"key":"X-RateLimit-Remaining","value":"159"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": false,\n    \"status_code\": 80,\n    \"message\": \"Product is still under draft\",\n    \"data\": []\n}"}],"_postman_id":"641bc1b7-5e22-4194-b09e-e2b3dcbf8f52"}],"id":"0474c539-567e-4a13-805e-99e8d91fcc16","description":"<p>Partners can initiate subscription and unsubscribe a user from a product</p>\n","_postman_id":"0474c539-567e-4a13-805e-99e8d91fcc16","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}}},{"name":"Mtn Lagacy","item":[{"name":"subscribe","id":"f73216ae-9e06-4e5d-b1ad-85e38818bdec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:loc=\"http://www.csapi.org/schema/parlayx/subscribe/manage/v1_0/local\">\n   <soapenv:Header>\n      <tns:RequestSOAPHeader xmlns:tns=\"http://www.huawei.com.cn/schema/common/v2_1\">\n         <tns:spId>CSM</tns:spId>\n         <tns:spPassword>SASDHIOHJsdfsfsa</tns:spPassword>\n         <tns:timeStamp>20080101010101</tns:timeStamp>\n         <oauth_token>1215616AA</oauth_token>\n      </tns:RequestSOAPHeader>\n   </soapenv:Header>\n   <soapenv:Body>\n      <loc:subscribeProductRequest>\n         <loc:subscribeProductReq>\n            <userID>\n               <ID>07030000000</ID>\n               <type>0</type>\n            </userID>\n            <subInfo>\n               <productID>1356</productID>\n               <operCode>zh</operCode>\n               <isAutoExtend>0</isAutoExtend>\n               <channelID>1</channelID>\n            </subInfo>\n         </loc:subscribeProductReq>\n      </loc:subscribeProductRequest>\n   </soapenv:Body>\n</soapenv:Envelope>","options":{"raw":{"language":"xml"}}},"url":"{{host}}/product/lagacy/subscribe","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"path":["product","lagacy","subscribe"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"61e20657-2c42-469c-8b9a-796576f9bf7a","name":"subscribe","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:loc=\"http://www.csapi.org/schema/parlayx/subscribe/manage/v1_0/local\">\n   <soapenv:Header>\n      <tns:RequestSOAPHeader xmlns:tns=\"http://www.huawei.com.cn/schema/common/v2_1\">\n         <tns:spId>CSM</tns:spId>\n         <tns:spPassword>SASDHIOHJsdfsfsa</tns:spPassword>\n         <tns:timeStamp>20080101010101</tns:timeStamp>\n         <oauth_token>1215616AA</oauth_token>\n      </tns:RequestSOAPHeader>\n   </soapenv:Header>\n   <soapenv:Body>\n      <loc:subscribeProductRequest>\n         <loc:subscribeProductReq>\n            <userID>\n               <ID>0809 650 9900</ID>\n               <type>0</type>\n            </userID>\n            <subInfo>\n               <productID>1356</productID>\n               <operCode>zh</operCode>\n               <isAutoExtend>0</isAutoExtend>\n               <channelID>2</channelID>\n            </subInfo>\n         </loc:subscribeProductReq>\n      </loc:subscribeProductRequest>\n   </soapenv:Body>\n</soapenv:Envelope>","options":{"raw":{"language":"xml"}}},"url":"{{host}}/product/lagacy/subscribe"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Mon, 21 Mar 2022 16:15:38 GMT"},{"key":"Date","value":"Mon, 21 Mar 2022 16:15:38 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.0.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/xml"},{"key":"X-RateLimit-Limit","value":"160"},{"key":"X-RateLimit-Remaining","value":"159"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n    <soapenv:Body>\n        <ns1:subscribeProductResponse xmlns:ns1=\"http://www.csapi.org/schema/parlayx/subscribe/manage/v1_0/local\">\n            <ns1:subscribeProductRsp>\n                <result>0</result>\n                <resultDescription>OK</resultDescription>\n            </ns1:subscribeProductRsp>\n        </ns1:subscribeProductResponse>\n    </soapenv:Body>\n</soapenv:Envelope>"}],"_postman_id":"f73216ae-9e06-4e5d-b1ad-85e38818bdec"},{"name":"unsubscribe","id":"06836a17-b398-4135-8315-f6f7bb6c9553","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:loc=\"http://www.csapi.org/schema/parlayx/subscribe/manage/v1_0/local\">\n   <soapenv:Header>\n      <tns:RequestSOAPHeader xmlns:tns=\"http://www.huawei.com.cn/schema/common/v2_1\">\n         <tns:spId>CSM</tns:spId>\n         <tns:spPassword>SASDHIOHJsdfsfsa</tns:spPassword>\n         <tns:timeStamp>20080101010101</tns:timeStamp>\n         <oauth_token>1215616AA</oauth_token>\n      </tns:RequestSOAPHeader>\n   </soapenv:Header>\n   <soapenv:Body>\n      <loc:unSubscribeProductRequest>\n         <loc:unSubscribeProductReq>\n            <userID>\n               <ID>07030000000</ID>\n               <type>0</type>\n            </userID>\n            <subInfo>\n               <productID>1356</productID>\n               <operCode>zh</operCode>\n               <isAutoExtend>0</isAutoExtend>\n               <channelID>2</channelID>\n            </subInfo>\n         </loc:unSubscribeProductReq>\n      </loc:unSubscribeProductRequest>\n   </soapenv:Body>\n</soapenv:Envelope>","options":{"raw":{"language":"xml"}}},"url":"{{host}}/product/lagacy/subscribe","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"path":["product","lagacy","subscribe"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"e6f48e0e-bf14-4b4e-93d7-98e293969582","name":"unsubscribe","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:loc=\"http://www.csapi.org/schema/parlayx/subscribe/manage/v1_0/local\">\n   <soapenv:Header>\n      <tns:RequestSOAPHeader xmlns:tns=\"http://www.huawei.com.cn/schema/common/v2_1\">\n         <tns:spId>CSM</tns:spId>\n         <tns:spPassword>SASDHIOHJsdfsfsa</tns:spPassword>\n         <tns:timeStamp>20080101010101</tns:timeStamp>\n         <oauth_token>1215616AA</oauth_token>\n      </tns:RequestSOAPHeader>\n   </soapenv:Header>\n   <soapenv:Body>\n      <loc:unSubscribeProductRequest>\n         <loc:unSubscribeProductReq>\n            <userID>\n               <ID>0809 650 9900</ID>\n               <type>0</type>\n            </userID>\n            <subInfo>\n               <productID>1356</productID>\n               <operCode>zh</operCode>\n               <isAutoExtend>0</isAutoExtend>\n               <channelID>2</channelID>\n            </subInfo>\n         </loc:unSubscribeProductReq>\n      </loc:unSubscribeProductRequest>\n   </soapenv:Body>\n</soapenv:Envelope>","options":{"raw":{"language":"xml"}}},"url":"{{host}}/product/lagacy/subscribe"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Mon, 21 Mar 2022 16:25:36 GMT"},{"key":"Date","value":"Mon, 21 Mar 2022 16:25:36 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.0.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/xml"},{"key":"X-RateLimit-Limit","value":"160"},{"key":"X-RateLimit-Remaining","value":"159"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n    <soapenv:Body>\n        <ns1:unSubscribeProductResponse xmlns:ns1=\"http://www.csapi.org/schema/parlayx/subscribe/manage/v1_0/local\">\n            <ns1:unSubscribeProductRsp>\n                <result>0</result>\n                <resultDescription>OK</resultDescription>\n            </ns1:unSubscribeProductRsp>\n        </ns1:unSubscribeProductResponse>\n    </soapenv:Body>\n</soapenv:Envelope>"}],"_postman_id":"06836a17-b398-4135-8315-f6f7bb6c9553"}],"id":"1b42b884-e7e9-4602-8f85-7dc7b1e7bff9","_postman_id":"1b42b884-e7e9-4602-8f85-7dc7b1e7bff9","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}}},{"name":"Report","item":[{"name":"subscribers","item":[{"name":"Check phone status","id":"7a954de6-a670-460c-bb70-5234c151a689","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{host}}/partner/report/subscribers/subscriber-status?phone=2347030000000&product_id=8","description":"<p>Get subscription summary within given dates</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"path":["partner","report","subscribers","subscriber-status"],"host":["{{host}}"],"query":[{"key":"phone","value":"2347030000000"},{"key":"product_id","value":"8"}],"variable":[]}},"response":[{"id":"e66d7b59-05e9-4b7d-8863-42b5861fb852","name":"Check phone status","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{host}}/partner/report/subscribers/subscriber-status?phone=2349166345251","host":["{{host}}"],"path":["partner","report","subscribers","subscriber-status"],"query":[{"key":"phone","value":"2349166345251"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 16 Aug 2023 09:09:54 GMT"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"status_code\": 0,\n    \"message\": \"Report\",\n    \"data\": {\n        \"phone\": \"2349166345251\",\n        \"active_subscription\": 1,\n        \"active_products\": [\n            {\n                \"id\": 2,\n                \"name\": \"MTN FC WEEKLY\"\n            }\n        ],\n        \"total_subscriptions_count\": 7\n    } \n}\n"},{"id":"03fa3e66-aee8-4bb5-8fdd-89ea3f57a883","name":"No ative sub","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{host}}/partner/report/subscribers/subscriber-status?phone=2349166345251","host":["{{host}}"],"path":["partner","report","subscribers","subscriber-status"],"query":[{"key":"phone","value":"2349166345251"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 16 Aug 2023 09:01:20 GMT"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"status_code\": 0,\n    \"message\": \"Report\",\n    \"data\": {\n        \"phone\": \"2349166345251\",\n        \"active_subscription\": 0,\n        \"active_products\": [],\n        \"total_subscriptions_count\": 0\n    }\n}"}],"_postman_id":"7a954de6-a670-460c-bb70-5234c151a689"},{"name":"active-count","id":"af756ca1-9c28-41a2-a746-4e82ee80409d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{host}}/partner/report/subscribers/active-count?product_id=2","description":"<p>Get subscription summary within given dates</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"path":["partner","report","subscribers","active-count"],"host":["{{host}}"],"query":[{"description":{"content":"<p>optional. If not provided, all the partner products is queried.</p>\n","type":"text/plain"},"key":"product_id","value":"2"}],"variable":[]}},"response":[{"id":"ac13eb61-da06-4373-b464-9e47aee6b12a","name":"active-count","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{host}}/partner/report/subscribers/active-count?product_id=2","host":["{{host}}"],"path":["partner","report","subscribers","active-count"],"query":[{"key":"product_id","value":"2","description":"optional. If not provided, all the partner products is queried."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 16 Aug 2023 09:13:36 GMT"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"status_code\": 0,\n    \"message\": \"Report\",\n    \"data\": {\n        \"active_subscribers\": 39152,\n        \"product_count\": 1\n    }\n}"},{"id":"3e575a47-534f-4d7d-9d46-95cfc52da2e7","name":"active-count","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{host}}/partner/report/subscribers/active-count","host":["{{host}}"],"path":["partner","report","subscribers","active-count"],"query":[{"key":"product_id","value":"2","description":"optional. If not provided, all the partner products is queried.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 16 Aug 2023 09:18:12 GMT"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"status_code\": 0,\n    \"message\": \"Report\",\n    \"data\": {\n        \"active_subscribers\": 39122,\n        \"product_count\": 5\n    }\n}"}],"_postman_id":"af756ca1-9c28-41a2-a746-4e82ee80409d"},{"name":"active-list","id":"6edd1569-c974-43d8-b23f-a10accc28696","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{host}}/partner/report/subscribers/active-list?product_id=2&phone=2349166345251","description":"<p>Get subscription summary within given dates</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"path":["partner","report","subscribers","active-list"],"host":["{{host}}"],"query":[{"description":{"content":"<p>Required</p>\n","type":"text/plain"},"key":"product_id","value":"2"},{"key":"phone","value":"2349166345251"}],"variable":[]}},"response":[{"id":"e5bd219b-f5e6-4ba6-8086-07fa41905e36","name":"active-list","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{host}}/partner/report/subscribers/active-list?product_id=2&phone=2349166345251","host":["{{host}}"],"path":["partner","report","subscribers","active-list"],"query":[{"key":"product_id","value":"2","description":"Required"},{"key":"phone","value":"2349166345251"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Wed, 16 Aug 2023 09:20:52 GMT"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"status_code\": 0,\n    \"message\": \"Report\",\n    \"data\": {\n        \"current_page\": 1,\n        \"data\": [\n            {\n                \"id\": 337128,\n                \"product_id\": 2,\n                \"phone\": \"0703000000\",\n                \"telco\": \"MTN\",\n                \"amount\": 10000,\n                \"start_at\": \"2023-08-09 09:21\",\n                \"end_at\": \"2023-08-16 09:21\",\n                \"is_renewal\": 1,\n                \"channel\": \"system-renewal\",\n                \"auto_renewal\": 1,\n                \"telco_status_code\": \"0\",\n                \"telco_ref\": \"216906979286359683097\",\n                \"notify_successful\": 1,\n                \"notification_url\": \"\",\n                \"notification_number_of_try\": 0,\n                \"notification_last_at\": null,\n                \"created_at\": \"2023-08-09T09:21:00.000000Z\",\n                \"updated_at\": \"2023-08-09T09:21:00.000000Z\"\n            },\n            {\n                \"id\": 337136,\n                \"product_id\": 2,\n                \"phone\": \"0703000001\",\n                \"telco\": \"MTN\",\n                \"amount\": 10000,\n                \"start_at\": \"2023-08-09 09:21\",\n                \"end_at\": \"2023-08-16 09:21\",\n                \"is_renewal\": 1,\n                \"channel\": \"system-renewal\",\n                \"auto_renewal\": 1,\n                \"telco_status_code\": \"0\",\n                \"telco_ref\": \"216897480631859975433\",\n                \"notify_successful\": 1,\n                \"notification_url\": \"\",\n                \"notification_number_of_try\": 0,\n                \"notification_last_at\": null,\n                \"created_at\": \"2023-08-09T09:21:10.000000Z\",\n                \"updated_at\": \"2023-08-09T09:21:10.000000Z\"\n            },\n            {\n                \"id\": 337137,\n                \"product_id\": 2,\n                \"phone\": \"0703000002\",\n                \"telco\": \"MTN\",\n                \"amount\": 10000,\n                \"start_at\": \"2023-08-09 09:21\",\n                \"end_at\": \"2023-08-16 09:21\",\n                \"is_renewal\": 1,\n                \"channel\": \"system-renewal\",\n                \"auto_renewal\": 1,\n                \"telco_status_code\": \"0\",\n                \"telco_ref\": \"216903547795629696899\",\n                \"notify_successful\": 1,\n                \"notification_url\": \"\",\n                \"notification_number_of_try\": 0,\n                \"notification_last_at\": null,\n                \"created_at\": \"2023-08-09T09:21:10.000000Z\",\n                \"updated_at\": \"2023-08-09T09:21:10.000000Z\"\n            },\n            {\n                \"id\": 337138,\n                \"product_id\": 2,\n                \"phone\": \"0703000003\",\n                \"telco\": \"MTN\",\n                \"amount\": 10000,\n                \"start_at\": \"2023-08-09 09:21\",\n                \"end_at\": \"2023-08-16 09:21\",\n                \"is_renewal\": 1,\n                \"channel\": \"system-renewal\",\n                \"auto_renewal\": 1,\n                \"telco_status_code\": \"0\",\n                \"telco_ref\": \"216903547847410273352\",\n                \"notify_successful\": 1,\n                \"notification_url\": \"\",\n                \"notification_number_of_try\": 0,\n                \"notification_last_at\": null,\n                \"created_at\": \"2023-08-09T09:21:11.000000Z\",\n                \"updated_at\": \"2023-08-09T09:21:11.000000Z\"\n            },\n            {\n                \"id\": 337146,\n                \"product_id\": 2,\n                \"phone\": \"0703000004\",\n                \"telco\": \"MTN\",\n                \"amount\": 10000,\n                \"start_at\": \"2023-08-09 09:21\",\n                \"end_at\": \"2023-08-16 09:21\",\n                \"is_renewal\": 1,\n                \"channel\": \"system-renewal\",\n                \"auto_renewal\": 1,\n                \"telco_status_code\": \"0\",\n                \"telco_ref\": \"216908747040700475929\",\n                \"notify_successful\": 1,\n                \"notification_url\": \"\",\n                \"notification_number_of_try\": 0,\n                \"notification_last_at\": null,\n                \"created_at\": \"2023-08-09T09:21:20.000000Z\",\n                \"updated_at\": \"2023-08-09T09:21:20.000000Z\"\n            },\n            {\n                \"id\": 337147,\n                \"product_id\": 2,\n                \"phone\": \"0703000005\",\n                \"telco\": \"MTN\",\n                \"amount\": 10000,\n                \"start_at\": \"2023-08-09 09:21\",\n                \"end_at\": \"2023-08-16 09:21\",\n                \"is_renewal\": 1,\n                \"channel\": \"system-renewal\",\n                \"auto_renewal\": 1,\n                \"telco_status_code\": \"0\",\n                \"telco_ref\": \"216903606846199768369\",\n                \"notify_successful\": 1,\n                \"notification_url\": \"\",\n                \"notification_number_of_try\": 0,\n                \"notification_last_at\": null,\n                \"created_at\": \"2023-08-09T09:21:22.000000Z\",\n                \"updated_at\": \"2023-08-09T09:21:22.000000Z\"\n            }\n        ],\n        \"first_page_url\": \"https://api.msrvas.com/api/v1/partner/report/subscribers/active-list?page=1\",\n        \"from\": 1,\n        \"last_page\": 79,\n        \"last_page_url\": \"https://api.msrvas.com/api/v1/partner/report/subscribers/active-list?page=79\",\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.msrvas.com/api/v1/partner/report/subscribers/active-list?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": \"https://api.msrvas.com/api/v1/partner/report/subscribers/active-list?page=2\",\n                \"label\": \"2\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.msrvas.com/api/v1/partner/report/subscribers/active-list?page=3\",\n                \"label\": \"3\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.msrvas.com/api/v1/partner/report/subscribers/active-list?page=4\",\n                \"label\": \"4\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.msrvas.com/api/v1/partner/report/subscribers/active-list?page=5\",\n                \"label\": \"5\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.msrvas.com/api/v1/partner/report/subscribers/active-list?page=6\",\n                \"label\": \"6\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.msrvas.com/api/v1/partner/report/subscribers/active-list?page=7\",\n                \"label\": \"7\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.msrvas.com/api/v1/partner/report/subscribers/active-list?page=8\",\n                \"label\": \"8\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.msrvas.com/api/v1/partner/report/subscribers/active-list?page=9\",\n                \"label\": \"9\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.msrvas.com/api/v1/partner/report/subscribers/active-list?page=10\",\n                \"label\": \"10\",\n                \"active\": false\n            },\n            {\n                \"url\": null,\n                \"label\": \"...\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.msrvas.com/api/v1/partner/report/subscribers/active-list?page=78\",\n                \"label\": \"78\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.msrvas.com/api/v1/partner/report/subscribers/active-list?page=79\",\n                \"label\": \"79\",\n                \"active\": false\n            },\n            {\n                \"url\": \"https://api.msrvas.com/api/v1/partner/report/subscribers/active-list?page=2\",\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"next_page_url\": \"https://api.msrvas.com/api/v1/partner/report/subscribers/active-list?page=2\",\n        \"path\": \"https://api.msrvas.com/api/v1/partner/report/subscribers/active-list\",\n        \"per_page\": 500,\n        \"prev_page_url\": null,\n        \"to\": 500,\n        \"total\": 39105\n    }\n}"}],"_postman_id":"6edd1569-c974-43d8-b23f-a10accc28696"}],"id":"3ef4a755-fafa-4bbe-8e9b-5f7281b1d874","_postman_id":"3ef4a755-fafa-4bbe-8e9b-5f7281b1d874","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}}},{"name":"summary-by-dates","id":"1358d10d-071d-4fc0-96dc-4b8d95aa6fe1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{host}}/partner/report/summary/range?from=2022-06-01&to=2022-08-01","description":"<p>Get subscription summary within given dates</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"path":["partner","report","summary","range"],"host":["{{host}}"],"query":[{"description":{"content":"<p>YYYY-MM-DD</p>\n","type":"text/plain"},"key":"from","value":"2022-06-01"},{"key":"to","value":"2022-08-01"}],"variable":[]}},"response":[{"id":"4c0a4a06-b883-4241-974b-98b0b72b14f8","name":"summary-by-dates","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{host}}/partner/report/summary/range?from=2022-06-01&to=2022-08-01","host":["{{host}}"],"path":["partner","report","summary","range"],"query":[{"key":"from","value":"2022-06-01","description":"YYYY-MM-DD"},{"key":"to","value":"2022-08-01"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 29 Aug 2023 06:45:19 GMT"},{"key":"Server","value":"Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_wsgi/4.5.18 Python/3.6 PHP/7.3.33"},{"key":"Vary","value":"Authorization"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"Connection","value":"close"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"status_code\": 0,\n    \"message\": \"Report\",\n    \"data\": {\n        \"total_count\": 0,\n        \"total_amount\": 0,\n        \"unique_subscribers\": 0,\n        \"renewal_count\": 0,\n        \"renewal_amount\": 0,\n        \"unsubscription_count\": 0,\n        \"product_count\": 4,\n        \"server_code\": \"1\"\n    }\n}"}],"_postman_id":"1358d10d-071d-4fc0-96dc-4b8d95aa6fe1"},{"name":"summary-by-type","id":"b06db8f6-11f7-4c5d-b382-fa3b10cbe349","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{host}}/partner/report/summary/type/:type","description":"<p>Get summary for a predefined time period.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"path":["partner","report","summary","type",":type"],"host":["{{host}}"],"query":[],"variable":[{"description":{"content":"<p>yesterday, 7_days, 30_days</p>\n","type":"text/plain"},"type":"any","value":"30_days","key":"type"}]}},"response":[{"id":"d64e63b7-1e37-4560-a11d-fa1b95769296","name":"summary-by-type","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{host}}/partner/report/summary/type/:type","host":["{{host}}"],"path":["partner","report","summary","type",":type"],"variable":[{"key":"type","value":"30_days","description":"yesterday, 7_days, 30_days"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 29 Aug 2023 06:46:04 GMT"},{"key":"Server","value":"Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_wsgi/4.5.18 Python/3.6 PHP/7.3.33"},{"key":"Vary","value":"Authorization"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"Connection","value":"close"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"status_code\": 0,\n    \"message\": \"Report\",\n    \"data\": {\n        \"total_count\": 3,\n        \"total_amount\": \"7000\",\n        \"unique_subscribers\": 2,\n        \"renewal_count\": \"1\",\n        \"renewal_amount\": \"5000\",\n        \"unsubscription_count\": 1,\n        \"product_count\": 4,\n        \"server_code\": \"1\"\n    }\n}"},{"id":"29b1c02d-8204-4019-b286-8863db9de60b","name":"summary-by-type - old","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{host}}/partner/report/summary/type/:type","host":["{{host}}"],"path":["partner","report","summary","type",":type"],"variable":[{"key":"type","value":"30_days","description":"yesterday, 7_days, 30_days"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Jun 2023 11:27:26 GMT"},{"key":"Server","value":"Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_wsgi/4.5.18 Python/3.6 PHP/7.3.33"},{"key":"Vary","value":"Authorization"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"Connection","value":"close"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"500"},{"key":"X-RateLimit-Remaining","value":"499"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"status_code\": 0,\n    \"message\": \"Report\",\n    \"data\": {\n        \"total_count\": 179463,\n        \"total_amount\": \"888076000\",\n        \"product_count\": 8,\n        \"server_code\": \"1\"\n    }\n}"}],"_postman_id":"b06db8f6-11f7-4c5d-b382-fa3b10cbe349"},{"name":"product-summary-by-date","id":"87ca038f-f51d-4e60-bb3f-55c9a82c4a24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{host}}/partner/report/product/summary?from=2023-05-01&to=2023-05-01&product_id=249","description":"<p>Get summary for a given product within a period of time</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"path":["partner","report","product","summary"],"host":["{{host}}"],"query":[{"description":{"content":"<p>YYYY-MM-DD</p>\n","type":"text/plain"},"key":"from","value":"2023-05-01"},{"key":"to","value":"2023-05-01"},{"key":"product_id","value":"249"}],"variable":[]}},"response":[{"id":"ebd27d6c-22a4-4a8d-81ee-fdc429d52a54","name":"product-summary-by-date","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{host}}/partner/report/product/summary?from=2023-05-01&to=2023-05-01&product_id=162","host":["{{host}}"],"path":["partner","report","product","summary"],"query":[{"key":"from","value":"2023-05-01","description":"YYYY-MM-DD"},{"key":"to","value":"2023-05-01"},{"key":"product_id","value":"162"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 29 Aug 2023 06:46:33 GMT"},{"key":"Server","value":"Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_wsgi/4.5.18 Python/3.6 PHP/7.3.33"},{"key":"Vary","value":"Authorization"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"Connection","value":"close"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"status_code\": 0,\n    \"message\": \"Report\",\n    \"data\": {\n        \"total_count\": 2,\n        \"total_amount\": \"2000\",\n        \"unique_subscribers\": 2,\n        \"renewal_count\": \"2\",\n        \"renewal_amount\": \"2000\",\n        \"unsubscription_count\": 0,\n        \"server_code\": \"1\"\n    }\n}"},{"id":"c3f04627-4bd6-4041-aaf7-0f817f8ac5f8","name":"product-summary-by-date - old","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{host}}/partner/report/product/summary?from=2022-06-01&to=2022-08-01&product_id=9","host":["{{host}}"],"path":["partner","report","product","summary"],"query":[{"key":"from","value":"2022-06-01","description":"YYYY-MM-DD"},{"key":"to","value":"2022-08-01"},{"key":"product_id","value":"9"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Mon, 08 Aug 2022 14:33:55 GMT"},{"key":"Date","value":"Mon, 08 Aug 2022 14:33:55 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.5"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"500"},{"key":"X-RateLimit-Remaining","value":"499"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"status_code\": 0,\n    \"message\": \"Report\",\n    \"data\": {\n        \"total_count\": 3,\n        \"total_amount\": \"3000\"\n    }\n}"}],"_postman_id":"87ca038f-f51d-4e60-bb3f-55c9a82c4a24"},{"name":"products-summary","id":"96ce78da-9adb-499f-888f-b89cb1a3646b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{host}}/partner/report/products/summary?from=2023-06-03&to=2023-07-01","description":"<p>Get summary for all the products within a given period</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"path":["partner","report","products","summary"],"host":["{{host}}"],"query":[{"description":{"content":"<p>YYYY-MM-DD</p>\n","type":"text/plain"},"key":"from","value":"2023-06-03"},{"description":{"content":"<p>YYYY-MM-DD</p>\n","type":"text/plain"},"key":"to","value":"2023-07-01"}],"variable":[]}},"response":[{"id":"084a3069-26fc-473d-b427-c5a6bb12f4ca","name":"products-summary","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{host}}/partner/report/products/summary?from=2023-06-03&to=2023-07-01","host":["{{host}}"],"path":["partner","report","products","summary"],"query":[{"key":"from","value":"2023-06-03","description":"YYYY-MM-DD"},{"key":"to","value":"2023-07-01","description":"YYYY-MM-DD"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 29 Aug 2023 06:47:33 GMT"},{"key":"Server","value":"Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_wsgi/4.5.18 Python/3.6 PHP/7.3.33"},{"key":"Vary","value":"Authorization"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"Connection","value":"close"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"status_code\": 0,\n    \"message\": \"Report\",\n    \"data\": {\n        \"total_count\": 2,\n        \"total_amount\": 2000,\n        \"product_count\": 4,\n        \"unique_subscribers\": 1,\n        \"renewal_count\": 0,\n        \"renewal_amount\": 0,\n        \"unsubscription_count\": 0,\n        \"server_code\": \"1\",\n        \"products\": [\n            {\n                \"product\": {\n                    \"id\": 249,\n                    \"name\": \"My Product  Daily\"\n                },\n                \"data\": {\n                    \"total_count\": 0,\n                    \"total_amount\": 0,\n                    \"unique_subscribers\": 0,\n                    \"renewal_count\": 0,\n                    \"renewal_amount\": 0,\n                    \"unsubscription_count\": 0,\n                    \"server_code\": \"1\"\n                }\n            },\n            {\n                \"product\": {\n                    \"id\": 250,\n                    \"name\": \"My Product  Weekly\"\n                },\n                \"data\": {\n                    \"total_count\": 0,\n                    \"total_amount\": 0,\n                    \"unique_subscribers\": 0,\n                    \"renewal_count\": 0,\n                    \"renewal_amount\": 0,\n                    \"unsubscription_count\": 0,\n                    \"server_code\": \"1\"\n                }\n            },\n            {\n                \"product\": {\n                    \"id\": 251,\n                    \"name\": \"My Product  Monthly\"\n                },\n                \"data\": {\n                    \"total_count\": 0,\n                    \"total_amount\": 0,\n                    \"unique_subscribers\": 0,\n                    \"renewal_count\": 0,\n                    \"renewal_amount\": 0,\n                    \"unsubscription_count\": 0,\n                    \"server_code\": \"1\"\n                }\n            },\n            {\n                \"product\": {\n                    \"id\": 268,\n                    \"name\": \"USSD Search\"\n                },\n                \"data\": {\n                    \"total_count\": 2,\n                    \"total_amount\": \"2000\",\n                    \"unique_subscribers\": 1,\n                    \"renewal_count\": \"0\",\n                    \"renewal_amount\": \"0\",\n                    \"unsubscription_count\": 0,\n                    \"server_code\": \"1\"\n                }\n            }\n        ]\n    }\n}"},{"id":"c87d9d0a-d9c7-45ac-b7c8-aa5784618f4c","name":"products-summary - old","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{host}}/partner/report/products/summary?from=2022-06-01&to=2022-08-01","host":["{{host}}"],"path":["partner","report","products","summary"],"query":[{"key":"from","value":"2022-06-01","description":"YYYY-MM-DD"},{"key":"to","value":"2022-08-01","description":"YYYY-MM-DD"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Mon, 08 Aug 2022 14:10:05 GMT"},{"key":"Date","value":"Mon, 08 Aug 2022 14:10:05 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.5"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"500"},{"key":"X-RateLimit-Remaining","value":"498"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"status_code\": 0,\n    \"message\": \"Report\",\n    \"data\": {\n        \"total_count\": 6,\n        \"total_amount\": 7000,\n        \"product_count\": 4,\n        \"products\": [\n            {\n                \"product\": {\n                    \"id\": 1,\n                    \"name\": \"USSD and SMS Story\"\n                },\n                \"data\": {\n                    \"total_count\": 3,\n                    \"total_amount\": \"4000\"\n                }\n            },\n            {\n                \"product\": {\n                    \"id\": 2,\n                    \"name\": \"SMS Jokes\"\n                },\n                \"data\": {\n                    \"total_count\": 0,\n                    \"total_amount\": null\n                }\n            },\n            {\n                \"product\": {\n                    \"id\": 9,\n                    \"name\": \"HML On-demand\"\n                },\n                \"data\": {\n                    \"total_count\": 3,\n                    \"total_amount\": \"3000\"\n                }\n            },\n            {\n                \"product\": {\n                    \"id\": 13,\n                    \"name\": \"test Ussd Products\"\n                },\n                \"data\": {\n                    \"total_count\": 0,\n                    \"total_amount\": null\n                }\n            }\n        ]\n    }\n}"}],"_postman_id":"96ce78da-9adb-499f-888f-b89cb1a3646b"},{"name":"products-subscribers-list","id":"5d4ff26c-4700-49f7-86a8-c0ad0db97729","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"{{host}}/partner/report/products/details?from=2023-06-20&to=2023-07-20&product_id=268","description":"<p>Get the list of all the subscribers of a product</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"path":["partner","report","products","details"],"host":["{{host}}"],"query":[{"description":{"content":"<p>YYYY-MM-DD</p>\n","type":"text/plain"},"key":"from","value":"2023-06-20"},{"description":{"content":"<p>YYYY-MM-DD</p>\n","type":"text/plain"},"key":"to","value":"2023-07-20"},{"key":"product_id","value":"268"}],"variable":[]}},"response":[{"id":"8d2804b1-6a17-4610-ab39-fd562cef1694","name":"products-subscribers-list","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{host}}/partner/report/products/details?from=2023-06-20&to=2023-07-20&product_id=268","host":["{{host}}"],"path":["partner","report","products","details"],"query":[{"key":"from","value":"2023-06-20","description":"YYYY-MM-DD"},{"key":"to","value":"2023-07-20","description":"YYYY-MM-DD"},{"key":"product_id","value":"268"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 29 Aug 2023 06:49:50 GMT"},{"key":"Server","value":"Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_wsgi/4.5.18 Python/3.6 PHP/7.3.33"},{"key":"Vary","value":"Authorization"},{"key":"X-Powered-By","value":"PHP/7.3.33"},{"key":"Connection","value":"close"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": true,\n    \"status_code\": 0,\n    \"message\": \"Report\",\n    \"data\": {\n        \"current_page\": 1,\n        \"data\": [\n            {\n                \"id\": 8993737,\n                \"product_id\": 268,\n                \"phone\": \"2348032008456\",\n                \"telco\": \"MTN\",\n                \"amount\": 1000,\n                \"start_at\": \"2023-06-26 20:24\",\n                \"end_at\": null,\n                \"cancelled_at\": null,\n                \"is_renewal\": 0,\n                \"channel\": \"USSD\",\n                \"auto_renewal\": 0,\n                \"telco_status_code\": \"0\",\n                \"telco_ref\": \"126778899000146\",\n                \"notify_successful\": 1,\n                \"notification_url\": \"\",\n                \"notification_number_of_try\": 0,\n                \"notification_last_at\": null,\n                \"created_at\": \"2023-06-26T20:24:43.000000Z\",\n                \"updated_at\": \"2023-06-26T20:24:43.000000Z\"\n            },\n            {\n                \"id\": 8994077,\n                \"product_id\": 268,\n                \"phone\": \"2348032008456\",\n                \"telco\": \"MTN\",\n                \"amount\": 1000,\n                \"start_at\": \"2023-06-26 22:05\",\n                \"end_at\": null,\n                \"cancelled_at\": null,\n                \"is_renewal\": 0,\n                \"channel\": \"SMS\",\n                \"auto_renewal\": 0,\n                \"telco_status_code\": \"0\",\n                \"telco_ref\": \"126778899000144\",\n                \"notify_successful\": 1,\n                \"notification_url\": \"\",\n                \"notification_number_of_try\": 0,\n                \"notification_last_at\": null,\n                \"created_at\": \"2023-06-26T22:05:00.000000Z\",\n                \"updated_at\": \"2023-06-26T22:05:00.000000Z\"\n            }\n        ],\n        \"first_page_url\": \"http://91.109.117.92:8001/api/v1/partner/report/products/details?page=1\",\n        \"from\": 1,\n        \"last_page\": 1,\n        \"last_page_url\": \"http://91.109.117.92:8001/api/v1/partner/report/products/details?page=1\",\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://91.109.117.92:8001/api/v1/partner/report/products/details?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"next_page_url\": null,\n        \"path\": \"http://91.109.117.92:8001/api/v1/partner/report/products/details\",\n        \"per_page\": 100,\n        \"prev_page_url\": null,\n        \"to\": 2,\n        \"total\": 2\n    }\n}"}],"_postman_id":"5d4ff26c-4700-49f7-86a8-c0ad0db97729"}],"id":"4e64ea99-12f2-4143-80ce-3f73549f441f","description":"<p>This collection defines endpoints to query reports and statistics from the system</p>\n","_postman_id":"4e64ea99-12f2-4143-80ce-3f73549f441f","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}}}],"id":"3d314a19-47f3-467c-bc7f-27bc0722d6d8","event":[{"listen":"prerequest","script":{"id":"f9fb9e25-b138-4c04-b653-c234daed5d9d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"dc419099-08cb-46d2-9f01-d259c48315ad","type":"text/javascript","exec":[""]}}],"_postman_id":"3d314a19-47f3-467c-bc7f-27bc0722d6d8","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}}},{"name":"Partner Notification Sample - ReadOnly","item":[{"name":"USSD menu request","id":"3d5813dc-6955-4479-b52b-60fd3cc2b803","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"telco\": \"AIRTEL\",\n    \"shortcode\": \"*1234#\",\n    \"product_id\": 141,\n    \"phone\": \"2347030000000\",\n    \"input\": \"1234\",\n    \"session_id\": \"16623689841266338\"\n}","options":{"raw":{"language":"json"}}},"url":"partner ussd menu url","description":"<p>This endpoint is used to ge the ussd menu during a ussd session.</p>\n<p>sample request:</p>\n<p>{ \"telco\": \"AIRTEL\", \"shortcode\": \"*123#\", \"product_id\": 1, \"phone\": \"2347034481876\", \"input\": \"\", \"session_id\": \"1122339999UUJ0011\"}</p>\n<p>Response: {\"continue\":true,\"message\":\"Hello, welcome to this service:\\n1. Subscribe\\n2. Check status\\n3. Create Account\"}</p>\n<p>The continue parameter must be a boolen. It is used to indicate if an imput is required from the user. If true, a user can pass an input. If false, the ussd session is terminated after displaying the messsage to the user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"host":["partner ussd menu url"],"query":[],"variable":[]}},"response":[{"id":"763f6bc8-35f6-42d8-b817-74be76168a18","name":"sample request and response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"telco\": \"AIRTEL\",\n    \"shortcode\": \"*123#\",\n    \"product_id\": 1,\n    \"phone\": \"2347034481876\",\n    \"input\": \"\",\n    \"session_id\": \"11990000021111w0000\"\n}","options":{"raw":{"language":"json"}}},"url":"{{partnerUssdMenuUrl}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8001"},{"key":"Date","value":"Wed, 01 Jun 2022 17:50:04 GMT"},{"key":"Date","value":"Wed, 01 Jun 2022 17:50:04 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.5"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"continue\": true,\n    \"message\": \"Hello, welcome to this service:\\n1. Subscribe\\n2. Check status\\n3. Create Account\"\n}"}],"_postman_id":"3d5813dc-6955-4479-b52b-60fd3cc2b803"},{"name":"sms (matched keyword)","id":"b4317a4e-d4ce-4190-bcd8-02c677c0da1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"partner_webhook","description":"<p>Thus notification is sent when the aggregator receives sms on the partner shortcode and the sms message is mapped to one of the partner's keywords. Information about the matching product is included.</p>\n<p>The notification type is SMS and the action is:<br />1. PROCESSED: Aggregator took action such as initiating a subscription or unsubscription<br />2. NONE: No action is taken by the aggregator.</p>\n<p>The details object includes:</p>\n<ol>\n<li>message: The message sent by the user</li>\n<li>phone: The phone number of the user in international formate, without +</li>\n<li>date: the date and time the message was received in GMT.</li>\n</ol>\n<p>Sample notification:</p>\n<p>{ \"type\": \"SMS\", \"telco\": \"MTN\", \"action\": \"PROCESSED\", \"shortcode\": \"123123\", \"product\": { \"id\": 1, \"name\": \"USSD and SMS Story\", \"identity\": \"PD-16460855111000\", \"type\": \"SUBSCRIPTION\", \"subscription_type\": \"ONETIME_AND_RECURRING\", \"status\": \"LIVE\" }, \"details\": { \"message\": \"mobid\", \"phone\": \"2347034481876\", \"date\": \"2022-09-03 09:31:06\" }}</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"host":["partner_webhook"],"query":[],"variable":[]}},"response":[{"id":"4e7f10ae-a6d8-40f8-8023-a0b22c62c09f","name":"sms","originalRequest":{"method":"POST","header":[],"url":"partner_webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Thu, 17 Mar 2022 13:30:50 GMT"},{"key":"Date","value":"Thu, 17 Mar 2022 13:30:50 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.0.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"160"},{"key":"X-RateLimit-Remaining","value":"159"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"SMS\",\n    \"telco\": \"MTN\",\n    \"action\": \"PROCESSED\",\n    \"shortcode\": \"123123\",\n    \"product\": {\n        \"id\": 1,\n        \"name\": \"USSD and SMS Story\",\n        \"identity\": \"PD-16460855111000\",\n        \"type\": \"SUBSCRIPTION\",\n        \"subscription_type\": \"ONETIME_AND_RECURRING\",\n        \"status\": \"LIVE\"\n    },\n    \"details\": {\n        \"message\": \"mobid\",\n        \"phone\": \"2347030000000\",\n        \"date\": \"2022-09-03 09:31:06\"\n    }\n}"}],"_postman_id":"b4317a4e-d4ce-4190-bcd8-02c677c0da1e"},{"name":"Sync - New subscription","id":"343b1d94-30e9-4ed3-a898-ce94571e1987","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"partner_webhook","description":"<p>The Aggregator will notify the Partners webhook whenever a user successfully subscribes to a product and is charged for the subscription.</p>\n<p>New subscription notification comes with \"type\": \"SYNC_NOTIFICATION\".</p>\n<p>The difference between on demand and subscription products/purchase is the expiry date. This field is null for on demand.</p>\n<p>Sample of the body of the post notification is:</p>\n<p>{</p>\n<p>   \"type\": \"SYNC_NOTIFICATION\",</p>\n<p>   \"telco\": \"MTN\",</p>\n<p>   \"action\": \"NONE\",</p>\n<p>   \"shortcode\": null,</p>\n<p>   \"product\": {</p>\n<p>       \"id\": 1,</p>\n<p>       \"name\": \"USSD and SMS Story\",</p>\n<p>       \"identity\": \"PD-16460855111000\",</p>\n<p>       \"type\": \"SUBSCRIPTION\",</p>\n<p>       \"subscription_type\": \"ONETIME_AND_RECURRING\",</p>\n<p>       \"status\": \"LIVE\"</p>\n<p>   },</p>\n<p>   \"details\": {</p>\n<p>       \"phone\": \"2348065477209\",</p>\n<p>        \"amount\": 1000,</p>\n<p>        \"channel\": \"SMS\",</p>\n<p>        \"date\": \"2022-03-30 08:26\",</p>\n<p>        \"expiry\": \"2022-03-31 08:26\",</p>\n<p>        \"auto_renewal\": true,</p>\n<p>        \"telco_status_code\": \"0\",</p>\n<p>        \"telco_ref\": \"12346780567809\"</p>\n<p>   }</p>\n<p>}</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"host":["partner_webhook"],"query":[],"variable":[]}},"response":[{"id":"94d3027a-8648-45ff-82fa-c1a57591d53c","name":"on demand","originalRequest":{"method":"POST","header":[],"url":"partner_webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Thu, 17 Mar 2022 14:50:01 GMT"},{"key":"Date","value":"Thu, 17 Mar 2022 14:50:01 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.0.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"160"},{"key":"X-RateLimit-Remaining","value":"159"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n\t\"type\": \"SYNC_NOTIFICATION\",\n\t\"telco\": \"MTN\",\n\t\"action\": \"NONE\",\n\t\"shortcode\": null,\n\t\"product\": {\n\t\t\"id\": 8,\n\t\t\"name\": \"HML On-demand\",\n\t\t\"identity\": \"PD-16470049371000\",\n\t\t\"type\": \"SUBSCRIPTION\",\n\t\t\"subscription_type\": \"ONETIME\",\n\t\t\"status\": \"LIVE\"\n\t},\n\t\"details\": {\n\t\t\"phone\": \"2347030000000\",\n        \"amount\": 1000,\n        \"channel\": \"SMS\",\n        \"date\": \"2022-03-30 08:26\",\n        \"expiry\": null,\n        \"auto_renewal\": false,\n        \"telco_status_code\": \"0\",\n        \"telco_ref\": \"12346780567809\"\n\t}\n}"},{"id":"fd4c1b7a-5289-4070-b56c-1ce3044cf1ea","name":"subscription","originalRequest":{"method":"POST","header":[],"url":"partner_webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Thu, 17 Mar 2022 14:50:01 GMT"},{"key":"Date","value":"Thu, 17 Mar 2022 14:50:01 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.0.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"160"},{"key":"X-RateLimit-Remaining","value":"159"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n\t\"type\": \"SYNC_NOTIFICATION\",\n\t\"telco\": \"MTN\",\n\t\"action\": \"NONE\",\n\t\"shortcode\": null,\n\t\"product\": {\n\t\t\"id\": 9,\n\t\t\"name\": \"HML SUBSCRIPTION\",\n\t\t\"identity\": \"PD-16470049371000\",\n\t\t\"type\": \"SUBSCRIPTION\",\n\t\t\"subscription_type\": \"ONETIME_AND_RECURRING\",\n\t\t\"status\": \"LIVE\"\n\t},\n\t\"details\": {\n\t\t\"phone\": \"2347030000000\",\n        \"amount\": 1000,\n        \"channel\": \"SMS\",\n        \"date\": \"2022-03-30 08:26\",\n        \"expiry\": \"2022-03-31 08:26\",\n        \"auto_renewal\": true,\n        \"telco_status_code\": \"0\",\n        \"telco_ref\": \"12346780567809\"\n\t}\n}"}],"_postman_id":"343b1d94-30e9-4ed3-a898-ce94571e1987"},{"name":"Sync - Renewal","id":"ecc7fddf-4dce-418b-bf9f-818e4308055a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"partner_webhook","description":"<p>The Aggregator will notify the Partners webhook whenever a user successfully renews his subscription.</p>\n<p>Renewal notification comes with \"type\": \"RENEWAL_NOTIFICATION\". Other than the type, it has same content as subscription notification.</p>\n<p>Sample of the body of the post notification is:</p>\n<p>{</p>\n<p>\"type\": \"RENEWAL_NOTIFICATION\",</p>\n<p>\"telco\": \"MTN\",</p>\n<p>\"action\": \"NONE\",</p>\n<p>\"shortcode\": null,</p>\n<p>\"product\": {</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">   \"id\": 1,\n   \"name\": \"USSD and SMS Story\",\n   \"identity\": \"PD-16460855111000\",\n   \"type\": \"SUBSCRIPTION\",\n   \"subscription_type\": \"ONETIME_AND_RECURRING\",\n   \"status\": \"LIVE\"\n\n</code></pre>\n<p>},</p>\n<p>\"details\": {</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>   \"phone\": \"2348065477209\",\n    \"amount\": 1000,\n    \"channel\": \"SMS\",\n    \"date\": \"2022-03-30 08:26\",\n    \"expiry\": \"2022-03-31 08:26\",\n    \"auto_renewal\": true,\n    \"telco_status_code\": \"0\",\n    \"telco_ref\": \"12346780567809\"\n\n</code></pre><p>}</p>\n<p>}</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"host":["partner_webhook"],"query":[],"variable":[]}},"response":[{"id":"c9e0d284-6bc7-4a84-87b9-ea6c78e52c42","name":"subscription-renewal","originalRequest":{"method":"POST","header":[],"url":"partner_webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Thu, 17 Mar 2022 14:50:01 GMT"},{"key":"Date","value":"Thu, 17 Mar 2022 14:50:01 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.0.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"160"},{"key":"X-RateLimit-Remaining","value":"159"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n\t\"type\": \"RENEWAL_NOTIFICATION\",\n\t\"telco\": \"MTN\",\n\t\"action\": \"NONE\",\n\t\"shortcode\": null,\n\t\"product\": {\n\t\t\"id\": 9,\n\t\t\"name\": \"HML SUBSCRIPTION\",\n\t\t\"identity\": \"PD-16470049371000\",\n\t\t\"type\": \"SUBSCRIPTION\",\n\t\t\"subscription_type\": \"ONETIME_AND_RECURRING\",\n\t\t\"status\": \"LIVE\"\n\t},\n\t\"details\": {\n\t\t\"phone\": \"2347030000000\",\n        \"amount\": 1000,\n        \"channel\": \"SMS\",\n        \"date\": \"2022-03-30 08:26\",\n        \"expiry\": \"2022-03-31 08:26\",\n        \"auto_renewal\": true,\n        \"telco_status_code\": \"0\",\n        \"telco_ref\": \"12346780567809\"\n\t}\n}"}],"_postman_id":"ecc7fddf-4dce-418b-bf9f-818e4308055a"},{"name":"Sync - Unsubscription","id":"352800fc-c987-47b2-894b-e535da5979d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"partner_webhook","description":"<p>The Aggregator will notify the Partners webhook whenever a user cancels or unsubscribes from a product.</p>\n<p>Renewal notification comes with \"type\": \"UNSUBSCRIPTION_NOTIFICATION\". It does not have expiry or auto_renewal fields.</p>\n<p>Sample of the body of the post notification is:</p>\n<p>{</p>\n<p>\"type\": \"UNSUBSCRIPTION_NOTIFICATION\",</p>\n<p>\"telco\": \"MTN\",</p>\n<p>\"action\": \"PROCESSED\",</p>\n<p>\"shortcode\": null,</p>\n<p>\"product\": {</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">   \"id\": 1,\n   \"name\": \"USSD and SMS Story\",\n   \"identity\": \"PD-16460855111000\",\n   \"type\": \"SUBSCRIPTION\",\n   \"subscription_type\": \"ONETIME_AND_RECURRING\",\n   \"status\": \"LIVE\"\n\n</code></pre>\n<p>},</p>\n<p>\"details\": {</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">   \"phone\": \"2347030000000\",\n   \"date\": \"2022-03-09T11:09:37.000000Z\"\n   \"telco_status_code\": \"0\",\n   \"telco_ref\": \"12346780567809\"\n\n</code></pre>\n<p>}</p>\n<p>}</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"host":["partner_webhook"],"query":[],"variable":[]}},"response":[{"id":"7ba058bb-e3e3-4310-bff8-37a7a9c97ffe","name":"unsubscription","originalRequest":{"method":"POST","header":[],"url":"partner_webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Thu, 17 Mar 2022 14:50:01 GMT"},{"key":"Date","value":"Thu, 17 Mar 2022 14:50:01 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.0.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"160"},{"key":"X-RateLimit-Remaining","value":"159"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n\t\"type\": \"UNSUBSCRIPTION_NOTIFICATION\",\n\t\"telco\": \"MTN\",\n\t\"action\": \"NONE\",\n\t\"shortcode\": null,\n\t\"product\": {\n\t\t\"id\": 9,\n\t\t\"name\": \"HML SUBSCRIPTION\",\n\t\t\"identity\": \"PD-16470049371000\",\n\t\t\"type\": \"SUBSCRIPTION\",\n\t\t\"subscription_type\": \"ONETIME_AND_RECURRING\",\n\t\t\"status\": \"LIVE\"\n\t},\n\t\"details\": {\n\t\t\"phone\": \"2347030000000\",\n        \"amount\": 1000,\n        \"date\": \"2022-03-30 08:26\",\n        \"telco_status_code\": \"0\",\n        \"telco_ref\": \"12346780567809\"\n\t}\n}"}],"_postman_id":"352800fc-c987-47b2-894b-e535da5979d0"},{"name":"Billing failed - insufficient balance","id":"313c1cf0-20e7-431a-b32c-39b4d9064ce9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"partner_webhook","description":"<p>The Aggregator will notify the Partners webhook whenever a user cancels or unsubscribes from a product.</p>\n<p>Renewal notification comes with \"type\": \"UNSUBSCRIPTION_NOTIFICATION\". It does not have expiry or auto_renewal fields.</p>\n<p>Sample of the body of the post notification is:</p>\n<p>{</p>\n<p>\"type\": \"UNSUBSCRIPTION_NOTIFICATION\",</p>\n<p>\"telco\": \"MTN\",</p>\n<p>\"action\": \"PROCESSED\",</p>\n<p>\"shortcode\": null,</p>\n<p>\"product\": {</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">   \"id\": 1,\n   \"name\": \"USSD and SMS Story\",\n   \"identity\": \"PD-16460855111000\",\n   \"type\": \"SUBSCRIPTION\",\n   \"subscription_type\": \"ONETIME_AND_RECURRING\",\n   \"status\": \"LIVE\"\n\n</code></pre>\n<p>},</p>\n<p>\"details\": {</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">   \"phone\": \"2347030000000\",\n   \"date\": \"2022-03-09T11:09:37.000000Z\"\n   \"telco_status_code\": \"0\",\n   \"telco_ref\": \"12346780567809\"\n\n</code></pre>\n<p>}</p>\n<p>}</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"host":["partner_webhook"],"query":[],"variable":[]}},"response":[{"id":"56dd85a7-4d03-4721-938a-8800247de0c0","name":"insufficient balance","originalRequest":{"method":"POST","header":[],"url":"partner_webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Thu, 17 Mar 2022 14:50:01 GMT"},{"key":"Date","value":"Thu, 17 Mar 2022 14:50:01 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.0.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"160"},{"key":"X-RateLimit-Remaining","value":"159"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"INSUFFICIENT_BALANCE\",\n    \"telco\": \"MTN\",\n    \"action\": \"NONE\",\n    \"shortcode\": null,\n    \"product\": {\n        \"id\": 1,\n        \"name\": \"HML product\",\n        \"identity\": \"PD-16952450358890\",\n        \"type\": \"SUBSCRIPTION\",\n        \"subscription_type\": \"ONETIME_AND_RECURRING\",\n        \"status\": \"LIVE\"\n    },\n    \"details\": {\n        \"phone\": \"2347030000000\",\n        \"date\": \"2023-10-10 10:30\",\n        \"telco_status_code\": \"2032\",\n        \"telco_ref\": \"202209010116218015\",         \n        \"operation_id\": \"YC\",\n        \"bearer_id\": \"SMS\"\n    }\n}"}],"_postman_id":"313c1cf0-20e7-431a-b32c-39b4d9064ce9"},{"name":"All Other Sync","id":"297694ac-aa84-4018-be40-c9cc952cdb97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"partner_webhook","description":"<p>The Aggregator will notify the Partners webhook whenever a user cancels or unsubscribes from a product.</p>\n<p>Renewal notification comes with \"type\": \"UNSUBSCRIPTION_NOTIFICATION\". It does not have expiry or auto_renewal fields.</p>\n<p>Sample of the body of the post notification is:</p>\n<p>{</p>\n<p>\"type\": \"UNSUBSCRIPTION_NOTIFICATION\",</p>\n<p>\"telco\": \"MTN\",</p>\n<p>\"action\": \"PROCESSED\",</p>\n<p>\"shortcode\": null,</p>\n<p>\"product\": {</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">   \"id\": 1,\n   \"name\": \"USSD and SMS Story\",\n   \"identity\": \"PD-16460855111000\",\n   \"type\": \"SUBSCRIPTION\",\n   \"subscription_type\": \"ONETIME_AND_RECURRING\",\n   \"status\": \"LIVE\"\n\n</code></pre>\n<p>},</p>\n<p>\"details\": {</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">   \"phone\": \"2347030000000\",\n   \"date\": \"2022-03-09T11:09:37.000000Z\"\n   \"telco_status_code\": \"0\",\n   \"telco_ref\": \"12346780567809\"\n\n</code></pre>\n<p>}</p>\n<p>}</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"host":["partner_webhook"],"query":[],"variable":[]}},"response":[{"id":"d3d34815-b226-4b3d-921d-845c90890986","name":"All other sync","originalRequest":{"method":"POST","header":[],"url":"partner_webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Thu, 17 Mar 2022 14:50:01 GMT"},{"key":"Date","value":"Thu, 17 Mar 2022 14:50:01 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.0.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"160"},{"key":"X-RateLimit-Remaining","value":"159"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"OTHER_SYNC\",\n    \"telco\": \"MTN\",\n    \"action\": \"NONE\",\n    \"shortcode\": null,\n    \"product\": {\n        \"id\": 1,\n        \"name\": \"HML product\",\n        \"identity\": \"PD-16952450358890\",\n        \"type\": \"SUBSCRIPTION\",\n        \"subscription_type\": \"ONETIME_AND_RECURRING\",\n        \"status\": \"LIVE\"\n    },\n    \"details\": {\n        \"phone\": \"2347030000000\",\n        \"date\": \"2023-10-10 10:30\",\n        \"telco_status_code\": \"2032\",\n        \"telco_ref\": \"202209010116218015\",         \n        \"operation_id\": \"YC\",\n        \"bearer_id\": \"SMS\"\n    }\n}"}],"_postman_id":"297694ac-aa84-4018-be40-c9cc952cdb97"},{"name":"Billing failed - internal error","id":"d6599786-319f-4fe9-89a9-30b3d1dc28b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"partner_webhook","description":"<p>The Aggregator will notify the Partners webhook whenever a user cancels or unsubscribes from a product.</p>\n<p>Renewal notification comes with \"type\": \"UNSUBSCRIPTION_NOTIFICATION\". It does not have expiry or auto_renewal fields.</p>\n<p>Sample of the body of the post notification is:</p>\n<p>{</p>\n<p>\"type\": \"UNSUBSCRIPTION_NOTIFICATION\",</p>\n<p>\"telco\": \"MTN\",</p>\n<p>\"action\": \"PROCESSED\",</p>\n<p>\"shortcode\": null,</p>\n<p>\"product\": {</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">   \"id\": 1,\n   \"name\": \"USSD and SMS Story\",\n   \"identity\": \"PD-16460855111000\",\n   \"type\": \"SUBSCRIPTION\",\n   \"subscription_type\": \"ONETIME_AND_RECURRING\",\n   \"status\": \"LIVE\"\n\n</code></pre>\n<p>},</p>\n<p>\"details\": {</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">   \"phone\": \"2347030000000\",\n   \"date\": \"2022-03-09T11:09:37.000000Z\"\n   \"telco_status_code\": \"0\",\n   \"telco_ref\": \"12346780567809\"\n\n</code></pre>\n<p>}</p>\n<p>}</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"host":["partner_webhook"],"query":[],"variable":[]}},"response":[{"id":"11b268ae-861c-47e3-a8d9-f4eccc104c6a","name":"Billing failed - internal error","originalRequest":{"method":"POST","header":[],"url":"partner_webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Thu, 17 Mar 2022 14:50:01 GMT"},{"key":"Date","value":"Thu, 17 Mar 2022 14:50:01 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.0.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"160"},{"key":"X-RateLimit-Remaining","value":"159"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"INTERNAL_ERROR\",\n    \"telco\": \"MTN\",\n    \"action\": \"NONE\",\n    \"shortcode\": null,\n    \"product\": {\n        \"id\": 1,\n        \"name\": \"HML product\",\n        \"identity\": \"PD-16952450358890\",\n        \"type\": \"SUBSCRIPTION\",\n        \"subscription_type\": \"ONETIME_AND_RECURRING\",\n        \"status\": \"LIVE\"\n    },\n    \"details\": {\n        \"phone\": \"2347030000000\",\n        \"date\": \"2023-10-10 10:30\",\n        \"telco_status_code\": \"2032\",\n        \"telco_ref\": \"202209010116218015\",         \n        \"operation_id\": \"YC\",\n        \"bearer_id\": \"SMS\"\n    }\n}"}],"_postman_id":"d6599786-319f-4fe9-89a9-30b3d1dc28b6"},{"name":"Billing failed - charging error","id":"f793ef10-b5dc-4fed-9004-0dd621c86e78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"partner_webhook","description":"<p>The Aggregator will notify the Partners webhook whenever a user cancels or unsubscribes from a product.</p>\n<p>Renewal notification comes with \"type\": \"UNSUBSCRIPTION_NOTIFICATION\". It does not have expiry or auto_renewal fields.</p>\n<p>Sample of the body of the post notification is:</p>\n<p>{</p>\n<p>\"type\": \"UNSUBSCRIPTION_NOTIFICATION\",</p>\n<p>\"telco\": \"MTN\",</p>\n<p>\"action\": \"PROCESSED\",</p>\n<p>\"shortcode\": null,</p>\n<p>\"product\": {</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">   \"id\": 1,\n   \"name\": \"USSD and SMS Story\",\n   \"identity\": \"PD-16460855111000\",\n   \"type\": \"SUBSCRIPTION\",\n   \"subscription_type\": \"ONETIME_AND_RECURRING\",\n   \"status\": \"LIVE\"\n\n</code></pre>\n<p>},</p>\n<p>\"details\": {</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">   \"phone\": \"2347030000000\",\n   \"date\": \"2022-03-09T11:09:37.000000Z\"\n   \"telco_status_code\": \"0\",\n   \"telco_ref\": \"12346780567809\"\n\n</code></pre>\n<p>}</p>\n<p>}</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"host":["partner_webhook"],"query":[],"variable":[]}},"response":[{"id":"d25d3543-54e3-4769-8d66-4370e20618ef","name":"Billing failed - charging error","originalRequest":{"method":"POST","header":[],"url":"partner_webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Thu, 17 Mar 2022 14:50:01 GMT"},{"key":"Date","value":"Thu, 17 Mar 2022 14:50:01 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.0.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"160"},{"key":"X-RateLimit-Remaining","value":"159"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"CHARGING_ERROR\",\n    \"telco\": \"MTN\",\n    \"action\": \"NONE\",\n    \"shortcode\": null,\n    \"product\": {\n        \"id\": 1,\n        \"name\": \"HML product\",\n        \"identity\": \"PD-16952450358890\",\n        \"type\": \"SUBSCRIPTION\",\n        \"subscription_type\": \"ONETIME_AND_RECURRING\",\n        \"status\": \"LIVE\"\n    },\n    \"details\": {\n        \"phone\": \"2347030000000\",\n        \"date\": \"2023-10-10 10:30\",\n        \"telco_status_code\": \"2032\",\n        \"telco_ref\": \"202209010116218015\",         \n        \"operation_id\": \"YC\",\n        \"bearer_id\": \"SMS\"\n    }\n}"}],"_postman_id":"f793ef10-b5dc-4fed-9004-0dd621c86e78"},{"name":"mtn-lagacy - depreciated","id":"43c0996e-eb14-4656-89fa-693a7ccda8db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"partner_webhook","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"host":["partner_webhook"],"query":[],"variable":[]}},"response":[{"id":"436365be-cf95-4a3e-8b19-ee76c04f1ea7","name":"mtn-lagacy","originalRequest":{"method":"POST","header":[],"url":"partner_webhook"},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Mon, 21 Mar 2022 16:39:02 GMT"},{"key":"Date","value":"Mon, 21 Mar 2022 16:39:02 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.0.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/xml"},{"key":"X-RateLimit-Limit","value":"160"},{"key":"X-RateLimit-Remaining","value":"159"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n    <soapenv:Header>\n        <ns1:NotifySOAPHeader xmlns:ns1=\"http://www.huawei.com.cn/schema/common/v2_1\">\n            <ns1:spRevId>35000001</ns1:spRevId>\n            <ns1:spRevpassword>c5216e519a071d601bedd150f3fcd026</ns1:spRevpassword>\n            <ns1:spId>000201</ns1:spId>\n            <ns1:serviceId>35000001000001</ns1:serviceId>\n            <ns1:timeStamp>20080101010101</ns1:timeStamp>\n            <ns1:linkid>12345678901111</ns1:linkid>\n            <ns1:traceUniqueID>100001200101110623021721000011</ns1:traceUniqueID>\n        </ns1:NotifySOAPHeader>\n    </soapenv:Header>\n    <soapenv:Body>\n        <ns2:syncOrderRelation xmlns:ns2=\"http://www.csapi.org/schema/parlayx/data/sync/v1_0/local\">\n            <ns2:userID>\n                <ID>2347030000000</ID>\n                <type>0</type>\n            </ns2:userID>\n            <ns2:spID>001100</ns2:spID>\n            <ns2:productID>1000000423</ns2:productID>\n            <ns2:serviceID>0011002000001100</ns2:serviceID>\n            <ns2:serviceList>0011002000001100</ns2:serviceList>\n            <ns2:updateType>1</ns2:updateType>\n            <ns2:updateTime>20130723082551</ns2:updateTime>\n            <ns2:updateDesc>Addition</ns2:updateDesc>\n            <ns2:effectiveTime>20130723082551</ns2:effectiveTime>\n            <ns2:expiryTime>20361231160000</ns2:expiryTime>\n            <ns2:extensionInfo>\n                <item>\n                    <key>chargeMode</key>\n                    <value>0</value>\n                </item>\n                <item>\n                    <key>MDSPSUBEXPMODE</key>\n                    <value>1</value>\n                </item>\n                <item>\n                    <key>objectType</key>\n                    <value>1</value>\n                </item>\n                <item>\n                    <key>Starttime</key>\n                    <value>20130723082551</value>\n                </item>\n                <item>\n                    <key>isFreePeriod</key>\n                    <value>false</value>\n                </item>\n                <item>\n                    <key>payType</key>\n                    <value>0</value>\n                </item>\n                <item>\n                    <key>transactionID</key>\n                    <value>504016000001307231624304170004</value>\n                </item>\n                <item>\n                    <key>orderKey</key>\n                    <value>999000000000000194</value>\n                </item>\n                <item>\n                    <key>keyword</key>\n                    <value>sub</value>\n                </item>\n                <item>\n                    <key>cycleEndTime</key>\n                    <value>20130822160000</value>\n                </item>\n                <item>\n                    <key>durationOfGracePeriod</key>\n                    <value>1</value>\n                </item>\n                <item>\n                    <key>serviceAvailability</key>\n                    <value>0</value>\n                </item>\n                <item>\n                    <key>durationOfSuspendPeriod</key>\n                    <value>0</value>\n                </item>\n                <item>\n                    <key>fee</key>\n                    <value>5000</value>\n                </item>\n                <item>\n                    <key>servicePayType</key>\n                    <value>0</value>\n                </item>\n                <item>\n                    <key>cycleEndTime</key>\n                    <value>20130813021650</value>\n                </item>\n                <item>\n                    <key>channelID</key>\n                    <value>1</value>\n                </item>\n                <item>\n                    <key>TraceUniqueID</key>\n                    <value>504016000001307231624304170005</value>\n                </item>\n                <item>\n                    <key>rentSuccess</key>\n                    <value>true</value>\n                </item>\n                <item>\n                    <key>try</key>\n                    <value>false</value>\n                </item>\n            </ns2:extensionInfo>\n        </ns2:syncOrderRelation>\n    </soapenv:Body>\n</soapenv:Envelope>"}],"_postman_id":"43c0996e-eb14-4656-89fa-693a7ccda8db"},{"name":"raw telco sync data - depreciated","id":"0bf8110f-fec2-423c-8398-eba22fd8d7d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"partner_webhook","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"host":["partner_webhook"],"query":[],"variable":[]}},"response":[{"id":"6ccfb762-302f-4c16-8550-83fe167259a3","name":"mtn-lagacy","originalRequest":{"method":"POST","header":[],"url":"partner_webhook"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Mon, 21 Mar 2022 16:39:02 GMT"},{"key":"Date","value":"Mon, 21 Mar 2022 16:39:02 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.0.9"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/xml"},{"key":"X-RateLimit-Limit","value":"160"},{"key":"X-RateLimit-Remaining","value":"159"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"type\": \"TELCO_RAW_SYNC\",\n    \"telco\": \"MTN\",\n    \"action\": \"NONE\",\n    \"message\": \"operationId not mapped\",\n    \"product\": {\n        \"id\": 1,\n        \"name\": \"USSD and SMS Story\",\n        \"identity\": \"PD-16460855111000\",\n        \"type\": \"SUBSCRIPTION\",\n        \"subscription_type\": \"ONETIME_AND_RECURRING\",\n        \"status\": \"LIVE\"\n    },\n    \"raw_data\": {\n        \"serviceType\": \"HML_Yello_5974\",\n        \"chargingMode\": \"E\",\n        \"contentId\": \"NA\",\n        \"resultCode\": \"0\",\n        \"renFlag\": \"N\",\n        \"result\": \"Success\",\n        \"validityType\": \"DD\",\n        \"sequenceNo\": \"12346780567809\",\n        \"callingParty\": \"2347030000000\",\n        \"bearerId\": \"SMS\",\n        \"operationId\": \"SNPDFQ\",\n        \"requestedPlan\": \"1234567890\",\n        \"appliededPlan\": \"1234567890\",\n        \"chargeAmount\": \"10.0\",\n        \"serviceNode\": \"HML\",\n        \"serviceId\": \"123456789\",\n        \"category\": \"-1\",\n        \"validityDays\": \"7\"\n    }\n}"}],"_postman_id":"0bf8110f-fec2-423c-8398-eba22fd8d7d7"}],"id":"fe5c3590-31d1-479f-9422-2707564226fa","description":"<p>The Aggregator will notify the Partners webhook whenever there is an event on the Partner product. The events for notifications are:</p>\n<ol>\n<li><p>New Sms received on partner’s shortcode</p>\n</li>\n<li><p>New Subscription Notification</p>\n</li>\n<li><p>Renewal Subscription Notification</p>\n</li>\n<li><p>Cancel Subscription Notification</p>\n</li>\n<li><p>Other syn events</p>\n</li>\n</ol>\n<p><strong>The general structure of the notification request is:</strong></p>\n<p>{</p>\n<p>\"type\": \"TYPE\",</p>\n<p>\"telco\": \"TELCO\",</p>\n<p>\"shortcode\": \"123412\",</p>\n<p>\"action\": \"action taken by aggregator\",</p>\n<p>\"product\": {</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>   \"id\": 1,\n   \"name\": \"Product name\",\n   \"identity\": \"Product Identity\",\n   \"type\": \"Product type\",\n   \"subscription_type\": \"Product subscription type\",\n   \"status\": \"product status\"\n\n</code></pre><p>},</p>\n<p>\"details\": {</p>\n<p>//details associated with the notification</p>\n<p>}</p>\n<p>}</p>\n<p>Samples of notifications sent to partners are fund in the attached examples</p>\n","_postman_id":"fe5c3590-31d1-479f-9422-2707564226fa","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}}},{"name":"Use cases","item":[{"name":"On demand USSD menu","id":"28fbf199-b686-4eea-953f-2bab8306a1c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<p><strong>On-Demand USSD Menu Service Use Cases</strong></p>\n<p><strong>Introduction:</strong><br />This documentation guides partners through the steps required to implement and use the On-Demand USSD Menu Service.</p>\n<p><strong>Steps:</strong></p>\n<p><strong>Step 1: Configure the Service</strong></p>\n<ol>\n<li><p>Access the admin panel to configure the service.</p>\n</li>\n<li><p>Receive credentials, including the Product ID, from the admin.</p>\n</li>\n</ol>\n<p><strong>Step 2: Configure the USSD</strong></p>\n<ol>\n<li>Use the provided credentials to set up the USSD menu.</li>\n</ol>\n<p><strong>Flow:</strong></p>\n<ol>\n<li><p><strong>User Dials USSD Shortcode:</strong></p>\n<ul>\n<li><p>The user dials the USSD shortcode.</p>\n</li>\n<li><p>The request is proccessed by the Telco and forwared to the Aggregator</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Aggregator Receives Request:</strong></p>\n<ul>\n<li><p>The aggregator receives the request from the user and forwards it to the partner via the configured USSD Menu URL.</p>\n</li>\n<li><p>Sample of this request can be found under the <strong>Partner Notifications Sample</strong> collection.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Partner Manages Subscription:</strong></p>\n<ul>\n<li><p>The partner checks if the user has an active subscription.</p>\n</li>\n<li><p>If the user does not have an active subscription, the partner can subscribe the user using the <code>Initiate Subscription</code> ({{host}}/product/subscription/initiate) endpoint found in the Postman documentation under Partner APIs, within the Subscription collection.</p>\n</li>\n<li><p>After calling the endpoint, the partner waits for sync notifications from the aggregator.</p>\n</li>\n</ul>\n</li>\n</ol>\n<p><strong>Sync Notifications:</strong></p>\n<p>After calling the <code>Initiate Subscription</code> endpoint, partners await sync notifications from the aggregator. These notifications can be categorized into three types:</p>\n<ol>\n<li><p><strong>New Subscription Notification:</strong></p>\n<ul>\n<li>Indicates a new subscription is successful and it comes with notification type: \"SYNC_NOTIFICATION\".</li>\n</ul>\n</li>\n<li><p><strong>Renewal Notification:</strong></p>\n<ul>\n<li>Indicates a renewal subscription is successful, and it comes with notification type: \"RENEWAL_NOTIFICATION\".</li>\n</ul>\n</li>\n<li><p><strong>Other Notifications:</strong></p>\n<ul>\n<li><p>Includes notifications such as balance insufficiency, internal errors, or load errors and can be identified by their various types.</p>\n</li>\n<li><p>Partners can find sample notifications under the <strong>Partner Notifications Sample</strong> collection.</p>\n</li>\n</ul>\n</li>\n</ol>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}},"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"28fbf199-b686-4eea-953f-2bab8306a1c9"}],"id":"4c751882-db08-4c77-a813-fdbfd287f8c3","_postman_id":"4c751882-db08-4c77-a813-fdbfd287f8c3","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5f192590-c471-45ac-a17f-c15e97e978a0","id":"5f192590-c471-45ac-a17f-c15e97e978a0","name":"Aggregator Partner","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"963a7dbd-3b6f-41a3-a0d6-4a93ed8ef18c","type":"text/javascript","requests":{},"exec":[""]}},{"listen":"test","script":{"id":"fda739f8-c2dc-4987-9693-5826e5f1b51a","type":"text/javascript","requests":{},"exec":[""]}}]}