{"info":{"_postman_id":"89985857-743c-4c3d-9f91-d7be53c678be","name":"CrediPay LaaS API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"1308780","collectionId":"89985857-743c-4c3d-9f91-d7be53c678be","publishedId":"2s9YsRd9Nt","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-01-18T11:44:30.000Z"},"item":[{"name":"Heart Beat","id":"3f3926c2-9e69-44fd-842c-42b3ead89409","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/api/heart-beat","urlObject":{"protocol":"http","port":"8000","path":["api","heart-beat"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"3f3926c2-9e69-44fd-842c-42b3ead89409"},{"name":"Setup Organization","id":"f526c04f-f461-4b3d-ab17-4045206c8ea8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"CrediPay\",\r\n    \"msisdn\": \"233247097996\",\r\n    \"email\": \"support@credipay.finance\",\r\n    \"network\" : \"MTN\",\r\n    \"identifier\" : \"credipay-main-5555\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://x-dev.credipay.finance/api/v1/setup-organization","urlObject":{"protocol":"https","path":["api","v1","setup-organization"],"host":["x-dev","credipay","finance"],"query":[],"variable":[]}},"response":[{"id":"6541f081-2437-4ff4-8975-9a61ffaa18c6","name":"Setup Organization","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Onovait\",\r\n    \"msisdn\": \"233543344286\",\r\n    \"email\": \"isaaacbremang@gmail.com\",\r\n    \"network\" : \"MTN\",\r\n    \"identifier\" : \"jjfjfm552266444s4s4\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://3.149.26.213/api/v1/setup-organization"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Sat, 13 Jan 2024 22:58:14 GMT"},{"key":"Date","value":"Sat, 13 Jan 2024 22:58:14 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.0RC1"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"organization\": {\n            \"path\": \"cXE-IJW7A-Maun\",\n            \"identifier\": \"jjfjfm552266444s4s4\",\n            \"network\": \"MTN\",\n            \"msisdn\": \"233543344286\",\n            \"name\": \"Onovait\",\n            \"user_id\": \"7320de50-2505-48ed-bad2-20c0047e76de\",\n            \"uuid\": \"dfb91399-2c3b-4853-a690-5df2b4e3d10b\",\n            \"updated_at\": \"2024-01-13T22:58:14.000000Z\",\n            \"created_at\": \"2024-01-13T22:58:14.000000Z\"\n        },\n        \"auth\": {\n            \"password\": \"M5o)52D}%>,7t(y\"\n        },\n        \"note\": \"This is a one time password and cannot be regenareted\"\n    },\n    \"responseMessage\": \"Organization setup completed\",\n    \"responseCode\": \"200\"\n}"}],"_postman_id":"f526c04f-f461-4b3d-ab17-4045206c8ea8"},{"name":"Auth Organization","id":"387f9b61-621d-49cb-a33d-21878ab55c0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\" : \"support@credipay.finance\",\r\n    \"password\": \"T#5!m\\\\^ms1(Lp6^\"\r\n}","options":{"raw":{"language":"json"}}},"url":"x-dev.credipay.finance/api/v1/auth-organization","urlObject":{"path":["api","v1","auth-organization"],"host":["x-dev","credipay","finance"],"query":[],"variable":[]}},"response":[{"id":"c62d2024-394b-4aec-b058-98088eb08a89","name":"Auth Organization","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\" : \"isaaacbremang@gmail.com\",\r\n    \"password\": \"M5o)52D}%>,7t(y\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://3.149.26.213/api/v1/auth-organization"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Sat, 13 Jan 2024 22:58:42 GMT"},{"key":"Date","value":"Sat, 13 Jan 2024 22:58:42 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.0RC1"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"organization\": {\n            \"uuid\": \"dfb91399-2c3b-4853-a690-5df2b4e3d10b\",\n            \"user_id\": \"7320de50-2505-48ed-bad2-20c0047e76de\",\n            \"name\": \"Onovait\",\n            \"kyc\": null,\n            \"msisdn\": \"233543344286\",\n            \"network\": \"MTN\",\n            \"identifier\": \"jjfjfm552266444s4s4\",\n            \"path\": \"cXE-IJW7A-Maun\",\n            \"other_accounts\": null,\n            \"created_at\": \"2024-01-13T22:58:14.000000Z\",\n            \"updated_at\": \"2024-01-13T22:58:14.000000Z\"\n        },\n        \"token\": \"1|nxjar3mnsW1HxyyAXUNJW7vt0iYiYABOVpkyeWlKd30716ac\"\n    },\n    \"responseMessage\": \"Organization token generated\",\n    \"responseCode\": \"200\"\n}"}],"_postman_id":"387f9b61-621d-49cb-a33d-21878ab55c0e"},{"name":"Create Application","id":"8fb59308-6c72-4192-838d-47c8be148734","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":  \"Demo Site\",\r\n    \"email\": \"isaaacbremang+chenosis-test@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://x-dev.credipay.finance/api/v1/tGQ-TEVWC-g9fl/new-application","urlObject":{"protocol":"http","path":["api","v1","tGQ-TEVWC-g9fl","new-application"],"host":["x-dev","credipay","finance"],"query":[],"variable":[]}},"response":[{"id":"32184268-bbd4-4101-8768-2ab5bd926103","name":"Un Auth","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":  \"Chenosis Test\",\r\n    \"email\": \"isaaacbremang+chenosis-test@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/cXE-IJW7A-Maun/new-application"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Sat, 13 Jan 2024 23:02:05 GMT"},{"key":"Date","value":"Sat, 13 Jan 2024 23:02:05 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.0RC1"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthenticated.\"\n}"},{"id":"c00c14d0-e28e-4389-8a29-cbb571106a31","name":"Create Application","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\":  \"Chenosis Test\",\r\n    \"email\": \"isaaacbremang+chenosis-test@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://3.149.26.213/api/v1/cXE-IJW7A-Maun/new-application"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Sat, 13 Jan 2024 23:02:44 GMT"},{"key":"Date","value":"Sat, 13 Jan 2024 23:02:44 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.0RC1"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"organization\": {\n            \"uuid\": \"dfb91399-2c3b-4853-a690-5df2b4e3d10b\",\n            \"user_id\": \"7320de50-2505-48ed-bad2-20c0047e76de\",\n            \"name\": \"Onovait\",\n            \"kyc\": null,\n            \"msisdn\": \"233543344286\",\n            \"network\": \"MTN\",\n            \"identifier\": \"jjfjfm552266444s4s4\",\n            \"path\": \"cXE-IJW7A-Maun\",\n            \"other_accounts\": null,\n            \"created_at\": \"2024-01-13T22:58:14.000000Z\",\n            \"updated_at\": \"2024-01-13T22:58:14.000000Z\"\n        },\n        \"application\": {\n            \"organization_id\": \"dfb91399-2c3b-4853-a690-5df2b4e3d10b\",\n            \"name\": \"Chenosis Test\",\n            \"user_id\": \"a4bd5f36-aee9-4210-a805-ca7e686447fb\",\n            \"path\": \"lk9-ZC4KL-yBRP\",\n            \"uuid\": \"2e7a450e-d46b-4673-a16f-341859c412e5\",\n            \"updated_at\": \"2024-01-13T23:02:44.000000Z\",\n            \"created_at\": \"2024-01-13T23:02:44.000000Z\"\n        },\n        \"auth\": {\n            \"password\": \"v>1yni).Q>qqn?z\"\n        },\n        \"note\": \"This is a one time password and cannot be regenareted\"\n    },\n    \"responseMessage\": \"Application setup completed\",\n    \"responseCode\": \"200\"\n}"}],"_postman_id":"8fb59308-6c72-4192-838d-47c8be148734"},{"name":"Generate Application Auth","id":"458b565b-4026-448e-bb14-cef23b864052","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"password\": \"RF4F2ZZQyJ;r;$I\",\r\n    \"email\" : \"isaaacbremang+chenosis-test@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://x-dev.credipay.finance/api/v1/tGQ-TEVWC-g9fl/generate_application_token","urlObject":{"protocol":"https","path":["api","v1","tGQ-TEVWC-g9fl","generate_application_token"],"host":["x-dev","credipay","finance"],"query":[],"variable":[]}},"response":[{"id":"21b5d778-385a-4b8c-875c-3093109b174b","name":"Generate Application Auth","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"password\": \"v>1yni).Q>qqn?z\",\r\n    \"email\" : \"isaaacbremang+chenosis-test@gmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://3.149.26.213/api/v1/cXE-IJW7A-Maun/generate_application_token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"localhost:8000"},{"key":"Date","value":"Sat, 13 Jan 2024 23:13:54 GMT"},{"key":"Date","value":"Sat, 13 Jan 2024 23:13:54 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.0RC1"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"organization\": null,\n        \"token\": \"2|dQKCe0iDiOnKXTq7tluwYyQRb2MP9CQBkXO1zZzC935aa712\",\n        \"application\": {\n            \"uuid\": \"2e7a450e-d46b-4673-a16f-341859c412e5\",\n            \"user_id\": \"a4bd5f36-aee9-4210-a805-ca7e686447fb\",\n            \"organization_id\": \"dfb91399-2c3b-4853-a690-5df2b4e3d10b\",\n            \"name\": \"Chenosis Test\",\n            \"path\": \"lk9-ZC4KL-yBRP\",\n            \"application_data\": null,\n            \"created_at\": \"2024-01-13T23:02:44.000000Z\",\n            \"updated_at\": \"2024-01-13T23:02:44.000000Z\"\n        }\n    },\n    \"responseMessage\": \"Application token generated\",\n    \"responseCode\": \"200\"\n}"}],"_postman_id":"458b565b-4026-448e-bb14-cef23b864052"},{"name":"Fetch Credit Score","id":"a6f50bb9-46f4-45c8-99c0-0be32ed6479a","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://x-dev.credipay.finance/api/v1/E4V-A9IQN-jGmt/application/wpQ-GXI3A-Fp8c/generate_credit_score_details/233543344286","urlObject":{"protocol":"https","path":["api","v1","E4V-A9IQN-jGmt","application","wpQ-GXI3A-Fp8c","generate_credit_score_details","233543344286"],"host":["x-dev","credipay","finance"],"query":[],"variable":[]}},"response":[],"_postman_id":"a6f50bb9-46f4-45c8-99c0-0be32ed6479a"},{"name":"Fetch KYC","id":"cffd5e4b-ada1-4396-9a68-f55c9172219b","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://x-dev.credipay.finance/api/v1/E4V-A9IQN-jGmt/application/wpQ-GXI3A-Fp8c/kyc/233543344286","urlObject":{"protocol":"https","path":["api","v1","E4V-A9IQN-jGmt","application","wpQ-GXI3A-Fp8c","kyc","233543344286"],"host":["x-dev","credipay","finance"],"query":[],"variable":[]}},"response":[],"_postman_id":"cffd5e4b-ada1-4396-9a68-f55c9172219b"},{"name":"Make Payment","id":"0be98162-9c48-492f-b070-c619fd0aff66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"X-Call-Back","value":"{{YourCallBackURL}}","type":"text"},{"key":"X-Request-Id","value":"{{requestId}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"payer\": \"0543344286\",\r\n    \"type\": \"PURCHASE\", //LOAN, PURCHASE, TRANSFERE, BILL_PAYMENT\r\n    \"paymentType\": \"CREDIT\", //DEBIT, CREDIT\r\n    \"amount\": \"1\",\r\n    \"paymentPeriodInMonths\": \"3\",\r\n    \"paymentCycle\": \"MONTHLY\", // DAILY, WEEKLY, MONTHLY, YEARLY\r\n    \"paymentStartDate\": \"01/15/2024\",\r\n    \"recipient\": \"0244419419\",\r\n    \"verificationQuestions\": {\r\n        \"firstName\": \"Isaac Bremang\",\r\n        \"lastName\": \"Darko\",\r\n        \"idNumber\":\"GHA-726568429-1\",\r\n        \"dateOfBirth\":\"05/05/2028\"\r\n    },\r\n    \"paymentPlan\": [\r\n        {\r\n            \"expectedPaymentDate\": \"02/15/2024\",\r\n            \"expectedAmountToPay\": \"1\"\r\n        },\r\n        {\r\n            \"expectedPaymentDate\": \"03/15/2024\",\r\n            \"expectedAmountToPay\": \"1\"\r\n        },\r\n        {\r\n            \"expectedPaymentDate\": \"04/15/2024\",\r\n            \"expectedAmountToPay\": \"1\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://x-dev.credipay.finance/api/v1/E4V-A9IQN-jGmt/application/wpQ-GXI3A-Fp8c/make_payment","urlObject":{"protocol":"https","path":["api","v1","E4V-A9IQN-jGmt","application","wpQ-GXI3A-Fp8c","make_payment"],"host":["x-dev","credipay","finance"],"query":[],"variable":[]}},"response":[],"_postman_id":"0be98162-9c48-492f-b070-c619fd0aff66"}],"event":[{"listen":"prerequest","script":{"id":"559058ec-faad-4539-a478-849f397bed5b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d7acee34-362f-4974-b604-5b822ff3e0fb","type":"text/javascript","exec":[""]}}],"variable":[{"key":"localhost","value":"localhost:8000/api/\n","type":"string"},{"key":"localhost_health","value":"localhost:8000/api/v1/\n","type":"string"},{"key":"applicationToken","value":"applicationToken"},{"key":"applicationPath","value":"wpQ-GXI3A-Fp8c"}]}