{"info":{"_postman_id":"d10423d0-b8a9-4610-9190-96860cd053ce","name":"Motherboard partners API","description":"<html><head></head><body><p>This documents how a partner can integrate motherboard into their app using APIs</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"20503503","collectionId":"d10423d0-b8a9-4610-9190-96860cd053ce","publishedId":"2sAYX6ogdE","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-02-05T10:11:51.000Z"},"item":[{"name":"api","item":[{"name":"v1","item":[{"name":"auth","item":[{"name":"Login","item":[{"name":"token","item":[{"name":"Auth Controller partner Login","id":"e527e6ee-fc77-4a76-87b7-ea0ed2f21837","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"secretId\": \"cGFydG5lcnVzZXJAYmxvbmRtYWlsLmNvbQ==\",\n  \"secretKey\": \"KzIzNDgxMjI1NTQ0MzM6KzIzNDgxMjI1NTQ0MzM6MTczODY5ODMxOTk4OA==\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/v1/auth/partner/token","urlObject":{"path":["api","v1","auth","partner","token"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"1fad7f68-5bbb-44c7-8ef9-0caa9daf1b78","name":"Sample Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"secretId\": \"<string>\",\n  \"secretKey\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/v1/auth/partner/token"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"<string>\",\n  \"code\": \"<number>\",\n  \"data\": {}\n}"},{"id":"75eee705-3ad1-4b04-9db3-66ffff996694","name":"generate auth token","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"secretId\": \"cGFydG5lcnVzZXJAYmxvbmRtYWlsLmNvbQ==\",\n  \"secretKey\": \"KzIzNDgxMjI1NTQ0MzM6KzIzNDgxMjI1NTQ0MzM6MTczODY5ODMxOTk4OA==\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/v1/auth/partner/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 04 Feb 2025 19:51:23 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"406"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-RateLimit-Limit","value":"100"},{"key":"X-RateLimit-Remaining","value":"99"},{"key":"X-RateLimit-Reset","value":"10"},{"key":"ETag","value":"W/\"196-2HhwAqyXc+jMj2txKbuxC7ttm/s\""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Token generated successfully!\",\n    \"code\": 200,\n    \"data\": {\n        \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InBhcnRuZXJ1c2VyQGJsb25kbWFpbC5jb20iLCJpZCI6ImI4ZmEwYjU0LWRiNTctNDBmZC1hYzVmLWE3MTAyOGIwMTZmYSIsImNvbXBhbnlfaWQiOiJhYWI1ODRkZi00NGViLTQyYzEtOGYyNi0yOWU3Y2QwZTAyYzAiLCJyb2xlIjoiYXBpX3BhcnRuZXIiLCJpYXQiOjE3Mzg2OTg2ODMsImV4cCI6MTczOTU2MjY4M30.X1cg6EZUrXzW5dLbMoM4nGzdIumrl58v6UXU3kHlj-8\"\n    }\n}"}],"_postman_id":"e527e6ee-fc77-4a76-87b7-ea0ed2f21837"}],"id":"688c4c8e-8096-4be2-bc1b-c3adf90c0af5","_postman_id":"688c4c8e-8096-4be2-bc1b-c3adf90c0af5","description":""}],"id":"3a181613-74e2-4583-b55e-9004c0602267","description":"<p>We use bearer token to access any motherboard APIs.</p>\n","_postman_id":"3a181613-74e2-4583-b55e-9004c0602267"},{"name":"refresh","item":[{"name":"Auth Controller refresh Token","id":"a9268dca-f2ec-40fb-b09b-71c98d3804b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"//api/v1/auth/refresh","urlObject":{"path":["api","v1","auth","refresh"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"4dc68df9-bf96-46e8-aadc-0638843ed423","name":"Untitled Response","originalRequest":{"method":"GET","header":[],"url":"//api/v1/auth/refresh"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"a9268dca-f2ec-40fb-b09b-71c98d3804b6"}],"id":"80acfbc4-ab23-4aed-a046-70574460a881","description":"<p>Refresh auth token</p>\n","_postman_id":"80acfbc4-ab23-4aed-a046-70574460a881"},{"name":"Register","item":[{"name":"Register","id":"56911a8d-f3a5-4166-94bf-e0b38354e62b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"country_code\": \"<string>\",\n  \"mobile\": \"<string>\",\n  \"description\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/v1/apiPartners","urlObject":{"path":["api","v1","apiPartners"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"c434fe52-2f04-42d5-91eb-ce78f51dee57","name":"Untitled Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"<string>\",\n  \"email\": \"<string>\",\n  \"country_code\": \"<string>\",\n  \"mobile\": \"<string>\",\n  \"description\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/v1/apiPartners"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"messages\": {\n    \"example\": \"Successful\"\n  },\n  \"code\": {\n    \"example\": 200\n  }\n}"},{"id":"b23400ec-a795-4a33-8809-337740a364ff","name":"Sample success","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Test API partner\",\n  \"email\": \"partneruser@blondmail.com\",\n  \"country_code\": \"NG\",\n  \"mobile\": \"+2348122554433\",\n  \"description\": \"Create a test api partner\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/v1/apiPartners"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 04 Feb 2025 19:45:21 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"35"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-RateLimit-Limit","value":"100"},{"key":"X-RateLimit-Remaining","value":"99"},{"key":"X-RateLimit-Reset","value":"10"},{"key":"ETag","value":"W/\"23-B6TLoGNBw4kbZXcquzDbB0UbmOA\""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Successful\",\n    \"code\": 200\n}"}],"_postman_id":"56911a8d-f3a5-4166-94bf-e0b38354e62b"}],"id":"0c31da58-dae2-4ff6-bbc1-d01f34c68dff","_postman_id":"0c31da58-dae2-4ff6-bbc1-d01f34c68dff","description":""}],"id":"4bbb8e3b-9bde-46a6-b1ab-5bd0309fb5cb","description":"<p>All requests to the motherboard API are authenticated using bearer token. To access the API you must sign up first using our company's details and a valid email address where a secret id and key you will use to authenticate all requests will be sent.</p>\n","_postman_id":"4bbb8e3b-9bde-46a6-b1ab-5bd0309fb5cb"},{"name":"state","item":[{"name":"List all motherboard states","id":"e0d4e2d0-363b-4a95-b703-56124e2444d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"//api/v1/state/public","urlObject":{"path":["api","v1","state","public"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"113d194c-64a1-4528-b2fd-4491a2dd8318","name":"Untitled Response","originalRequest":{"method":"GET","header":[],"url":"//api/v1/state/public"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"e0d4e2d0-363b-4a95-b703-56124e2444d0"}],"id":"89552480-cff6-46db-b432-d40e630a7cc9","description":"<p>Fetch motherboard states. Use this for endpoints that require state</p>\n","_postman_id":"89552480-cff6-46db-b432-d40e630a7cc9"},{"name":"user/employee management","item":[{"name":"{uuid}","item":[{"name":"Delete user","id":"256ee1a1-5965-4c5f-82c1-f8c3115819e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"//api/v1/apiPartners/user/:uuid","urlObject":{"path":["api","v1","apiPartners","user",":uuid"],"host":["/"],"query":[],"variable":[{"id":"1fa04996-134b-4942-a979-cf1dd6e3b8e4","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"uuid"}]}},"response":[{"id":"474f9c99-7c35-45e3-a44c-181f8f0fb6b6","name":"Untitled Response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//api/v1/apiPartners/user/:uuid","host":["/"],"path":["api","v1","apiPartners","user",":uuid"],"variable":[{"key":"uuid"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"256ee1a1-5965-4c5f-82c1-f8c3115819e2"}],"id":"5b6c240d-f8e7-40e4-8aab-654521b08237","_postman_id":"5b6c240d-f8e7-40e4-8aab-654521b08237","description":""},{"name":"{param}","item":[{"name":"Get single user details","id":"02225a77-8e25-4014-8f2d-8ed6fd5e85ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"{{token}}","type":"text"}],"url":"//api/v1/apiPartners/user/cadf213a-5821-46a9-8986-fef01ffdea8b","urlObject":{"path":["api","v1","apiPartners","user","cadf213a-5821-46a9-8986-fef01ffdea8b"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"43809f9b-a933-4013-9a77-6b4cb42c0f25","name":"Untitled Response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//api/v1/apiPartners/user/:param","host":["/"],"path":["api","v1","apiPartners","user",":param"],"variable":[{"key":"param"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"02225a77-8e25-4014-8f2d-8ed6fd5e85ce"}],"id":"625865a7-3f5c-46aa-95eb-a92351e2a6fa","_postman_id":"625865a7-3f5c-46aa-95eb-a92351e2a6fa","description":""},{"name":"transfer","item":[{"name":"Transfer a users to motherboard","id":"0405d6cc-a512-4357-9e86-f56ee91b50ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"user_uuids\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"company_uuid\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/v1/apiPartners/user/transfer","urlObject":{"path":["api","v1","apiPartners","user","transfer"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"2ae7d3b0-e52d-4e6e-932d-328858c73617","name":"Untitled Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"user_uuids\": [\n    \"<string>\",\n    \"<string>\"\n  ],\n  \"company_uuid\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/v1/apiPartners/user/transfer"},"status":"Created","code":201,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"0405d6cc-a512-4357-9e86-f56ee91b50ad"}],"id":"638ad35a-3cb5-489c-84b8-16f2d908f1d5","_postman_id":"638ad35a-3cb5-489c-84b8-16f2d908f1d5","description":""},{"name":"Add partner user/employee","id":"e7ef7643-07d7-4744-a8c0-97d44cb76933","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"<string>\",\n  \"first_name\": \"<string>\",\n  \"last_name\": \"<string>\",\n  \"mobile\": \"<string>\",\n  \"gender\": \"<string>\",\n  \"previous_illness\": \"<string>\",\n  \"allergies\": \"<string>\",\n  \"surgical_history\": \"<string>\",\n  \"genotype\": \"<string>\",\n  \"blood_group\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/v1/apiPartners/user","urlObject":{"path":["api","v1","apiPartners","user"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"631f606e-c1d9-4c4c-9c50-505ae77c5fb6","name":"Untitled Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"<string>\",\n  \"first_name\": \"<string>\",\n  \"last_name\": \"<string>\",\n  \"mobile\": \"<string>\",\n  \"gender\": \"<string>\",\n  \"previous_illness\": \"<string>\",\n  \"allergies\": \"<string>\",\n  \"surgical_history\": \"<string>\",\n  \"genotype\": \"<string>\",\n  \"blood_group\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/v1/apiPartners/user"},"status":"Created","code":201,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"441ee377-e2df-47c1-b4b6-fc8efb404363","name":"add partner user","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"testpartneruser@blondmail.com\",\n  \"first_name\": \"test\",\n  \"last_name\": \"user\",\n  \"mobile\": \"+2348144223344\",\n  \"gender\": \"MALE\",\n  \"previous_illness\": \"none\",\n  \"allergies\": \"none\",\n  \"surgical_history\": \"apendicites surgery\",\n  \"genotype\": \"AA\",\n  \"blood_group\": \"O\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/v1/apiPartners/user"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 05 Feb 2025 09:40:27 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2082"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-RateLimit-Limit","value":"100"},{"key":"X-RateLimit-Remaining","value":"98"},{"key":"X-RateLimit-Reset","value":"10"},{"key":"ETag","value":"W/\"822-L1SQ1eu5c0vzQDJxcwP+575qBrQ\""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Created successfully\",\n    \"code\": 200,\n    \"data\": {\n        \"email\": \"testpartneruser@blondmail.com\",\n        \"first_name\": \"test\",\n        \"last_name\": \"user\",\n        \"status\": \"active\",\n        \"email_verified\": true,\n        \"notification_channel\": \"ALL\",\n        \"company_id\": {\n            \"id\": 60,\n            \"uuid\": \"aab584df-44eb-42c1-8f26-29e7cd0e02c0\",\n            \"created_at\": \"2025-02-04T19:45:20.224Z\",\n            \"updated_at\": \"2025-02-04T19:45:21.000Z\",\n            \"deleted_at\": null,\n            \"name\": \"Test API partner\",\n            \"description\": \"Create a test api partner\",\n            \"updated_by\": null,\n            \"mobile\": \"+2348122554433\",\n            \"email\": \"partneruser@blondmail.com\",\n            \"start_immediately\": false,\n            \"employees_count\": null,\n            \"id_hash\": null,\n            \"image_url\": null,\n            \"zoho_employer_id\": \"zoho\",\n            \"country_code\": {\n                \"id\": 1,\n                \"uuid\": \"e9ab81f5-d699-40a8-b4fa-ccdce465ed01\",\n                \"created_at\": \"2023-06-29T14:52:43.479Z\",\n                \"code\": \"NG\",\n                \"name\": \"Nigeria\",\n                \"country_phone_code\": \"+234\",\n                \"currency\": \"Naira\",\n                \"currency_symbol\": \"₦\",\n                \"currency_code\": \"NGN\"\n            }\n        },\n        \"country_code\": {\n            \"id\": 1,\n            \"uuid\": \"e9ab81f5-d699-40a8-b4fa-ccdce465ed01\",\n            \"created_at\": \"2023-06-29T14:52:43.479Z\",\n            \"code\": \"NG\",\n            \"name\": \"Nigeria\",\n            \"country_phone_code\": \"+234\",\n            \"currency\": \"Naira\",\n            \"currency_symbol\": \"₦\",\n            \"currency_code\": \"NGN\"\n        },\n        \"role\": {\n            \"id\": 3,\n            \"uuid\": \"cda0ae4f-ba29-42b9-943b-37460ea436cb\",\n            \"created_at\": \"2023-06-29T14:52:43.482Z\",\n            \"role\": \"user\",\n            \"active\": 1\n        },\n        \"health_profile\": {\n            \"allergies\": \"none\",\n            \"blood_group\": \"O\",\n            \"gender\": \"MALE\",\n            \"genotype\": \"AA\",\n            \"previous_illness\": \"none\",\n            \"surgical_history\": \"apendicites surgery\",\n            \"uuid\": \"d8f7036a-fc1a-4898-ae00-4411afe0800d\",\n            \"policy_number\": null,\n            \"id\": 14677,\n            \"created_at\": \"2025-02-05T09:40:27.731Z\",\n            \"updated_at\": \"2025-02-05T09:40:27.731Z\",\n            \"deleted_at\": null\n        },\n        \"uuid\": \"cadf213a-5821-46a9-8986-fef01ffdea8b\",\n        \"user_public_id\": null,\n        \"mobile\": null,\n        \"dob\": null,\n        \"password_hash\": null,\n        \"last_login\": null,\n        \"otp\": null,\n        \"token_created\": null,\n        \"how_you_heard_about_us\": null,\n        \"image_path\": null,\n        \"address\": null,\n        \"dependant_type\": null,\n        \"gender\": null,\n        \"parent_id\": \"0\",\n        \"zoho_employee_id\": \"zoho\",\n        \"email_reset\": null,\n        \"mobile_reset\": null,\n        \"ussd_transaction_pin\": null,\n        \"id\": 19472,\n        \"created_at\": \"2025-02-05T09:40:27.797Z\",\n        \"updated_at\": \"2025-02-05T09:40:27.797Z\",\n        \"deleted_at\": null,\n        \"show_onboarding_guide\": true,\n        \"start_immediately\": false\n    }\n}"}],"_postman_id":"e7ef7643-07d7-4744-a8c0-97d44cb76933"},{"name":"list users","id":"202be16b-dd22-4e71-a85b-8d9c1e72df2a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"{{token}}","type":"text"}],"url":"//api/v1/apiPartners/user","urlObject":{"path":["api","v1","apiPartners","user"],"host":["/"],"query":[{"disabled":true,"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"<number>"},{"disabled":true,"description":{"content":"<p>Page size</p>\n","type":"text/plain"},"key":"size","value":"<number>"},{"disabled":true,"description":{"content":"<p>User name</p>\n","type":"text/plain"},"key":"name","value":"<string>"},{"disabled":true,"description":{"content":"<p>User email</p>\n","type":"text/plain"},"key":"email","value":"<string>"}],"variable":[]}},"response":[{"id":"0851e510-a1bb-493e-a40e-d9ef1b336a5a","name":"Untitled Response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//api/v1/apiPartners/user?page=<number>&size=<number>&name=<string>&email=<string>","host":["/"],"path":["api","v1","apiPartners","user"],"query":[{"description":"Page number","key":"page","value":"<number>"},{"description":"Page size","key":"size","value":"<number>"},{"description":"User name","key":"name","value":"<string>"},{"description":"User email","key":"email","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"08e485b7-3dea-4f09-b6d3-298d10d5273f","name":"list users/employees","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}","type":"text"}],"url":{"raw":"//api/v1/apiPartners/user","host":["/"],"path":["api","v1","apiPartners","user"],"query":[{"key":"page","value":"<number>","description":"Page number","disabled":true},{"key":"size","value":"<number>","description":"Page size","disabled":true},{"key":"name","value":"<string>","description":"User name","disabled":true},{"key":"email","value":"<string>","description":"User email","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 05 Feb 2025 09:46:08 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"395"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-RateLimit-Limit","value":"100"},{"key":"X-RateLimit-Remaining","value":"99"},{"key":"X-RateLimit-Reset","value":"10"},{"key":"ETag","value":"W/\"18b-Jk1PnKjz0m8QUJ9QfLTLTKcNZdw\""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Successful\",\n    \"code\": 200,\n    \"data\": {\n        \"page\": 1,\n        \"rows\": 2,\n        \"pageSize\": 10,\n        \"pages\": 1,\n        \"offset\": 0,\n        \"data\": [\n            {\n                \"uuid\": \"cadf213a-5821-46a9-8986-fef01ffdea8b\",\n                \"email\": \"testpartneruser@blondmail.com\",\n                \"mobile\": null,\n                \"first_name\": \"test\",\n                \"last_name\": \"user\"\n            },\n            {\n                \"uuid\": \"b8fa0b54-db57-40fd-ac5f-a71028b016fa\",\n                \"email\": \"partneruser@blondmail.com\",\n                \"mobile\": \"+2348122554433\",\n                \"first_name\": \"Test\",\n                \"last_name\": \"API\"\n            }\n        ]\n    }\n}"}],"_postman_id":"202be16b-dd22-4e71-a85b-8d9c1e72df2a"},{"name":"Partner User Controller update Partner User","id":"58cfd7b0-5ad1-44ec-9b70-b0c5cf2b3601","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"user_uuid\": \"<string>\",\n  \"email\": \"<string>\",\n  \"first_name\": \"<string>\",\n  \"last_name\": \"<string>\",\n  \"mobile\": \"<string>\",\n  \"gender\": \"<string>\",\n  \"previous_illness\": \"<string>\",\n  \"allergies\": \"<string>\",\n  \"surgical_history\": \"<string>\",\n  \"genotype\": \"<string>\",\n  \"blood_group\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/v1/apiPartners/user","urlObject":{"path":["api","v1","apiPartners","user"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"b441aa93-f633-4350-b650-a931081c9411","name":"Untitled Response","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"user_uuid\": \"<string>\",\n  \"email\": \"<string>\",\n  \"first_name\": \"<string>\",\n  \"last_name\": \"<string>\",\n  \"mobile\": \"<string>\",\n  \"gender\": \"<string>\",\n  \"previous_illness\": \"<string>\",\n  \"allergies\": \"<string>\",\n  \"surgical_history\": \"<string>\",\n  \"genotype\": \"<string>\",\n  \"blood_group\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/v1/apiPartners/user"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"58cfd7b0-5ad1-44ec-9b70-b0c5cf2b3601"}],"id":"d77b9a1c-4b82-48f5-8fbd-00c966433567","description":"<p>Use this apis to manage user or employees that is people that redeem and enjoy the benefit</p>\n<p>You can register a user, update a user record or delete a user</p>\n","_postman_id":"d77b9a1c-4b82-48f5-8fbd-00c966433567"},{"name":"wallet","item":[{"name":"fund","item":[{"name":"Partner Transactions Controller initiate Fund Wallet","id":"a618da2e-56b5-4b6b-b863-1c6e63742383","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"amount\": 5000\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/v1/partner/wallet/fund","urlObject":{"path":["api","v1","partner","wallet","fund"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"c9664b02-afc1-451f-a75c-4a3be6ede22b","name":"Untitled Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"amount\": \"<number>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/v1/partner/wallet/fund"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"messages\": {\n    \"example\": \"Success\"\n  },\n  \"code\": {\n    \"example\": 200\n  },\n  \"data\": {\n    \"example\": {\n      \"paymentUrl\": \"https://checkout.paystack.com/n4hlgvvjeyc4ng5\",\n      \"reference\": \"TR-PSK-655380\"\n    }\n  }\n}"}],"_postman_id":"a618da2e-56b5-4b6b-b863-1c6e63742383"}],"id":"e7f77d6b-a295-4d63-81b1-d7e36861dc98","_postman_id":"e7f77d6b-a295-4d63-81b1-d7e36861dc98","description":""},{"name":"confirm-payment","item":[{"name":"{reference}","item":[{"name":"Confirm wallet funding payment","id":"3190b969-3743-419b-90a9-f02ac485bd53","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{token}}","type":"text"}],"url":"//api/v1/partner/wallet/confirm-payment/TR-PSK-516436","urlObject":{"path":["api","v1","partner","wallet","confirm-payment","TR-PSK-516436"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"5f233c1b-35b6-4b04-9c11-3a56dfb77885","name":"Untitled Response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//api/v1/partner/wallet/confirm-payment/:reference","host":["/"],"path":["api","v1","partner","wallet","confirm-payment",":reference"],"variable":[{"key":"reference"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"messages\": {\n    \"example\": \"Records fetched Successfully\"\n  },\n  \"code\": {\n    \"example\": 200\n  }\n}"},{"id":"194fc01b-27e7-430d-8609-03054e47c839","name":"Partner Transactions Controller confirm Payment","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Authorization","value":"{{token}}","type":"text"}],"url":"//api/v1/partner/wallet/confirm-payment/TR-PSK-516436"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 05 Feb 2025 10:45:01 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"35"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-RateLimit-Limit","value":"100"},{"key":"X-RateLimit-Remaining","value":"99"},{"key":"X-RateLimit-Reset","value":"10"},{"key":"ETag","value":"W/\"23-B6TLoGNBw4kbZXcquzDbB0UbmOA\""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Successful\",\n    \"code\": 200\n}"}],"_postman_id":"3190b969-3743-419b-90a9-f02ac485bd53"}],"id":"cf49864b-3cd1-4931-9bd0-66a0183332cc","_postman_id":"cf49864b-3cd1-4931-9bd0-66a0183332cc","description":""}],"id":"e21d1ab2-1f4f-4901-b767-cbe33d4f443b","_postman_id":"e21d1ab2-1f4f-4901-b767-cbe33d4f443b","description":""},{"name":"transactions","item":[{"name":"fetch all wallet funding transactions","id":"0fccc18d-4a83-4228-91bb-ceb3b8918048","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":false},"method":"GET","header":[],"url":"//api/v1/partner/wallet/transactions","urlObject":{"path":["api","v1","partner","wallet","transactions"],"host":["/"],"query":[{"disabled":true,"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"<number>"},{"disabled":true,"description":{"content":"<p>Page size</p>\n","type":"text/plain"},"key":"size","value":"<number>"},{"disabled":true,"description":{"content":"<p>The type of transaction. It could be debit or credit</p>\n","type":"text/plain"},"key":"transaction_type","value":"<string>"},{"disabled":true,"description":{"content":"<p>The provider for the transaction. it could be motherboard..</p>\n","type":"text/plain"},"key":"provider_type","value":"<string>"},{"disabled":true,"description":{"content":"<p>The minimum amount to fetch</p>\n","type":"text/plain"},"key":"min_amount","value":"<number>"},{"disabled":true,"description":{"content":"<p>The maximum amount to fetch</p>\n","type":"text/plain"},"key":"max_amount","value":"<number>"},{"disabled":true,"description":{"content":"<p>The status of the transactions to fetch</p>\n","type":"text/plain"},"key":"status","value":"<string>"}],"variable":[]}},"response":[{"id":"ff043dc5-9217-4e57-a7f1-34cc904bd0fb","name":"Untitled Response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//api/v1/partner/wallet/transactions?page=<number>&size=<number>&transaction_type=<string>&provider_type=<string>&min_amount=<number>&max_amount=<number>&status=<string>","host":["/"],"path":["api","v1","partner","wallet","transactions"],"query":[{"description":"Page number","key":"page","value":"<number>"},{"description":"Page size","key":"size","value":"<number>"},{"description":"The type of transaction. It could be debit or credit","key":"transaction_type","value":"<string>"},{"description":"The provider for the transaction. it could be motherboard..","key":"provider_type","value":"<string>"},{"description":"The minimum amount to fetch","key":"min_amount","value":"<number>"},{"description":"The maximum amount to fetch","key":"max_amount","value":"<number>"},{"description":"The status of the transactions to fetch","key":"status","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"0fccc18d-4a83-4228-91bb-ceb3b8918048"}],"id":"6d8feef7-69ef-44e3-b4b7-82c747225bfd","_postman_id":"6d8feef7-69ef-44e3-b4b7-82c747225bfd","description":""},{"name":"Fetch wallet balance","id":"49fadcce-4967-43c2-9d2b-fdbc0cc5c733","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"{{token}}","type":"text"}],"url":"//api/v1/partner/wallet","urlObject":{"path":["api","v1","partner","wallet"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"6f58c531-ba79-4ced-b483-26100f7a9e2e","name":"Untitled Response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//api/v1/partner/wallet"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"49fadcce-4967-43c2-9d2b-fdbc0cc5c733"}],"id":"60996964-1e7a-4b54-b275-87d0e558d431","description":"<p>You must fund wallet and your wallet balance must be able to cover the price for any benefit you plan to purchase.  </p>\n<p>Use the fund endpoint to initialize the transaction, a link will be returned to make payment on and confirm-payment API to confirm payment after it has been made on the paystack dashboard.<br />Use transctions endpoint to list previous transactions</p>\n","_postman_id":"60996964-1e7a-4b54-b275-87d0e558d431"},{"name":"category","item":[{"name":"{uuid}","item":[{"name":"get single benefit category by uuid","id":"1e9ab507-839b-4055-91e0-1868e7fbf430","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//api/v1/partner/category/:uuid","urlObject":{"path":["api","v1","partner","category",":uuid"],"host":["/"],"query":[],"variable":[{"id":"412e4641-6bcb-46ba-8d81-895227975804","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"uuid"}]}},"response":[{"id":"1643a916-80f2-4b11-ba50-4497036771cb","name":"Untitled Response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//api/v1/partner/category/:uuid","host":["/"],"path":["api","v1","partner","category",":uuid"],"variable":[{"key":"uuid"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"messages\": {\n    \"example\": \"Successful\"\n  },\n  \"code\": {\n    \"example\": 200\n  },\n  \"data\": {\n    \"example\": {\n      \"uuid\": \"0c25732e-fca6-46df-b140-d2cb68668f7a\",\n      \"name\": \"Health $ Wellness\",\n      \"description\": \"Nice One\",\n      \"sub_categories\": [\n        {\n          \"uuid\": \"8fd75587-8d59-4319-88bb-78914148812f\",\n          \"name\": \"Health Child\",\n          \"parent_category_id\": \"0c25732e-fca6-46df-b140-d2cb68668f7a\"\n        }\n      ]\n    }\n  }\n}"}],"_postman_id":"1e9ab507-839b-4055-91e0-1868e7fbf430"}],"id":"823d4de7-01a4-44cd-9990-718af0c6fb9c","_postman_id":"823d4de7-01a4-44cd-9990-718af0c6fb9c","description":""},{"name":"name","item":[{"name":"{name}","item":[{"name":"get single category by name","id":"2184f8b1-6322-4d6d-89f9-f092182c2031","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//api/v1/partner/category/name/:name","urlObject":{"path":["api","v1","partner","category","name",":name"],"host":["/"],"query":[],"variable":[{"id":"98488c49-3501-41ff-b8ca-fb530b577ae0","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"name"}]}},"response":[{"id":"c0c3e0d6-54a5-4ae1-b477-16cff74c7bff","name":"Untitled Response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//api/v1/partner/category/name/:name","host":["/"],"path":["api","v1","partner","category","name",":name"],"variable":[{"key":"name"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"messages\": {\n    \"example\": \"Successful\"\n  },\n  \"code\": {\n    \"example\": 200\n  },\n  \"data\": {\n    \"example\": {\n      \"uuid\": \"0c25732e-fca6-46df-b140-d2cb68668f7a\",\n      \"name\": \"Health $ Wellness\",\n      \"description\": \"Nice One\",\n      \"sub_categories\": [\n        {\n          \"uuid\": \"8fd75587-8d59-4319-88bb-78914148812f\",\n          \"name\": \"Health Child\",\n          \"parent_category_id\": \"0c25732e-fca6-46df-b140-d2cb68668f7a\"\n        }\n      ]\n    }\n  }\n}"}],"_postman_id":"2184f8b1-6322-4d6d-89f9-f092182c2031"}],"id":"b0023478-4459-4611-a0a4-73167177cfcb","_postman_id":"b0023478-4459-4611-a0a4-73167177cfcb","description":""}],"id":"2478f939-02f2-46bb-b76e-7e73e5f902b0","_postman_id":"2478f939-02f2-46bb-b76e-7e73e5f902b0","description":""},{"name":"fetch all benefit categories","id":"3d43eb26-24e6-4b86-8996-4e4392c35cc0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//api/v1/partner/category","urlObject":{"path":["api","v1","partner","category"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"8f049f0e-c01b-444d-9bc7-cd1a411f1d5d","name":"Untitled Response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":"//api/v1/partner/category"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"messages\": {\n    \"example\": \"Successful\"\n  },\n  \"code\": {\n    \"example\": 200\n  },\n  \"data\": {\n    \"example\": {\n      \"count\": 1,\n      \"categories\": [\n        {\n          \"uuid\": \"56066a30-3d0d-4772-b7bd-de8d09c9024b\",\n          \"name\": \"Food & Groceries\",\n          \"status\": \"ACTIVE\",\n          \"display_order\": 5,\n          \"display_status\": 1,\n          \"sub_categories\": [\n            {\n              \"uuid\": \"22940b44-73c8-4cd6-8fc0-421917ab5325\",\n              \"name\": \"General groceries\"\n            }\n          ]\n        }\n      ]\n    }\n  }\n}"}],"_postman_id":"3d43eb26-24e6-4b86-8996-4e4392c35cc0"}],"id":"8782c5a5-2b68-4f5c-be2f-378e91a69ddf","_postman_id":"8782c5a5-2b68-4f5c-be2f-378e91a69ddf","description":""},{"name":"merchants","item":[{"name":"health-plan","item":[{"name":"{uuid}","item":[{"name":"Partner Health Plan Controller get Health Plan By Id","id":"060bbd5d-6aef-4620-8a58-08679fb08db0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//api/v1/partner/health-plan/:uuid","urlObject":{"path":["api","v1","partner","health-plan",":uuid"],"host":["/"],"query":[],"variable":[{"id":"0f27aff0-2804-4f8f-a4f0-657b961a01e3","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"uuid"}]}},"response":[{"id":"767241c6-a498-4187-b03a-9177069c6f30","name":"Untitled Response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//api/v1/partner/health-plan/:uuid","host":["/"],"path":["api","v1","partner","health-plan",":uuid"],"variable":[{"key":"uuid"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": {\n    \"example\": \"Successful\"\n  },\n  \"code\": {\n    \"example\": 200\n  },\n  \"data\": {\n    \"example\": {\n      \"uuid\": \"5bae9b31-3c8e-4170-a76c-73b392315c83\",\n      \"name\": \"Fame plan\",\n      \"price\": \"0.00\",\n      \"payment_duration\": 0,\n      \"status\": \"ACTIVE\",\n      \"plan_type\": \"Family\",\n      \"plan_provider\": \"Hygeai\",\n      \"ward_type\": \"GENERAL\",\n      \"featured\": false,\n      \"dental_coverage\": false,\n      \"optical_coverage\": false,\n      \"gym_coverage\": false,\n      \"an_pn_childbirth_coverage\": false,\n      \"gyneacology_coverage\": false,\n      \"emergency_coverage\": false,\n      \"drugs_coverage\": false,\n      \"surgery_coverage\": false,\n      \"activate_immediately\": true,\n      \"hmo\": {\n        \"uuid\": \"2830a77f-cf66-40a2-8846-d094c35c7721\",\n        \"name\": \"Rothauge HMO\",\n        \"email\": \"info@rothaugehealth.com\",\n        \"mobile\": \"08087646743,08185255466\",\n        \"address\": \"16B, Babatunde Street, Off Ogunlana Drive, Surulere.\",\n        \"image_url\": \"http://res.cloudinary.com/codedmuyie/image/upload/v1627586100/rohealth/hmos/hmo_8.png\",\n        \"state\": \"Lagos\"\n      },\n      \"hospitals\": [\n        {\n          \"uuid\": \"1598d46f-3631-4d7c-8a2d-0dede7bf0920\",\n          \"name\": \"Bu Clinics Ltd\",\n          \"address\": \"NO. 8, ALABARA STREET, OFF ADJOMO AVENUE, OFF AIRPORT ROAD, OGBORIKORO, WARRI, DELTA STATE\",\n          \"email\": \"None\",\n          \"mobile\": \"Delta State\"\n        }\n      ],\n      \"hospital_count\": 1\n    }\n  }\n}"}],"_postman_id":"060bbd5d-6aef-4620-8a58-08679fb08db0"}],"id":"ceb7c3ce-5087-4bbb-881f-603d13074fb6","_postman_id":"ceb7c3ce-5087-4bbb-881f-603d13074fb6","description":""},{"name":"Fetch a paginated list of health plans","id":"026704c8-c567-4a01-b672-e725cbf6057d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//api/v1/partner/health-plan?page=<number>&size=<number>&name=<string>&hmo_uuid=<string>&state=<string>&plan_types=<string>&ward_types=<string>&surgery_coverage=<string>&payment_duration=<string>&price_min=<number>&price_max=<number>","urlObject":{"path":["api","v1","partner","health-plan"],"host":["/"],"query":[{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"<number>"},{"description":{"content":"<p>Page size</p>\n","type":"text/plain"},"key":"size","value":"<number>"},{"description":{"content":"<p>The plan name</p>\n","type":"text/plain"},"key":"name","value":"<string>"},{"description":{"content":"<p>The HMO uuid this plans belong to</p>\n","type":"text/plain"},"key":"hmo_uuid","value":"<string>"},{"description":{"content":"<p>The state</p>\n","type":"text/plain"},"key":"state","value":"<string>"},{"description":{"content":"<p>The plan types. It is comma separated</p>\n","type":"text/plain"},"key":"plan_types","value":"<string>"},{"description":{"content":"<p>The ward types. it is comma separated</p>\n","type":"text/plain"},"key":"ward_types","value":"<string>"},{"description":{"content":"<p>Filter by surgical coverage</p>\n","type":"text/plain"},"key":"surgery_coverage","value":"<string>"},{"description":{"content":"<p>Filter by payment duration. It is a csv</p>\n","type":"text/plain"},"key":"payment_duration","value":"<string>"},{"description":{"content":"<p>Filter by minimum price</p>\n","type":"text/plain"},"key":"price_min","value":"<number>"},{"description":{"content":"<p>Filter by maximum price</p>\n","type":"text/plain"},"key":"price_max","value":"<number>"}],"variable":[]}},"response":[{"id":"16cf7bf4-9313-4cd6-84de-f05a67515ea3","name":"Untitled Response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//api/v1/partner/health-plan?page=<number>&size=<number>&name=<string>&hmo_uuid=<string>&state=<string>&plan_types=<string>&ward_types=<string>&surgery_coverage=<string>&payment_duration=<string>&price_min=<number>&price_max=<number>","host":["/"],"path":["api","v1","partner","health-plan"],"query":[{"description":"Page number","key":"page","value":"<number>"},{"description":"Page size","key":"size","value":"<number>"},{"description":"The plan name","key":"name","value":"<string>"},{"description":"The HMO uuid this plans belong to","key":"hmo_uuid","value":"<string>"},{"description":"The state","key":"state","value":"<string>"},{"description":"The plan types. It is comma separated","key":"plan_types","value":"<string>"},{"description":"The ward types. it is comma separated","key":"ward_types","value":"<string>"},{"description":"Filter by surgical coverage","key":"surgery_coverage","value":"<string>"},{"description":"Filter by payment duration. It is a csv","key":"payment_duration","value":"<string>"},{"description":"Filter by minimum price","key":"price_min","value":"<number>"},{"description":"Filter by maximum price","key":"price_max","value":"<number>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": {\n    \"example\": \"Successful\"\n  },\n  \"code\": {\n    \"example\": 200\n  },\n  \"data\": {\n    \"example\": [\n      {\n        \"uuid\": \"5bae9b31-3c8e-4170-a76c-73b392315c83\",\n        \"name\": \"Fame plan\",\n        \"price\": \"0.00\",\n        \"payment_duration\": 0,\n        \"plan_type\": \"Family\",\n        \"plan_provider\": \"Hygeai\",\n        \"ward_type\": \"GENERAL\",\n        \"featured\": false,\n        \"dental_coverage\": false,\n        \"optical_coverage\": false,\n        \"gym_coverage\": false,\n        \"an_pn_childbirth_coverage\": false,\n        \"gyneacology_coverage\": false,\n        \"emergency_coverage\": false,\n        \"drugs_coverage\": false,\n        \"surgery_coverage\": false,\n        \"activate_immediately\": true,\n        \"hospital_count\": 0\n      }\n    ]\n  }\n}"}],"_postman_id":"026704c8-c567-4a01-b672-e725cbf6057d"}],"id":"c2fedce3-51b9-4f94-8552-b1df1efecb08","_postman_id":"c2fedce3-51b9-4f94-8552-b1df1efecb08","description":""},{"name":"hmo","item":[{"name":"{uuid}","item":[{"name":"Get single Hmo By Id","id":"02a45aab-a47e-4075-8a9e-895d94a8f440","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//api/v1/partner/hmo/:uuid","urlObject":{"path":["api","v1","partner","hmo",":uuid"],"host":["/"],"query":[],"variable":[{"id":"a20c0e8c-56fd-4049-9fb8-e76a6f6ed5af","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"uuid"}]}},"response":[{"id":"a36ebc55-0dfe-425a-971f-d758f3dbfe27","name":"Untitled Response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//api/v1/partner/hmo/:uuid","host":["/"],"path":["api","v1","partner","hmo",":uuid"],"variable":[{"key":"uuid"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"messages\": {\n    \"example\": \"Successful\"\n  },\n  \"code\": {\n    \"example\": 200\n  },\n  \"data\": {\n    \"example\": {\n      \"page\": 1,\n      \"rows\": 1,\n      \"pageSize\": 10,\n      \"pages\": 1,\n      \"offset\": 0,\n      \"data\": [\n        {\n          \"uuid\": \"de5e4014-baf5-4e2e-bfd4-926360f186dd\",\n          \"name\": \"Reliance\",\n          \"email\": \"example@yahoo.com\",\n          \"mobile\": \"+2348148157575\",\n          \"address\": \"1, Johnson street, Lagos\",\n          \"image_url\": \"https://cdn.punchng.com/wp-content/uploads/2021/06/14043305/Leadway.jpg\",\n          \"state\": \"Lagos\",\n          \"customter_service_number\": \"+2348148157575\",\n          \"health_plans\": [\n            {\n              \"uuid\": \"ba0741f6-b034-434c-957b-e7d20f00b2b9\",\n              \"name\": \"string\",\n              \"price\": \"100000.00\",\n              \"payment_duration\": 2,\n              \"plan_type\": \"string\",\n              \"plan_provider\": \"string\",\n              \"ward_type\": \"GENERAL\",\n              \"featured\": false,\n              \"dental_coverage\": false,\n              \"optical_coverage\": false,\n              \"gym_coverage\": true,\n              \"an_pn_childbirth_coverage\": false,\n              \"gyneacology_coverage\": false,\n              \"emergency_coverage\": false,\n              \"drugs_coverage\": false,\n              \"surgery_coverage\": false,\n              \"surgery_cost\": 0,\n              \"benefit_details_link\": \"https://mimi.com\",\n              \"description\": \"Nice plan\",\n              \"activate_immediately\": true\n            }\n          ]\n        }\n      ]\n    }\n  }\n}"}],"_postman_id":"02a45aab-a47e-4075-8a9e-895d94a8f440"}],"id":"bed3fc1a-8ec7-4b6c-9165-45abcb12c08e","_postman_id":"bed3fc1a-8ec7-4b6c-9165-45abcb12c08e","description":""},{"name":"Fetch a paginated list of HMOs","id":"8b1a7131-14e7-4aa7-b8e2-76b61683334c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//api/v1/partner/hmo?page=<number>&size=<number>&name=<string>&state=<string>&country_name=<string>&status=<string>&plan_duration=<string>&plan_price_min=<number>&plan_price_max=<number>","urlObject":{"path":["api","v1","partner","hmo"],"host":["/"],"query":[{"description":{"content":"<p>Page number</p>\n","type":"text/plain"},"key":"page","value":"<number>"},{"description":{"content":"<p>Page size</p>\n","type":"text/plain"},"key":"size","value":"<number>"},{"description":{"content":"<p>Name of hmo to return</p>\n","type":"text/plain"},"key":"name","value":"<string>"},{"description":{"content":"<p>Name of state where hmo is</p>\n","type":"text/plain"},"key":"state","value":"<string>"},{"description":{"content":"<p>Country name</p>\n","type":"text/plain"},"key":"country_name","value":"<string>"},{"description":{"content":"<p>HMO status</p>\n","type":"text/plain"},"key":"status","value":"<string>"},{"description":{"content":"<p>The HMOs with plans under this duration. It is CSV of plan duration. e.g 1,2,3</p>\n","type":"text/plain"},"key":"plan_duration","value":"<string>"},{"description":{"content":"<p>The HMOS with the minimum plan price. It should be lesser than maximum price (plan_price_max)</p>\n","type":"text/plain"},"key":"plan_price_min","value":"<number>"},{"description":{"content":"<p>The HMOS with the maximum plan price. . It should greater than the minimum price (plan_price_min)</p>\n","type":"text/plain"},"key":"plan_price_max","value":"<number>"}],"variable":[]}},"response":[{"id":"4d47f3a2-fde6-4195-9ecf-036566fe414d","name":"Untitled Response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//api/v1/partner/hmo?page=<number>&size=<number>&name=<string>&state=<string>&country_name=<string>&status=<string>&plan_duration=<string>&plan_price_min=<number>&plan_price_max=<number>","host":["/"],"path":["api","v1","partner","hmo"],"query":[{"description":"Page number","key":"page","value":"<number>"},{"description":"Page size","key":"size","value":"<number>"},{"description":"Name of hmo to return","key":"name","value":"<string>"},{"description":"Name of state where hmo is","key":"state","value":"<string>"},{"description":"Country name","key":"country_name","value":"<string>"},{"description":"HMO status","key":"status","value":"<string>"},{"description":"The HMOs with plans under this duration. It is CSV of plan duration. e.g 1,2,3","key":"plan_duration","value":"<string>"},{"description":"The HMOS with the minimum plan price. It should be lesser than maximum price (plan_price_max)","key":"plan_price_min","value":"<number>"},{"description":"The HMOS with the maximum plan price. . It should greater than the minimum price (plan_price_min)","key":"plan_price_max","value":"<number>"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"messages\": {\n    \"example\": \"Successful\"\n  },\n  \"code\": {\n    \"example\": 200\n  },\n  \"data\": {\n    \"example\": {\n      \"page\": 1,\n      \"rows\": 1,\n      \"pageSize\": 10,\n      \"pages\": 1,\n      \"offset\": 0,\n      \"data\": [\n        {\n          \"uuid\": \"de5e4014-baf5-4e2e-bfd4-926360f186dd\",\n          \"name\": \"Reliance\",\n          \"email\": \"example@yahoo.com\",\n          \"mobile\": \"+2348148157575\",\n          \"address\": \"1, Johnson street, Lagos\",\n          \"image_url\": \"https://cdn.punchng.com/wp-content/uploads/2021/06/14043305/Leadway.jpg\",\n          \"state\": \"Lagos\",\n          \"customter_service_number\": \"+2348148157575\",\n          \"countries\": \"NG\"\n        }\n      ]\n    }\n  }\n}"}],"_postman_id":"8b1a7131-14e7-4aa7-b8e2-76b61683334c"}],"id":"d6cb6c38-ef4d-4cea-84e1-53d57899bbc6","_postman_id":"d6cb6c38-ef4d-4cea-84e1-53d57899bbc6","description":""},{"name":"{uuid}","item":[{"name":"get single merchant","id":"899e185b-7caa-4577-84ee-f8b3d8d561b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//api/v1/partner/merchants/:uuid","urlObject":{"path":["api","v1","partner","merchants",":uuid"],"host":["/"],"query":[],"variable":[{"id":"851c6b63-c1ad-4747-8c69-6dfb89b2f0e9","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"<string>","key":"uuid"}]}},"response":[{"id":"f74b934d-e655-4758-8c56-af93f85e979f","name":"Untitled Response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//api/v1/partner/merchants/:uuid","host":["/"],"path":["api","v1","partner","merchants",":uuid"],"variable":[{"key":"uuid"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"messages\": {\n    \"example\": \"Successful\"\n  },\n  \"code\": {\n    \"example\": 200\n  },\n  \"data\": {\n    \"example\": {\n      \"page\": 1,\n      \"rows\": 1,\n      \"pageSize\": 1000,\n      \"pages\": 1,\n      \"offset\": 0,\n      \"data\": [\n        {\n          \"uuid\": \"35dcb15a-7b5c-42b4-81bc-61f40dad87e8\",\n          \"store_id\": 100,\n          \"name\": \"Shoprite\",\n          \"description\": \"It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy.\",\n          \"short_code\": \"Shop1\",\n          \"picture\": \"https://img.logo.png\",\n          \"price\": \"1500.00\",\n          \"is_featured\": true,\n          \"benefit_category\": {\n            \"uuid\": \"2a0947c6-e429-40fa-a1d8-d849caa21857\",\n            \"name\": \"Health & Wellness\"\n          }\n        }\n      ]\n    }\n  }\n}"}],"_postman_id":"899e185b-7caa-4577-84ee-f8b3d8d561b7"}],"id":"0aa55af7-41fd-46dc-9bfb-9395b16a2199","_postman_id":"0aa55af7-41fd-46dc-9bfb-9395b16a2199","description":""},{"name":"list All Merchants","id":"2920019e-00a8-4cc9-87e9-66ecb226ff92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"//api/v1/partner/merchants?page=<number>&size=<number>&name=<string>&min_price=<number>&max_price=<number>&benefit_category_uuid=<string>","urlObject":{"path":["api","v1","partner","merchants"],"host":["/"],"query":[{"description":{"content":"<p>current page you want to fetch from, for pagination</p>\n","type":"text/plain"},"key":"page","value":"<number>"},{"description":{"content":"<p>current size for pagination</p>\n","type":"text/plain"},"key":"size","value":"<number>"},{"description":{"content":"<p>A string to filter merchants by their name</p>\n","type":"text/plain"},"key":"name","value":"<string>"},{"description":{"content":"<p>minimum price for filter</p>\n","type":"text/plain"},"key":"min_price","value":"<number>"},{"description":{"content":"<p>maximum price for filter</p>\n","type":"text/plain"},"key":"max_price","value":"<number>"},{"description":{"content":"<p>Get all merchants belonging to a particular benefit category.</p>\n","type":"text/plain"},"key":"benefit_category_uuid","value":"<string>"}],"variable":[]}},"response":[{"id":"fdb4a5ef-bf06-4aaa-b825-512847c710ba","name":"Untitled Response","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"url":{"raw":"//api/v1/partner/merchants?page=<number>&size=<number>&name=<string>&min_price=<number>&max_price=<number>&benefit_category_uuid=<string>","host":["/"],"path":["api","v1","partner","merchants"],"query":[{"description":"current page you want to fetch from, for pagination","key":"page","value":"<number>"},{"description":"current size for pagination","key":"size","value":"<number>"},{"description":"A string to filter merchants by their name","key":"name","value":"<string>"},{"description":"minimum price for filter","key":"min_price","value":"<number>"},{"description":"maximum price for filter","key":"max_price","value":"<number>"},{"description":"Get all merchants belonging to a particular benefit category.","key":"benefit_category_uuid","value":"<string>"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"messages\": {\n    \"example\": \"Successful\"\n  },\n  \"code\": {\n    \"example\": 200\n  },\n  \"data\": {\n    \"example\": {\n      \"page\": 1,\n      \"rows\": 1,\n      \"pageSize\": 1000,\n      \"pages\": 1,\n      \"offset\": 0,\n      \"data\": [\n        {\n          \"uuid\": \"35dcb15a-7b5c-42b4-81bc-61f40dad87e8\",\n          \"store_id\": 100,\n          \"name\": \"Shoprite\",\n          \"description\": \"It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy.\",\n          \"short_code\": \"Shop1\",\n          \"picture\": \"https://img.logo.png\",\n          \"price\": \"1500.00\",\n          \"benefit_category\": \"2a0947c6-e429-40fa-a1d8-d849caa21857\"\n        }\n      ]\n    }\n  }\n}"}],"_postman_id":"2920019e-00a8-4cc9-87e9-66ecb226ff92"}],"id":"f035e1e1-0315-4e88-9541-45b73361816f","_postman_id":"f035e1e1-0315-4e88-9541-45b73361816f","description":""},{"name":"subscription","item":[{"name":"re-subscribe","item":[{"name":"Resubscribe for benefits","id":"d255ff91-90a0-4e74-8c4e-982e9fdb0690","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"subscriptions\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/v1/partner/subscription/re-subscribe","urlObject":{"path":["api","v1","partner","subscription","re-subscribe"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"bf1c1d54-370e-49ca-9d59-53cc961a4cd7","name":"Untitled Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"subscriptions\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/v1/partner/subscription/re-subscribe"},"status":"Created","code":201,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"d255ff91-90a0-4e74-8c4e-982e9fdb0690"}],"id":"42f0d258-bfef-44d1-b38f-58239b87ffe7","_postman_id":"42f0d258-bfef-44d1-b38f-58239b87ffe7","description":""},{"name":"Subscribe to enjoy a benefit","id":"d25c7948-cdd6-44e2-bf85-8df6010c36bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"subscriptions\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/v1/partner/subscription","urlObject":{"path":["api","v1","partner","subscription"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"41b1a016-47d5-44ef-b834-5f4a48fed4db","name":"Untitled Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"subscriptions\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/v1/partner/subscription"},"status":"Created","code":201,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"d25c7948-cdd6-44e2-bf85-8df6010c36bd"},{"name":"bulk Cancel Subscription","id":"ce17ca68-b182-428c-9a82-eb69a83bcf43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearerToken}}"}]},"isInherited":false},"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"subscriptions\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/v1/partner/subscription","urlObject":{"path":["api","v1","partner","subscription"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"01350dc8-7f7e-4ebb-93ad-a00cd531733e","name":"Untitled Response","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: bearer","key":"Authorization","value":"Bearer <token>"}],"body":{"mode":"raw","raw":"{\n  \"subscriptions\": [\n    \"<string>\",\n    \"<string>\"\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/v1/partner/subscription"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"ce17ca68-b182-428c-9a82-eb69a83bcf43"}],"id":"ed917b17-36c4-4715-8909-88fc1f9518ec","_postman_id":"ed917b17-36c4-4715-8909-88fc1f9518ec","description":""}],"id":"832097e8-2b15-42a9-a0ea-38792bf35a7c","_postman_id":"832097e8-2b15-42a9-a0ea-38792bf35a7c","description":""}],"id":"98f5890c-a4b5-4fc6-96c6-9c22ab1a6723","description":"<p>Motherboard is a platform that helps employers provide flexible benefits for employees and empower the employees to use the benefits in the most affordable way.<br />The motherboard partner APIs enables our API partners provide the benefits on our platform to their users via API.</p>\n<p>Benefits in the motherboard platforms are managed in a similar pattern except the health insurance which need a bit more details and specifications.  </p>\n<p>To Purchase benefits on the motherboard platform go through the following steps:</p>\n<ol>\n<li><p>Register as a partner, a secret id and key will be sent to the email you use to register. Keep it and use it for your login to create a session</p>\n</li>\n<li><p>Generate a bearer token by calling the login endpoint with the secret key and id sent.</p>\n</li>\n<li><p>Create your users. Use the user/employee management endpoints to manage your users (people that will enjoy the benefit)</p>\n</li>\n<li><p>a. Health benefit subscription</p>\n</li>\n</ol>\n","_postman_id":"98f5890c-a4b5-4fc6-96c6-9c22ab1a6723"}],"variable":[{"key":"baseUrl","value":"/"}]}