{"info":{"_postman_id":"01b19c04-3865-4c4b-83ba-54db834eb1cd","name":"Manage API v2","description":"<html><head></head><body><p>The Manage API allows developers to interact programmatically with its services, facilitating operations like searching, managing organizational data, and more. This document details the endpoints available, their required inputs, and the responses they generate.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"8801152","collectionId":"01b19c04-3865-4c4b-83ba-54db834eb1cd","publishedId":"2sA3e2gpdm","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-07-24T19:55:46.000Z"},"item":[{"name":"Login","id":"f9b784e1-c668-4f71-9599-207ce7eea100","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"username\": \"{{username}}\",\n    \"password\": \"{{password}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://app.momentpath.com/api/v2/login","description":"<p>Description: The login endpoint facilitates the authentication process by accepting user credentials (username and password) and returning a session token upon successful authentication. This token is essential for maintaining a secure session, allowing the user to access protected resources within the API without needing to re-enter credentials for each request.</p>\n<p>Usage:<br />This endpoint is typically the first point of interaction for users when they access an application requiring authentication. It is used to:<br />• Authenticate users by verifying their credentials against the database.<br />• Issue a session token that is required for accessing other secured endpoints within the API.</p>\n<p>Example Request -</p>\n<img src=\"https://content.pstmn.io/6baeca5d-aea2-4f45-a1e2-2fe9077c11c9/bG9naW4ucG5n\" />\n\n<p>Example Response -</p>\n<img src=\"https://content.pstmn.io/c5851649-54f3-4854-a48b-5ec0bb293401/U2NyZWVuc2hvdCAyMDI0LTA2LTI2IGF0IDMuMjQuMTPigK9QTS5wbmc=\" alt />","urlObject":{"protocol":"https","path":["api","v2","login"],"host":["app","momentpath","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f9b784e1-c668-4f71-9599-207ce7eea100"},{"name":"Refresh Token","id":"457d2f42-18ba-4f49-bcab-1a55184a3b29","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n   \"refresh_token\": \"\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/v2/login/refresh","description":"<p>Description:<br />The refresh token endpoint is designed to extend the validity of an existing session by issuing a new access token. This process uses a refresh token that is typically provided to the user alongside the access token at the initial login.</p>\n<p>Usage:<br />This endpoint is used to:<br />• Obtain a new access token when the current token is about to expire without requiring the user to manually re-authenticate.<br />• Maintain user sessions over extended periods of activity, ensuring users do not have to frequently log in to the application.</p>\n<p>Example Request -</p>\n<img src=\"https://content.pstmn.io/009b8ce0-637c-4064-bdb2-0e4ec12480fc/cmVmcmVzaC5wbmc=\" />\n\n<p>Example Response-</p>\n<img src=\"https://content.pstmn.io/74151ff0-654f-4b78-b095-2e34cb2f13dd/U2NyZWVuc2hvdCAyMDI0LTA2LTI2IGF0IDMuNTIuNDTigK9QTS5wbmc=\" />","urlObject":{"path":["api","v2","login","refresh"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"457d2f42-18ba-4f49-bcab-1a55184a3b29"},{"name":"Organizations","event":[{"listen":"prerequest","script":{"id":"45245024-e535-4a79-a5e9-39b79e2a4101","exec":[""],"type":"text/javascript","packages":{}}}],"id":"9da0430e-4d81-4bba-b785-ddc6db11bdee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{url}}/api/v2/orgs","description":"<p>Description:<br />The endpoint is used to retrieve a list of all organizations managed within the system. This endpoint is particularly useful for administrators and managers who need to oversee multiple organizations or need a comprehensive view of all the organizations under their organization.</p>\n<p>It allows users to access essential details about each organization, such as their names, IDs, and locations.</p>\n<p>Example Request -</p>\n<img src=\"https://content.pstmn.io/03c8e7bb-b70f-4827-b4f7-69f699133272/b3Jncy5wbmc=\" />\n\n<p>Example Response-</p>\n<img src=\"https://content.pstmn.io/fabbe1c8-752e-4487-aef1-b4f5a4b1fb61/U2NyZWVuc2hvdCAyMDI0LTA2LTI2IGF0IDIuMDYuMDTigK9QTS5wbmc=\" />","urlObject":{"path":["api","v2","orgs"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9da0430e-4d81-4bba-b785-ddc6db11bdee"},{"name":"Discounts","id":"664c4162-90d9-4336-9ac3-f787434097b7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{url}}/api/v2/discounts","description":"<p>Description:</p>\n<p>The Discounts endpoint provides access to a comprehensive list of discount currently active or available within an organization. It can include details about the discount rate, applicable conditions, duration, and the specific services or products they apply to.</p>\n<p>Usage:<br />This endpoint is utilized to:<br />• Provide administrators with the ability to view, verify, and manage discounts being offered to ensure they align with the organization’s financial and marketing goals.<br />• Enable customer service representatives and sales teams to inform potential customers about available discounts and promotions.</p>\n<p>Utilizing the Discounts endpoint provides users with a comprehensive overview of all available discounts within the organization.</p>\n","urlObject":{"path":["api","v2","discounts"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"2375e2d6-307c-4f6e-8ce4-81dad77fb822","name":"Discounts","originalRequest":{"method":"GET","header":[],"url":"{{url}}/api/v2/discounts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-total-count","value":"28"},{"key":"vary","value":"Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Thu, 16 Nov 2023 17:04:25 GMT"},{"key":"connection","value":"keep-alive"},{"key":"keep-alive","value":"timeout=5"},{"key":"transfer-encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    [\n        {\n            \"org\": {\n                \"id\": \"AsfEDAaFTAeCCJMLy\",\n                \"values\": {\n                    \"name\": \"142-Mariposa Southside\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/AsfEDAaFTAeCCJMLy\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"advancedTuition\",\n            \"description\": \"Advanced Tuition\",\n            \"ledger_code\": \"1234\",\n            \"override_single_discount_rule\": true,\n            \"expires_with_grace_period\": false,\n            \"amount\": null,\n            \"is_archived\": false,\n            \"is_dollar_amount\": false,\n            \"is_percentage_amount\": false\n        },\n        {\n            \"org\": {\n                \"id\": \"AsfEDAaFTAeCCJMLy\",\n                \"values\": {\n                    \"name\": \"142-Mariposa Southside\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/AsfEDAaFTAeCCJMLy\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"customerSpecific\",\n            \"description\": \"Customer-Specific\",\n            \"ledger_code\": null,\n            \"override_single_discount_rule\": false,\n            \"expires_with_grace_period\": false,\n            \"amount\": null,\n            \"is_archived\": false,\n            \"is_dollar_amount\": true,\n            \"is_percentage_amount\": false\n        },\n        {\n            \"org\": {\n                \"id\": \"AsfEDAaFTAeCCJMLy\",\n                \"values\": {\n                    \"name\": \"142-Mariposa Southside\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/AsfEDAaFTAeCCJMLy\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"DepositApplication\",\n            \"description\": \"DepositApplication\",\n            \"ledger_code\": \"2081\",\n            \"override_single_discount_rule\": false,\n            \"expires_with_grace_period\": false,\n            \"amount\": 350,\n            \"is_archived\": false,\n            \"is_dollar_amount\": true,\n            \"is_percentage_amount\": false\n        },\n        {\n            \"org\": {\n                \"id\": \"AsfEDAaFTAeCCJMLy\",\n                \"values\": {\n                    \"name\": \"142-Mariposa Southside\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/AsfEDAaFTAeCCJMLy\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"multipleFamily\",\n            \"description\": \"Multiple Family \",\n            \"ledger_code\": null,\n            \"override_single_discount_rule\": false,\n            \"expires_with_grace_period\": false,\n            \"amount\": null,\n            \"is_archived\": false,\n            \"is_dollar_amount\": true,\n            \"is_percentage_amount\": false\n        },\n        {\n            \"org\": {\n                \"id\": \"AsfEDAaFTAeCCJMLy\",\n                \"values\": {\n                    \"name\": \"142-Mariposa Southside\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/AsfEDAaFTAeCCJMLy\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"other\",\n            \"description\": \"Other\",\n            \"ledger_code\": null,\n            \"override_single_discount_rule\": false,\n            \"expires_with_grace_period\": false,\n            \"amount\": null,\n            \"is_archived\": false,\n            \"is_dollar_amount\": false,\n            \"is_percentage_amount\": false\n        },\n        {\n            \"org\": {\n                \"id\": \"AsfEDAaFTAeCCJMLy\",\n                \"values\": {\n                    \"name\": \"142-Mariposa Southside\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/AsfEDAaFTAeCCJMLy\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"parishionerRate\",\n            \"description\": \"Parishioner Rate\",\n            \"ledger_code\": \"1111\",\n            \"override_single_discount_rule\": false,\n            \"expires_with_grace_period\": false,\n            \"amount\": 50,\n            \"is_archived\": false,\n            \"is_dollar_amount\": false,\n            \"is_percentage_amount\": true\n        },\n        {\n            \"org\": {\n                \"id\": \"AsfEDAaFTAeCCJMLy\",\n                \"values\": {\n                    \"name\": \"142-Mariposa Southside\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/AsfEDAaFTAeCCJMLy\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"scholarship\",\n            \"description\": \"Scholarship\",\n            \"ledger_code\": null,\n            \"override_single_discount_rule\": false,\n            \"expires_with_grace_period\": false,\n            \"amount\": null,\n            \"is_archived\": false,\n            \"is_dollar_amount\": false,\n            \"is_percentage_amount\": false\n        },\n        {\n            \"org\": {\n                \"id\": \"AsfEDAaFTAeCCJMLy\",\n                \"values\": {\n                    \"name\": \"142-Mariposa Southside\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/AsfEDAaFTAeCCJMLy\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"siblingDiscount\",\n            \"description\": \"Sibling Discount\",\n            \"ledger_code\": null,\n            \"override_single_discount_rule\": false,\n            \"expires_with_grace_period\": false,\n            \"amount\": 15,\n            \"is_archived\": false,\n            \"is_dollar_amount\": true,\n            \"is_percentage_amount\": false\n        },\n        {\n            \"org\": {\n                \"id\": \"AsfEDAaFTAeCCJMLy\",\n                \"values\": {\n                    \"name\": \"142-Mariposa Southside\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/AsfEDAaFTAeCCJMLy\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"staffDiscount\",\n            \"description\": \"Staff Discount\",\n            \"ledger_code\": null,\n            \"override_single_discount_rule\": false,\n            \"expires_with_grace_period\": false,\n            \"amount\": 75,\n            \"is_archived\": false,\n            \"is_dollar_amount\": true,\n            \"is_percentage_amount\": false\n        },\n        {\n            \"org\": {\n                \"id\": \"AsfEDAaFTAeCCJMLy\",\n                \"values\": {\n                    \"name\": \"142-Mariposa Southside\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/AsfEDAaFTAeCCJMLy\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"zoneDiscount\",\n            \"description\": \"ZoneDiscount\",\n            \"ledger_code\": null,\n            \"override_single_discount_rule\": false,\n            \"expires_with_grace_period\": false,\n            \"amount\": 1,\n            \"is_archived\": false,\n            \"is_dollar_amount\": true,\n            \"is_percentage_amount\": false\n        },\n        {\n            \"org\": {\n                \"id\": \"nTvbx24M2dbM9w6tu\",\n                \"values\": {\n                    \"name\": \"321-Mariposa Local\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/nTvbx24M2dbM9w6tu\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"advancedTuition\",\n            \"description\": \"Advanced Tuition\",\n            \"ledger_code\": \"1234\",\n            \"override_single_discount_rule\": true,\n            \"expires_with_grace_period\": false,\n            \"amount\": null,\n            \"is_archived\": true,\n            \"is_dollar_amount\": false,\n            \"is_percentage_amount\": false\n        },\n        {\n            \"org\": {\n                \"id\": \"nTvbx24M2dbM9w6tu\",\n                \"values\": {\n                    \"name\": \"321-Mariposa Local\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/nTvbx24M2dbM9w6tu\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"DepositApplication\",\n            \"description\": \"DepositApplication\",\n            \"ledger_code\": \"2081\",\n            \"override_single_discount_rule\": false,\n            \"expires_with_grace_period\": false,\n            \"amount\": 350,\n            \"is_archived\": false,\n            \"is_dollar_amount\": true,\n            \"is_percentage_amount\": false\n        },\n        {\n            \"org\": {\n                \"id\": \"nTvbx24M2dbM9w6tu\",\n                \"values\": {\n                    \"name\": \"321-Mariposa Local\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/nTvbx24M2dbM9w6tu\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"districtDiscount\",\n            \"description\": \"District Employee Discount\",\n            \"ledger_code\": \"5555\",\n            \"override_single_discount_rule\": false,\n            \"expires_with_grace_period\": false,\n            \"amount\": 50,\n            \"is_archived\": false,\n            \"is_dollar_amount\": true,\n            \"is_percentage_amount\": false\n        },\n        {\n            \"org\": {\n                \"id\": \"nTvbx24M2dbM9w6tu\",\n                \"values\": {\n                    \"name\": \"321-Mariposa Local\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/nTvbx24M2dbM9w6tu\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"multipleFamily\",\n            \"description\": \"Multiple Family \",\n            \"ledger_code\": null,\n            \"override_single_discount_rule\": false,\n            \"expires_with_grace_period\": false,\n            \"amount\": null,\n            \"is_archived\": false,\n            \"is_dollar_amount\": true,\n            \"is_percentage_amount\": false\n        },\n        {\n            \"org\": {\n                \"id\": \"nTvbx24M2dbM9w6tu\",\n                \"values\": {\n                    \"name\": \"321-Mariposa Local\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/nTvbx24M2dbM9w6tu\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"other\",\n            \"description\": \"Other\",\n            \"ledger_code\": null,\n            \"override_single_discount_rule\": false,\n            \"expires_with_grace_period\": false,\n            \"amount\": null,\n            \"is_archived\": false,\n            \"is_dollar_amount\": false,\n            \"is_percentage_amount\": false\n        },\n        {\n            \"org\": {\n                \"id\": \"nTvbx24M2dbM9w6tu\",\n                \"values\": {\n                    \"name\": \"321-Mariposa Local\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/nTvbx24M2dbM9w6tu\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"parishionerRate\",\n            \"description\": \"Parishioner Rate\",\n            \"ledger_code\": \"1111\",\n            \"override_single_discount_rule\": false,\n            \"expires_with_grace_period\": false,\n            \"amount\": 50,\n            \"is_archived\": false,\n            \"is_dollar_amount\": false,\n            \"is_percentage_amount\": true\n        },\n        {\n            \"org\": {\n                \"id\": \"nTvbx24M2dbM9w6tu\",\n                \"values\": {\n                    \"name\": \"321-Mariposa Local\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/nTvbx24M2dbM9w6tu\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"scholarship\",\n            \"description\": \"Scholarship\",\n            \"ledger_code\": null,\n            \"override_single_discount_rule\": false,\n            \"expires_with_grace_period\": false,\n            \"amount\": null,\n            \"is_archived\": false,\n            \"is_dollar_amount\": false,\n            \"is_percentage_amount\": false\n        },\n        {\n            \"org\": {\n                \"id\": \"nTvbx24M2dbM9w6tu\",\n                \"values\": {\n                    \"name\": \"321-Mariposa Local\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/nTvbx24M2dbM9w6tu\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"staffDiscount\",\n            \"description\": \"Staff Discount\",\n            \"ledger_code\": null,\n            \"override_single_discount_rule\": false,\n            \"expires_with_grace_period\": false,\n            \"amount\": 75,\n            \"is_archived\": false,\n            \"is_dollar_amount\": true,\n            \"is_percentage_amount\": false\n        },\n        {\n            \"org\": {\n                \"id\": \"nTvbx24M2dbM9w6tu\",\n                \"values\": {\n                    \"name\": \"321-Mariposa Local\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/nTvbx24M2dbM9w6tu\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"zoneDiscount\",\n            \"description\": \"ZoneDiscount\",\n            \"ledger_code\": null,\n            \"override_single_discount_rule\": false,\n            \"expires_with_grace_period\": false,\n            \"amount\": 1,\n            \"is_archived\": false,\n            \"is_dollar_amount\": true,\n            \"is_percentage_amount\": false\n        },\n        {\n            \"org\": {\n                \"id\": \"GtAoTHqGeLk9BR8iw\",\n                \"values\": {\n                    \"name\": \"Mariposa Corporate\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/GtAoTHqGeLk9BR8iw\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"advancedTuition\",\n            \"description\": \"Advanced Tuition\",\n            \"ledger_code\": \"1234\",\n            \"override_single_discount_rule\": true,\n            \"expires_with_grace_period\": false,\n            \"amount\": null,\n            \"is_archived\": false,\n            \"is_dollar_amount\": false,\n            \"is_percentage_amount\": false\n        },\n        {\n            \"org\": {\n                \"id\": \"GtAoTHqGeLk9BR8iw\",\n                \"values\": {\n                    \"name\": \"Mariposa Corporate\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/GtAoTHqGeLk9BR8iw\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"blah\",\n            \"description\": \"blah blah\",\n            \"ledger_code\": \"875\",\n            \"override_single_discount_rule\": true,\n            \"expires_with_grace_period\": true,\n            \"amount\": 100,\n            \"is_archived\": false,\n            \"is_dollar_amount\": false,\n            \"is_percentage_amount\": true\n        },\n        {\n            \"org\": {\n                \"id\": \"GtAoTHqGeLk9BR8iw\",\n                \"values\": {\n                    \"name\": \"Mariposa Corporate\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/GtAoTHqGeLk9BR8iw\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"DepositApplication\",\n            \"description\": \"DepositApplication\",\n            \"ledger_code\": \"2081\",\n            \"override_single_discount_rule\": false,\n            \"expires_with_grace_period\": false,\n            \"amount\": 350,\n            \"is_archived\": false,\n            \"is_dollar_amount\": true,\n            \"is_percentage_amount\": false\n        },\n        {\n            \"org\": {\n                \"id\": \"GtAoTHqGeLk9BR8iw\",\n                \"values\": {\n                    \"name\": \"Mariposa Corporate\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/GtAoTHqGeLk9BR8iw\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"multipleFamily\",\n            \"description\": \"Multiple Family \",\n            \"ledger_code\": null,\n            \"override_single_discount_rule\": false,\n            \"expires_with_grace_period\": false,\n            \"amount\": null,\n            \"is_archived\": false,\n            \"is_dollar_amount\": true,\n            \"is_percentage_amount\": false\n        },\n        {\n            \"org\": {\n                \"id\": \"GtAoTHqGeLk9BR8iw\",\n                \"values\": {\n                    \"name\": \"Mariposa Corporate\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/GtAoTHqGeLk9BR8iw\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"other\",\n            \"description\": \"Other\",\n            \"ledger_code\": null,\n            \"override_single_discount_rule\": false,\n            \"expires_with_grace_period\": false,\n            \"amount\": null,\n            \"is_archived\": false,\n            \"is_dollar_amount\": false,\n            \"is_percentage_amount\": false\n        },\n        {\n            \"org\": {\n                \"id\": \"GtAoTHqGeLk9BR8iw\",\n                \"values\": {\n                    \"name\": \"Mariposa Corporate\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/GtAoTHqGeLk9BR8iw\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"parishionerRate\",\n            \"description\": \"Parishioner Rate\",\n            \"ledger_code\": \"1111\",\n            \"override_single_discount_rule\": false,\n            \"expires_with_grace_period\": false,\n            \"amount\": 50,\n            \"is_archived\": false,\n            \"is_dollar_amount\": false,\n            \"is_percentage_amount\": true\n        },\n        {\n            \"org\": {\n                \"id\": \"GtAoTHqGeLk9BR8iw\",\n                \"values\": {\n                    \"name\": \"Mariposa Corporate\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/GtAoTHqGeLk9BR8iw\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"scholarship\",\n            \"description\": \"Scholarship\",\n            \"ledger_code\": null,\n            \"override_single_discount_rule\": false,\n            \"expires_with_grace_period\": false,\n            \"amount\": null,\n            \"is_archived\": false,\n            \"is_dollar_amount\": false,\n            \"is_percentage_amount\": false\n        },\n        {\n            \"org\": {\n                \"id\": \"GtAoTHqGeLk9BR8iw\",\n                \"values\": {\n                    \"name\": \"Mariposa Corporate\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/GtAoTHqGeLk9BR8iw\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"staffDiscount\",\n            \"description\": \"Staff Discount\",\n            \"ledger_code\": null,\n            \"override_single_discount_rule\": false,\n            \"expires_with_grace_period\": false,\n            \"amount\": 75,\n            \"is_archived\": false,\n            \"is_dollar_amount\": true,\n            \"is_percentage_amount\": false\n        },\n        {\n            \"org\": {\n                \"id\": \"GtAoTHqGeLk9BR8iw\",\n                \"values\": {\n                    \"name\": \"Mariposa Corporate\"\n                },\n                \"links\": [\n                    {\n                        \"href\": \"/api/v2/orgs/GtAoTHqGeLk9BR8iw\",\n                        \"rel\": \"org\",\n                        \"type\": \"GET\"\n                    }\n                ]\n            },\n            \"code\": \"zoneDiscount\",\n            \"description\": \"ZoneDiscount\",\n            \"ledger_code\": null,\n            \"override_single_discount_rule\": false,\n            \"expires_with_grace_period\": false,\n            \"amount\": 1,\n            \"is_archived\": false,\n            \"is_dollar_amount\": true,\n            \"is_percentage_amount\": false\n        }\n    ]\n]"}],"_postman_id":"664c4162-90d9-4336-9ac3-f787434097b7"},{"name":"Invoices","id":"c6573f72-f9f4-409d-a7f5-2c4bdc36ee1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{url}}/api/v2/invoices","description":"<p>Description:</p>\n<p>The Invoices endpoint allows users to access detailed information about invoices generated for services rendered or goods sold by the organization. It supports extensive filtering options, such as date ranges, invoice status, or specific client identifiers, to help users efficiently manage and track financial transactions.</p>\n<p>Usage:</p>\n<p>This endpoint is primarily used to:<br />• Retrieve detailed lists of invoices for accounting and auditing purposes, helping ensure financial compliance and transparency.<br />• Support financial analysis and forecasting by providing access to comprehensive historical data on receivables.</p>\n<p>Properties:<br />- <code>id</code> (string): Unique identifier for the invoice.<br />- <code>orgId</code> (string): Identifier for the organization to which the invoice belongs.<br />- <code>amount</code> (number): Total amount billed in the invoice.<br />- <code>dueDate</code> (date): The date by which the invoice should be paid.<br />- <code>issuedDate</code> (date): The date on which the invoice was issued.<br />- <code>status</code> (string): Current status of the invoice (e.g., \"paid\", \"unpaid\", \"overdue\").</p>\n<p>Example Request -</p>\n<img src=\"https://content.pstmn.io/2e0453ab-3021-4105-ae82-1bb0c53e6cb9/aW52b2ljZS5wbmc=\" />\n\n<p>Example Response -</p>\n<img src=\"https://content.pstmn.io/8a2ff1cf-9b20-4513-8842-fac4ba375f8b/U2NyZWVuc2hvdCAyMDI0LTA2LTI2IGF0IDIuMTguMzXigK9QTS5wbmc=\" alt />","urlObject":{"path":["api","v2","invoices"],"host":["{{url}}"],"query":[{"disabled":true,"key":"org_id","value":""},{"disabled":true,"key":"invoice_due_start","value":"2023-11-10"},{"disabled":true,"key":"invoice_due_end","value":"2023-11-15"},{"disabled":true,"key":"invoice_paid_start","value":""},{"disabled":true,"key":"invoice_paid_end","value":""},{"disabled":true,"key":"invoice_voided_start","value":""},{"disabled":true,"key":"invoice_voided_end","value":""},{"disabled":true,"key":"period_date_start","value":""},{"disabled":true,"key":"period_date_end","value":""}],"variable":[]}},"response":[],"_postman_id":"c6573f72-f9f4-409d-a7f5-2c4bdc36ee1f"},{"name":"Moments","event":[{"listen":"prerequest","script":{"id":"b79efe0a-c4ad-45e4-bbd2-3892dbd5546c","exec":[""],"type":"text/javascript","packages":{}}}],"id":"88114d88-e35c-4ece-8195-af93dcbd646e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{url}}/api/v2/moments","description":"<p>Description:</p>\n<p>The Moments endpoint allows users to access records of specific events or activities logged in the system. This endpoint typically supports various query parameters that can refine the results based on, type, involved individuals, or other relevant criteria.</p>\n<p>Usage:<br />This endpoint is utilized to:<br />• Document and retrieve key activities or interactions, providing a historical record of important events.<br />• Enhance communication and coordination within the organization by keeping relevant personnel informed about significant occurrences.<br />• Support compliance and reporting needs by providing detailed logs of activities that can be reviewed and audited.</p>\n<ul>\n<li><p>Retrive moments from mongo collection Moments.</p>\n</li>\n<li><p>Default it will provide max 100 items with provided parameters.</p>\n</li>\n</ul>\n<p><strong>Parameters</strong> -</p>\n<p>org_id<br />moment_date_start<br />moment_date_end<br />moment_type</p>\n<p><strong>Requirements</strong> -</p>\n<p>You need access to an org to make this API call.</p>\n<p><strong>Example Request</strong> -</p>\n<img src=\"https://content.pstmn.io/f55619e6-1d42-4cd9-8615-e6c55352326d/U2NyZWVuc2hvdCAyMDI0LTA2LTI2IGF0IDEuMzMuMDXigK9QTS5wbmc=\" />\n\n<p><strong>Example Response</strong> -</p>\n<img src=\"https://content.pstmn.io/33789c93-9fed-4416-8ce9-e0caae6c895e/TW9tZW50c19yZXNwb25zZS5wbmc=\" />","urlObject":{"path":["api","v2","moments"],"host":["{{url}}"],"query":[{"disabled":true,"description":{"content":"<p>User orgId | default - orgId from user profile</p>\n","type":"text/plain"},"key":"org_id","value":"NpC5WCFSP6tbxpo4t"},{"disabled":true,"description":{"content":"<p>moment date in MM/DD/YYYY format</p>\n","type":"text/plain"},"key":"moment_date_start","value":"3/31/2022"},{"disabled":true,"description":{"content":"<p>moment date in MM/DD/YYYY format</p>\n","type":"text/plain"},"key":"moment_date_end","value":"3/31/2022"},{"disabled":true,"key":"moment_type","value":"checkin"},{"disabled":true,"description":{"content":"<p>min 0 to max 100 | default - 100</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"disabled":true,"description":{"content":"<p>min 0 | default - 0</p>\n","type":"text/plain"},"key":"offset","value":"0"},{"disabled":true,"description":{"content":"<p>if provided limit and offset will not be considered</p>\n","type":"text/plain"},"key":"no_pagination","value":"true"}],"variable":[]}},"response":[],"_postman_id":"88114d88-e35c-4ece-8195-af93dcbd646e"},{"name":"People","id":"6bde3b6f-ef26-41a8-83bd-40fa4631ecc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{url}}/api/v2/people/XQecPMyaMEwQmwRdc","description":"<p>The People endpoint facilitates the retrieval of comprehensive details about people registered within the system. This can include information such as personal details, contact information, roles, and affiliations with specific departments or functions within the organization. The endpoint supports various filtering and sorting options to efficiently manage large datasets and retrieve specific subsets of data based on given criteria.</p>\n<p>Usage:</p>\n<p>This endpoint is used to:<br />• Access and display detailed lists of individuals for administrative purposes.<br />• Support search and reporting functionalities by allowing queries based on attributes.<br />• Enhance operational processes by providing easy access to contact details and critical personal information necessary for communication and coordination.</p>\n<ul>\n<li>Retrive all people from mongo collection, default it will provide max 100 items.</li>\n</ul>\n<p><strong>Example Request</strong> -</p>\n<img src=\"https://content.pstmn.io/f5583f65-2fae-4cb9-9230-92aa1c6480f0/U2NyZWVuc2hvdCAyMDI0LTA2LTI2IGF0IDEuMzcuMjTigK9QTS5wbmc=\" />\n\n<p><strong>Example Response</strong> -</p>\n<img src=\"https://content.pstmn.io/83434e26-4c58-4f09-aaa2-abf7c0a5e24b/UGVvcGxlX1Jlc3BvbnNlLnBuZw==\" />","urlObject":{"path":["api","v2","people","XQecPMyaMEwQmwRdc"],"host":["{{url}}"],"query":[{"disabled":true,"description":{"content":"<p>min 0 to max 100 | default - 100</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"disabled":true,"description":{"content":"<p>min 0 | default - 0</p>\n","type":"text/plain"},"key":"offset","value":"0"},{"disabled":true,"description":{"content":"<p>if provided limit and offset will not be considered</p>\n","type":"text/plain"},"key":"no_pagination","value":"true"}],"variable":[]}},"response":[],"_postman_id":"6bde3b6f-ef26-41a8-83bd-40fa4631ecc2"},{"name":"Payouts","id":"cac542ec-e7dc-4f96-aed7-6e21148e7f8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{url}}/api/v2/payouts","description":"<p>Description: Accesses payout records, typically used in contexts where financial transactions or compensations need to be tracked and managed effectively.</p>\n<p>This response provides details about each payout processed within the specified date range. Each payout record includes an identifier, the payout amount, the recipient's name, the date of the transaction, the current status of the payout, and the method used for the payment. This information is crucial for managing the financial operations of the organization and ensuring that all transactions are properly accounted for and audited.</p>\n<ul>\n<li><p>Retrive payouts from mongo collection AdyenPayouts.</p>\n</li>\n<li><p>Default it will provide max 100 items with provided parameters.</p>\n</li>\n</ul>\n<p><strong>Parameters</strong> -</p>\n<p>org_id<br />date_start<br />date_end</p>\n<p><strong>Requirements</strong> -</p>\n<p>You need access to an org to make this API call.</p>\n<p><strong>Example Request</strong> -</p>\n<img src=\"https://content.pstmn.io/6858a891-94ce-49a1-ba48-aa100711ea24/cGF5b3V0X3JlcXVlc3QucG5n\" />\n\n<p><strong>Example Response</strong> -</p>\n<p><strong>Response Header:</strong></p>\n<p>x-total-count: 2</p>\n<p><strong>Response Body:</strong></p>\n<img src=\"https://content.pstmn.io/d6832061-6395-42bc-a2de-06bf2dc21a26/U2NyZWVuc2hvdCAyMDI0LTA2LTI2IGF0IDMuMzAuMTTigK9QTS5wbmc=\" alt />","urlObject":{"path":["api","v2","payouts"],"host":["{{url}}"],"query":[{"disabled":true,"description":{"content":"<p>User orgId | default - orgId from user profile</p>\n","type":"text/plain"},"key":"org_id","value":"NpC5WCFSP6tbxpo4t"},{"disabled":true,"description":{"content":"<p>payout date in MM/DD/YYYY format</p>\n","type":"text/plain"},"key":"date_start","value":"3/05/2023"},{"disabled":true,"description":{"content":"<p>payout date in MM/DD/YYYY format</p>\n","type":"text/plain"},"key":"date_end","value":"3/31/2023"},{"disabled":true,"description":{"content":"<p>min 0 to max 100 | default - 100</p>\n","type":"text/plain"},"key":"limit","value":"50"},{"disabled":true,"description":{"content":"<p>min 0 | default - 0</p>\n","type":"text/plain"},"key":"offset","value":"0"},{"disabled":true,"description":{"content":"<p>if provided limit and offset will not be considered</p>\n","type":"text/plain"},"key":"no_pagination","value":"true"}],"variable":[]}},"response":[],"_postman_id":"cac542ec-e7dc-4f96-aed7-6e21148e7f8c"},{"name":"Schedules","event":[{"listen":"prerequest","script":{"id":"45245024-e535-4a79-a5e9-39b79e2a4101","exec":[""],"type":"text/javascript","packages":{}}}],"id":"47458458-c67e-4c93-b05c-5b26595e6ceb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{url}}/api/v2/person/gqiQJY4cyfv6fszNH/schedules","description":"<p>Description:<br />The \"Schedule\" endpoint is designed to manage and retrieve detailed information about a child's schedule.</p>\n<p>Features:<br />Flexible Querying: Supports various query parameters to fetch schedules by date, type, entity involved, and other relevant filters.<br />Usage:<br />Retrieve schedules for available resources over a specified period.</p>\n<p>Example Request-</p>\n<img src=\"https://content.pstmn.io/fa09dd34-4b04-45ae-8062-debe7e9bdead/U2NyZWVuc2hvdCAyMDI0LTA2LTA1IGF0IDMuNTguMjHigK9QTS5wbmc=\" />\n\n<p>Example Response -</p>\n<img src=\"https://content.pstmn.io/a1c9c34c-ba48-46db-ac57-794a5c0ab110/U2NyZWVuc2hvdCAyMDI0LTA2LTI2IGF0IDIuMzAuMzfigK9QTS5wbmc=\" alt />","urlObject":{"path":["api","v2","person","gqiQJY4cyfv6fszNH","schedules"],"host":["{{url}}"],"query":[{"disabled":true,"key":"org_id","value":"AsfEDAaFTAeCCJMLy"}],"variable":[]}},"response":[],"_postman_id":"47458458-c67e-4c93-b05c-5b26595e6ceb"},{"name":"Transactions","id":"26caa4dc-49e7-41ee-b503-cd8be9d6e28f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"localhost:3000/api/v2/transactions?org_id=NpC5WCFSP6tbxpo4t&start_datetime=08/01/2023&end_datetime=08/02/2023","description":"<p>The \"Transactions\" endpoint is designed to retrieve financial transaction records within an organization. It offers comprehensive details about each transaction, including amounts, dates, involved parties, and descriptions. This endpoint is vital for financial management and auditing purposes, allowing users to track and analyze all monetary movements in the system.</p>\n<p>Features:<br />Comprehensive Data Retrieval: Provides detailed information about each transaction, including the transaction ID, amount, date,and associated account details.</p>\n<p>Usage:<br />Obtain a historical record of all financial transactions for accounting and auditing.<br />Monitor incoming and outgoing payments to manage cash flow effectively.</p>\n<p>Example Request -</p>\n<img src=\"https://content.pstmn.io/ebd018bb-7be2-4243-8091-2f41c6ad8c2a/U2NyZWVuc2hvdCAyMDI0LTA2LTA1IGF0IDQuMTEuMzLigK9QTS5wbmc=\" />\n\n<p>Example Response -</p>\n<img src=\"https://content.pstmn.io/af384b98-fdd4-49d9-8d42-2e4b71239e7d/U2NyZWVuc2hvdCAyMDI0LTA2LTI2IGF0IDIuNDQuMDLigK9QTS5wbmc=\" alt />","urlObject":{"port":"3000","path":["api","v2","transactions"],"host":["localhost"],"query":[{"key":"org_id","value":"NpC5WCFSP6tbxpo4t"},{"key":"start_datetime","value":"08/01/2023"},{"key":"end_datetime","value":"08/02/2023"}],"variable":[]}},"response":[],"_postman_id":"26caa4dc-49e7-41ee-b503-cd8be9d6e28f"},{"name":"User","id":"f333ce6a-2785-40f6-8c36-ea9f208df980","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{url}}/api/v2/users/ZdkhmaEScuuboPFbH","description":"<p>Properties:</p>\n<ul>\n<li><p><code>id</code> (string): A unique identifier for the user.</p>\n</li>\n<li><p><code>username</code> (string): The user's login name.</p>\n</li>\n<li><p><code>email</code> (string): The user's email address.</p>\n</li>\n<li><p><code>firstName</code> (string): User's first name.</p>\n</li>\n<li><p><code>lastName</code> (string): User's last name.</p>\n</li>\n<li><p><code>role</code> (string): The role or permission level assigned to the user.</p>\n</li>\n<li><p><code>createdAt</code> (date): Timestamp when the user was created.</p>\n</li>\n<li><p><code>updatedAt</code> (date): Timestamp when the user was last updated.</p>\n</li>\n</ul>\n<p>Example Request -</p>\n<img src=\"https://content.pstmn.io/645712ba-d188-4984-8be4-05fa4bd0b442/U2NyZWVuc2hvdCAyMDI0LTA2LTI2IGF0IDIuNTAuMzPigK9QTS5wbmc=\" alt />\n\n<p>Example Response -</p>\n<img src=\"https://content.pstmn.io/1f58ff16-e11a-4176-8d22-cf7a2a9b2719/U2NyZWVuc2hvdCAyMDI0LTA2LTI2IGF0IDIuNDcuMzXigK9QTS5wbmc=\" />","urlObject":{"path":["api","v2","users","ZdkhmaEScuuboPFbH"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f333ce6a-2785-40f6-8c36-ea9f208df980"},{"name":"Users","id":"6bd59aea-1351-4652-8f5a-1cffd33e18a1","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"host":true,"user-agent":true,"accept":true,"accept-encoding":true,"connection":true}},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{url}}/api/v2/users","description":"<p>Description:<br />The endpoint is designed to retrieve a list of user accounts within the system. This endpoint is primarily used for administrative purposes, allowing authorized personnel to access and manage user profiles, including their roles, permissions, and status within the organization.</p>\n<p>This endpoint can be crucial for operations such as user audits, access control adjustments, and general user management tasks.</p>\n<p>The GET method on this endpoint usually supports various query parameters to filter, sort, and paginate through the list of users, making it adaptable for different administrative needs. For example, it may allow filtering users by status (active, inactive), roles (admin, user), or specific attributes like department or last login date.</p>\n<p>This request would typically return a list of active users, limited to 10 users per page, starting from the first record.</p>\n<p>This endpoint is essential for maintaining an effective user management system, ensuring that only authorized personnel can view and manage sensitive user information.</p>\n","urlObject":{"path":["api","v2","users"],"host":["{{url}}"],"query":[{"disabled":true,"key":"org_id","value":""}],"variable":[]}},"response":[{"id":"618bb156-3800-4a88-8888-75e6fff884f7","name":"Users","originalRequest":{"method":"GET","header":[],"url":"{{url}}/api/v2/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"content-type","value":"application/json"},{"key":"x-total-count","value":"31"},{"key":"vary","value":"Accept-Encoding"},{"key":"content-encoding","value":"gzip"},{"key":"date","value":"Mon, 06 Nov 2023 22:27:26 GMT"},{"key":"connection","value":"keep-alive"},{"key":"keep-alive","value":"timeout=5"},{"key":"transfer-encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"h35ejdSwb5Z7Nzack\",\n        \"email\": \"user1@testemail.com\",\n        \"person\": {\n            \"id\": \"RYetWpMJhsC3BcPjE\",\n            \"values\": {\n                \"name\": \"FirstName LastName\"\n            },\n            \"links\": [\n                {\n                    \"href\": \"/api/v2/people/RYetWpMJhsC3BcPjE\",\n                    \"rel\": \"person\",\n                    \"type\": \"GET\"\n                }\n            ]\n        },\n        \"org\": {\n            \"id\": \"nTvbx24M2dbM9w6tu\",\n            \"values\": {\n                \"name\": \"Organization Name\"\n            },\n            \"links\": [\n                {\n                    \"href\": \"/api/v2/orgs/nTvbx24M2dbM9w6tu\",\n                    \"rel\": \"org\",\n                    \"type\": \"GET\"\n                }\n            ]\n        },\n        \"created_at\": \"2022-09-23T15:29:34.378Z\",\n        \"is_pending\": false,\n        \"memberships\": [\n            {\n                \"person\": {\n                    \"id\": \"RYetWpMJhsC3BcPjE\",\n                    \"values\": {\n                        \"name\": \"FirstName LastName\"\n                    },\n                    \"links\": [\n                        {\n                            \"href\": \"/api/v2/people/RYetWpMJhsC3BcPjE\",\n                            \"rel\": \"person\",\n                            \"type\": \"GET\"\n                        }\n                    ]\n                },\n                \"org\": {\n                    \"id\": \"nTvbx24M2dbM9w6tu\",\n                    \"values\": {\n                        \"name\": \"Organization Name\"\n                    },\n                    \"links\": [\n                        {\n                            \"href\": \"/api/v2/orgs/nTvbx24M2dbM9w6tu\",\n                            \"rel\": \"org\",\n                            \"type\": \"GET\"\n                        }\n                    ]\n                }\n            },\n            {\n                \"person\": {\n                    \"id\": \"aQBJrWaqYqxMBWrrB\",\n                    \"values\": {\n                        \"name\": \"Member Name\"\n                    },\n                    \"links\": [\n                        {\n                            \"href\": \"/api/v2/people/aQBJrWaqYqxMBWrrB\",\n                            \"rel\": \"person\",\n                            \"type\": \"GET\"\n                        }\n                    ]\n                },\n                \"org\": {\n                    \"id\": \"AsfEDAaFTAeCCJMLy\",\n                    \"values\": {\n                        \"name\": \"Organization 2 Name\"\n                    },\n                    \"links\": [\n                        {\n                            \"href\": \"/api/v2/orgs/AsfEDAaFTAeCCJMLy\",\n                            \"rel\": \"org\",\n                            \"type\": \"GET\"\n                        }\n                    ]\n                }\n            }\n        ]\n    }\n]"}],"_postman_id":"6bd59aea-1351-4652-8f5a-1cffd33e18a1"},{"name":"Billing Plan for org","id":"da1930e1-c03f-4d88-961a-bb3bd32111b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{URL}}//api/v2/orgs/:org_id/billing/plans/:id","description":"<ul>\n<li><p>Retrive moments from mongo collection Moments.</p>\n</li>\n<li><p>Default it will provide max 100 items with provided parameters.</p>\n</li>\n</ul>\n<p>The endpoint is designed to retrieve the billing plan details associated with a specific organization, identified by the orgId. This endpoint is crucial for administrators and financial officers within the organization who need to access detailed information regarding their billing status, plan details, and payment history.<br />This endpoint provides insights into the type of billing plan the organization is enrolled in, the features included in the plan, the cost, payment methods, and the history of payments made under this plan. It's an essential tool for managing financial aspects of the organization, ensuring transparency, and aiding in financial planning and budgeting.</p>\n<p>This request would typically return detailed billing information for the organization with the entered ID, helping administrators understand and manage their financial obligations effectively.</p>\n<p>Example Request -</p>\n<img src=\"https://content.pstmn.io/4da66391-7e3b-4ef9-adb2-a2af96a55f06/U2NyZWVuc2hvdCAyMDI0LTA2LTI2IGF0IDMuMDQuMjTigK9QTS5wbmc=\" alt />\n\n<p>Example Response -</p>\n<img src=\"https://content.pstmn.io/2c35ec87-5fda-485a-9d24-62cb4472bf40/U2NyZWVuc2hvdCAyMDI0LTA2LTI2IGF0IDMuMDEuNTnigK9QTS5wbmc=\" alt />","urlObject":{"path":["","api","v2","orgs",":org_id","billing","plans",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"","key":"org_id"},{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"da1930e1-c03f-4d88-961a-bb3bd32111b8"},{"name":"Classrooms","id":"8a346dd6-556d-46e0-a926-927bd036bec9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"/api/v2/classrooms","description":"<p>Description:<br />The Classrooms endpoint provides comprehensive data about classrooms, which can include details like classroom names, capacities, associated teachers, and the age groups they serve. This endpoint is crucial for administrators and educators who need to manage or reference classroom-specific information efficiently.</p>\n<p>Usage:<br />This endpoint is utilized to:<br />• Retrieve a list of all classrooms within a specified organization, or filter to specific classrooms based on given criteria such as location, capacity, or active status.<br />• Support administrative tasks such as scheduling, resource allocation, and classroom assignments.<br />• Enhance educational planning by providing quick access to classroom details necessary for decision-making processes.</p>\n<p>Parameters:<br />• org_id: A mandatory parameter that specifies the organization ID to retrieve classrooms for. This helps in fetching relevant classroom information tailored to the user’s organizational context.</p>\n<p>Example Request -</p>\n<img src=\"https://content.pstmn.io/d934c850-a709-4dd0-aef0-28fa1fb7265d/Y2xhc3Nyb29tcy5wbmc=\" />\n\n<p>Example Response -</p>\n<img src=\"https://content.pstmn.io/1f9a4cd5-8014-4bdb-b790-4ac7b30059f3/U2NyZWVuc2hvdCAyMDI0LTA2LTI2IGF0IDMuMjIuMTPigK9QTS5wbmc=\" alt />","urlObject":{"path":["api","v2","classrooms"],"query":[],"variable":[]}},"response":[],"_postman_id":"8a346dd6-556d-46e0-a926-927bd036bec9"},{"name":"Child Billing Plan","id":"f2f15a94-b32c-4760-a91a-969436efba65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v2/child-billing-plans/:id","description":"<p>The \"Child Billing Plan\" endpoint retrieves detailed information regarding the billing arrangements for a specific child, identified by child Id. This includes the type of plan the child is enrolled in, the cost, any applicable discounts, features of the plan, payment history, and upcoming payment details.</p>\n<p>Features:<br />Detailed Billing Information: Provides comprehensive details on the child’s current billing plan.<br />Usage:<br />Assist administrators in providing detailed billing information to clients, ensuring transparency and accountability.<br />Support financial operations within institutions by streamlining access to billing data.</p>\n<ul>\n<li><p>Retrive child billing plan.</p>\n</li>\n<li><p>Default it will provide max 100 items with provided parameters.</p>\n</li>\n</ul>\n<p><strong>Parameters</strong> -</p>\n<p>id (personId)</p>\n<p><strong>Example Request</strong> -</p>\n<img src=\"https://content.pstmn.io/5844d63a-ddb5-4c39-a40d-2d6c97a63020/U2NyZWVuc2hvdCAyMDI0LTA2LTI2IGF0IDMuMTcuMDbigK9QTS5wbmc=\" alt />\n\n<p><strong>Example Response</strong> -</p>\n<p><strong>Response Header:</strong></p>\n<p>x-total-count: 1</p>\n<p><strong>Sample Response Body:</strong></p>\n<img src=\"https://content.pstmn.io/85cb80f4-9910-4b67-ab7d-a49d95360315/U2NyZWVuc2hvdCAyMDI0LTA2LTI2IGF0IDMuMTUuMTLigK9QTS5wbmc=\" alt />","urlObject":{"path":["api","v2","child-billing-plans",":id"],"host":["{{URL}}"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"f2f15a94-b32c-4760-a91a-969436efba65"}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{currentAccessToken}}"}]}},"event":[{"listen":"prerequest","script":{"id":"b8efe934-0ac2-4f54-8f72-895645ea7895","type":"text/javascript","exec":["const assert = require('assert');","const Header = require('postman-collection').Header;","","if (pm.info.requestName === 'Login') {","    return;","}","/*"," * Assert environment variables"," */","","// ensure required environment variables are set","assert(pm.environment.has('url'), 'Environment variable \"url\" was not set');","assert(pm.environment.has('username'), 'Environment variable \"username\" was not set');","assert(pm.environment.has('password'), 'Environment variable \"password\" was not set');","","// get required environment variables","const url = pm.environment.get('url');","const username = pm.environment.get('username');","const password = pm.environment.get('password');","","/*"," * Load the authentication token and refresh if necessary"," */"," ","// load the auth token for this environment","let token = pm.environment.get('currentAccessToken');","let shouldRefreshToken = !token;","","// check if the token expired","if (token) {","    const jwt = JSON.parse(atob(token.split('.')[1])); // parse the token payload","    ","    // check if the expiration time has expired","    const exp = parseInt(jwt['exp']) * 1000; // token expiration time in ms","    if (exp <= (new Date()).getTime()) { // token has expired","        shouldRefreshToken = true;","        console.log('Token has expired, requesting new token');","    } else {","        console.log('Using cached token');","    }","} else {","    console.log('No token exists, requesting new token');","}","","// request a new token from the login endpoint","if (true) {","    pm.sendRequest({","        url: `${url}/api/v2/login`,","        method: 'POST',","        header: 'Content-Type: application/json',","        body: {","            mode: 'raw',","            raw: JSON.stringify({","                username: username,","                password: password","            })","        }","    }, function (err, response) {","        if (err) { // error occurred","            throw err;","        }","        const res = response.json();","        ","        // set token as a variable for this request","        token = res['token'];","        pm.environment.set('currentAccessToken', token);","        ","        // inject the auth header into the request","        pm.request.headers.upsert(Header.create(`Bearer ${token}`, 'Authorization'));","    });","} else {","    // inject the auth header into the request","    pm.request.headers.upsert(Header.create(`Bearer ${token}`, 'Authorization'));","}","",""]}},{"listen":"test","script":{"id":"84494661-2bb7-4a1b-b1bf-7c999027e33f","type":"text/javascript","exec":[""]}}]}