{"info":{"_postman_id":"9b1feb54-481f-c9dc-c714-044d62d42042","name":"Wealth Wizards Smart Platform API Documentation","description":"Welcome to the Wealth Wizards API Documentation. Our offering is made up of three stages; fact finding, solution mapping and advice presentation. Here are the APIs you need in order to integrate with our platform.","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"Auth service","item":[{"name":"/v1/oauth/token","event":[{"listen":"test","script":{"type":"text/javascript","exec":["const responseJSON = JSON.parse(responseBody)","pm.globals.set(\"JWT_TOKEN\", responseJSON.jwt);","pm.globals.set(\"JWT_REFRESH_TOKEN\", responseJSON.refresh_token);"]}}],"id":"f38251d5-6ad9-0289-69b3-e7995395dd9e","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"{{AUTH_SERVICE_USERNAME}}","type":"text","description":"Username to login with"},{"key":"password","value":"{{AUTH_SERVICE_PASSWORD}}","type":"text","description":"Password to login with"}]},"url":"{{NAMESPACE_URL}}{{AUTH_SERVICE_PORT}}/auth-service/v1/oauth/token","description":"This endpoint creates a valid JWT and refresh token given a successful login."},"response":[],"_postman_id":"f38251d5-6ad9-0289-69b3-e7995395dd9e"},{"name":"/v1/oauth/refresh-token","event":[{"listen":"test","script":{"type":"text/javascript","exec":["const responseJSON = JSON.parse(responseBody)","pm.globals.set(\"JWT_TOKEN\", responseJSON.jwt);","pm.globals.set(\"JWT_REFRESH_TOKEN\", responseJSON.refresh_token);"]}}],"id":"c8bf2d56-799c-4050-adc4-0eaf606abdc2","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"refresh_token","value":"{{AUTH_SERVICE_REFRESH_TOKEN}}","type":"text","description":"Refresh token"}]},"url":"{{NAMESPACE_URL}}{{AUTH_SERVICE_PORT}}/auth-service/v1/oauth/refresh-token"},"response":[],"_postman_id":"c8bf2d56-799c-4050-adc4-0eaf606abdc2"},{"name":"/v1/oauth/revoke-token","event":[{"listen":"test","script":{"type":"text/javascript","exec":["const responseJSON = JSON.parse(responseBody)","pm.globals.set(\"JWT_TOKEN\", responseJSON.jwt);","pm.globals.set(\"JWT_REFRESH_TOKEN\", responseJSON.refresh_token);"]}}],"id":"fe73fcb8-0884-4c9d-9802-9a0bb4919f9c","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"jwt","value":"{{AUTH_SERVICE_JWT_TOKEN}}","type":"text","description":"A valid Jwt token"}]},"url":"{{NAMESPACE_URL}}{{AUTH_SERVICE_PORT}}/auth-service/v1/oauth/revoke-token"},"response":[],"_postman_id":"fe73fcb8-0884-4c9d-9802-9a0bb4919f9c"}],"id":"28b187a8-81a0-a024-f668-ddd8d216b745","description":"This microservice provides users and/or advisers the ability to authenticate and obtain a JWT token in order to interact with our services.","event":[{"listen":"prerequest","script":{"id":"8cf178c7-71e4-428e-85b4-dd77785c82de","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"cf984bff-229b-48e9-bda0-b4f4715f1f04","type":"text/javascript","exec":[""]}}],"_postman_id":"28b187a8-81a0-a024-f668-ddd8d216b745"},{"name":"Solution orchestrator","item":[{"name":"/v1/solution?capability={{CAPABILITY}}","id":"e531e33c-0f9a-f173-d094-53bc3e0506ca","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{JWT_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"fact_find_id\": \"5a5c7712e11e0e0025008ece\",\n  \"fact_find_data\": {\n    \"source_of_business\": \"{{TENANT_NAME}}\",\n    \"_id\": \"5a5c7712e11e0e0025008ece\",\n    \"created_at\": \"2018-01-15T09:40:34.749Z\",\n    \"updated_at\": \"2018-01-15T14:22:43.506Z\",\n    \"active_products\": [\n      \"rpp\"\n    ],\n    \"personal__title\": \"mr\",\n    \"personal__first_name\": \"Shaun\",\n    \"personal__last_name\": \"Le Teste\",\n    \"personal__dob\": \"1950-01-30\",\n    \"eligibility__registered_outside_uk\": \"no\",\n    \"personal__us_citizen\": \"no\",\n    \"retirement__pensions__registered_outside_uk\": \"no\",\n    \"eligibility__applicant_or_dependant_in_good_health\": \"yes\",\n    \"health__applicant__height\": 189,\n    \"health__applicant__weight\": 95,\n    \"health__applicant__waist\": 36,\n    \"health__applicant__ever_smoked\": \"no\",\n    \"health__applicant__alcohol_units_per_week\": 0,\n    \"health__applicant__conditions__blood_pressure\": \"no\",\n    \"health__applicant__conditions__high_cholesterol\": \"no\",\n    \"health__applicant__conditions__diabetes\": \"no\",\n    \"personal__postcode\": \"CV34 6RT\",\n    \"personal__address_line_3\": \"Warwick\",\n    \"personal__address_line_1\": \"Unit 8\",\n    \"personal__address_line_2\": \"Athena Court\",\n    \"personal__address_line_4\": \"Warwickshire\",\n    \"personal__email_address\": \"tester@test.com\",\n    \"personal__telephone\": \"0987655433\",\n    \"personal__gender\": \"m\",\n    \"applicant_state_pension_date\": \"2015-01-30\",\n    \"personal__ni_number\": \"1234545\",\n    \"income__where_registered\": \"england_wales_ni\",\n    \"dependants__have_partner\": \"no\",\n    \"personal__marital_status\": \"single\",\n    \"property__own_home\": \"yes_me_only\",\n    \"property__market_value\": 250000,\n    \"property__mortgaged\": \"no\",\n    \"property__prepared_to_downsize\": \"no\",\n    \"capital__additional_properties__any\": \"no\",\n    \"inheritance__significant_amount_expected\": \"no\",\n    \"income__currently_working\": \"yes\",\n    \"income__occupation\": \"manager_director_senior_official\",\n    \"income__take_home_pay\": 1000,\n    \"income__employment_current_hours_per_week\": 35,\n    \"income__employment_hours_per_week\": 35,\n    \"income__continue_working\": \"yes\",\n    \"income__employment_stop_working_date\": \"2018-02-25\",\n    \"retirement__income_start_date\": \"2018-01-30\",\n    \"income__state_pension_start_date\": \"2018-01-30\",\n    \"income__state_pension_amount_per_week\": 159.95,\n    \"retirement__lifetime_allowance\": \"no\",\n    \"retirement__pensions\": [\n      {\n        \"employer_provider\": \"wr\",\n        \"policy_number\": \"1234\",\n        \"include_in_advice\": \"yes\",\n        \"sharing\": \"no\",\n        \"lump_sum_or_income_taken\": \"no\",\n        \"fund_value\": 415000,\n        \"with_profits\": \"no\",\n        \"tax_free_can_exceed_25\": \"no\",\n        \"guaranteed_rate_annuity\": \"no\",\n        \"guaranteed_rate_minimum\": \"no\",\n        \"early_penalty\": \"no\",\n        \"drawdown_facility\": \"no\",\n        \"further_contributions\": \"no\",\n        \"type\": \"investment\"\n      }\n    ],\n    \"retirement_income\": [\n      {\n        \"type\": \"statutory_sick_pay\",\n        \"amount_interval\": \"annually\",\n        \"amount\": 1,\n        \"start_date\": \"2018-12-02\",\n        \"has_end_date\": \"no\",\n        \"owner\": \"applicant\",\n        \"income__means_tested_benefits\": \"no\"\n      }\n    ],\n    \"retirement__monthly_budget__expenditure\": 1500,\n    \"income__fixed_monthly_expenditure\": 1000,\n    \"income__discretionary_monthly_expenditure\": 5001,\n    \"income__desired_income_in_retirement\": 72012,\n    \"retirement__lump_sum_percentage\": 0,\n    \"dependants__benefits_to_non_partner\": \"no\",\n    \"retirement__priorities__leave_inheritance\": \"100\",\n    \"retirement__priorities__flexibility_to_change\": \"75\",\n    \"retirement__priorities__early_income\": \"0\",\n    \"retirement__priorities__comfortable_with_risk\": \"75\",\n    \"retirement__priorities__flexibility_to_delay\": \"75\",\n    \"health__applicant__self_assessment\": \"good\",\n    \"health__applicant__metric_height_cm\": 189,\n    \"health__applicant__metric_weight_kg\": 95,\n    \"health__applicant__on_two_or_more_medications\": \"no\",\n    \"a2risk__describe_as_cautious\": \"disagree\",\n    \"a2risk__prefer_safer_investments\": \"disagree\",\n    \"a2risk__long_time_to_decide\": \"agree\",\n    \"a2risk__risk_equals_opportunity\": \"agree\",\n    \"a2risk__prefer_bank_deposits\": \"disagree\",\n    \"a2risk__investment_easy_to_understand\": \"agree\",\n    \"a2risk__willing_to_risk\": \"agree\",\n    \"a2risk__little_investment_experience\": \"disagree\",\n    \"a2risk__anxious_about_decisions\": \"disagree\",\n    \"a2risk__prefer_high_risk_investments\": \"agree\",\n    \"a2risk__concerned_about_volatility\": \"disagree\",\n    \"investment_experience__types__bank_or_savings\": \"yes\",\n    \"investment_experience__types__national_savings\": \"yes\",\n    \"investment_experience__types__cash_isas\": \"yes\",\n    \"investment_experience__types__endowment\": \"yes\",\n    \"investment_experience__types__shares_isa\": \"yes\",\n    \"investment_experience__types__trusts\": \"yes\",\n    \"investment_experience__types__portfolio\": \"yes\",\n    \"investment_experience__general\": \"yes\",\n    \"a2risk__comfortable_investing\": \"agree\",\n    \"a2risk__selected_profile\": \"adventurous\",\n    \"a2risk__response\": {\n      \"calculated_profile\": \"adventurous\",\n      \"alerts\": []\n    },\n    \"income__has_db_pensions\": \"yes\",\n    \"income__db_pensions\": [\n      {\n        \"lump_sum\": 123,\n        \"income\": 123,\n        \"start_date\": \"2018-02-01\"\n      },\n      {\n        \"lump_sum\": 456,\n        \"income\": 456,\n        \"start_date\": \"2018-01-02\"\n      }\n    ],\n    \"debts__has_debts\": \"no\",\n    \"health__applicant__current_smoker\": \"no\",\n    \"health__applicant__given_up_smoking\": \"no\",\n    \"capital__additional_properties\": [],\n    \"retirement__lump_sum_reasons\": {},\n    \"investments__has_investments\": \"no\",\n    \"investments\": [],\n    \"retirement_income__has_other_income\": \"yes\",\n    \"dependants__could_support\": \"no\"\n  }\n}"},"url":{"raw":"{{NAMESPACE_URL}}{{SOLUTION_STORE_PORT}}/solution-store/v1/solution?capability={{CAPABILITY}}","host":["{{NAMESPACE_URL}}{{SOLUTION_STORE_PORT}}"],"path":["solution-store","v1","solution"],"query":[{"key":"capability","value":"{{CAPABILITY}}"}]},"description":"Generate a solution for the ww tenant and retirement product"},"response":[],"_postman_id":"e531e33c-0f9a-f173-d094-53bc3e0506ca"},{"name":"/v1/solution/SOLUTION_ID","id":"b3332d7e-cd3d-d743-38c0-185dc8481448","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{JWT_TOKEN}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{NAMESPACE_URL}}{{SOLUTION_STORE_PORT}}/solution-store/v1/solution/{{SOLUTION_ID}}"},"response":[],"_postman_id":"b3332d7e-cd3d-d743-38c0-185dc8481448"},{"name":"/v1/solution/SOLUTION_ID/suitability-report","id":"888afc7f-d18c-0700-6967-ed452c645c50","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{JWT_TOKEN}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{NAMESPACE_URL}}{{SOLUTION_STORE_PORT}}/solution-store/v1/solution/{{SOLUTION_ID}}/suitability-report"},"response":[],"_postman_id":"888afc7f-d18c-0700-6967-ed452c645c50"},{"name":"/v1/solution/SOLUTION_ID/solution-summary","id":"fecf8ac4-3a94-9e0c-2cd5-770665be33ee","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{JWT_TOKEN}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{NAMESPACE_URL}}{{SOLUTION_STORE_PORT}}/solution-store/v1/solution/{{SOLUTION_ID}}/solution-summary"},"response":[],"_postman_id":"fecf8ac4-3a94-9e0c-2cd5-770665be33ee"},{"name":"/v1/solution/SOLUTION_ID/statement-of-fact","id":"ee98af94-0a22-a8cd-859d-828c707950fb","request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{JWT_TOKEN}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{NAMESPACE_URL}}{{SOLUTION_STORE_PORT}}/solution-store/v1/solution/{{SOLUTION_ID}}/statement-of-fact"},"response":[],"_postman_id":"ee98af94-0a22-a8cd-859d-828c707950fb"}],"id":"04da2a14-458d-897d-f8cb-c9bcded65905","description":"This microservice orchestrates all the clever advice algorithms within Smart Platform and triggers the generation of the advice and related presentations.\n","event":[{"listen":"prerequest","script":{"id":"3210bd4e-dad4-4de7-bc8d-a96e3a3794ec","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"7c27ec27-3b19-4bfd-aaa0-03a1e420f91e","type":"text/javascript","exec":[""]}}],"_postman_id":"04da2a14-458d-897d-f8cb-c9bcded65905"},{"name":"Risk profile","item":[{"name":"/risk-profile/v1/attitude-to-risk?tenant={{TENANT}}","id":"60fab902-ea60-9948-ecf0-6f43a46643af","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{JWT_TOKEN}}"}],"body":{"mode":"raw","raw":"{\"comfortable_investing_percentage\":\"no_opinion\",\"risk_is_opportunity\":\"no_opinion\",\"anxious_about_investments\":\"no_opinion\",\"describe_as_cautious\":\"no_opinion\",\"look_for_safer\":\"no_opinion\",\"prefer_bank_deposits\":\"no_opinion\",\"concerned_about_volatility\":\"no_opinion\",\"accept_losses\":\"no_opinion\",\"risks_important\":\"no_opinion\",\"comfortable_investing_high_risk\":\"agree\"}"},"url":{"raw":"{{NAMESPACE_URL}}{{RISK_PROFILE_PORT}}/risk-profile/v1/attitude-to-risk?tenant={{TENANT}}","host":["{{NAMESPACE_URL}}{{RISK_PROFILE_PORT}}"],"path":["risk-profile","v1","attitude-to-risk"],"query":[{"key":"tenant","value":"{{TENANT}}"}]},"description":"Calculates an attitude to risk profile for a given tenant. Tenants can configure their own risk provider."},"response":[],"_postman_id":"60fab902-ea60-9948-ecf0-6f43a46643af"}],"id":"bfef2b62-4ace-5ac2-9c08-92321da2b4c4","description":"This acts as an adaptor service for calculating attitude to risk, retirement/investment flexiblity, financial resilience and investment experience.","event":[{"listen":"prerequest","script":{"id":"c619f817-89d5-4cfc-8fe0-d0a53dc018d1","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"94bb5d5f-7aeb-4d83-b036-4dd2946f291a","type":"text/javascript","exec":[""]}}],"_postman_id":"bfef2b62-4ace-5ac2-9c08-92321da2b4c4"},{"name":"Fact find service","item":[{"name":"/v1/fact-find","id":"d3d224c8-1e87-48ea-25c3-17cbad0c7508","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{JWT_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"source_of_business\": \"lv\",\n  \"personal__title\": \"mr\",\n  \"personal__first_name\": \"Bob\",\n  \"personal__last_name\": \"Bobbington\",\n  \"personal__dob\": \"1960-12-31\",\n  \"personal__postcode\": \"CV99 3XX\",\n  \"personal__ni_number\": \"1234567890\",\n  \"active_products\": [\n    \"rpp\"  \n  ]\n}"},"url":"{{NAMESPACE_URL}}{{FACT_FIND_SERVICE_PORT}}/fact-find-service/v1/fact-find","description":"Stores client information against a client record."},"response":[],"_postman_id":"d3d224c8-1e87-48ea-25c3-17cbad0c7508"},{"name":"/graphql","id":"c9bab757-b0ec-3f29-ddfa-a426b6f86f71","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{JWT_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"operationName\": \"find\",\n  \"variables\": {\n    \"query\": \"\",\n    \"offset\": 0,\n    \"limit\": 25,\n    \"active_products\": \"rpp\"\n  },\n  \"query\": \"query find($query: String!, $offset: Int, $limit: Int, $active_products: String!) {\\n  find(query: $query, offset: $offset, limit: $limit, active_products: $active_products) {\\n    total\\n    factFinds {\\n      personal__ni_number\\n      first_name\\n      last_name\\n      postcode\\n      _id\\n      date_of_birth\\n      updated_at\\n      __typename\\n    }\\n    __typename\\n  }\\n}\\n\"\n}"},"url":"{{NAMESPACE_URL}}{{FACT_FIND_SERVICE_PORT}}/fact-find-service/graphql","description":"This endpoint enables us to query for fact finds using GraphQL. This currently integrates with our use of React Apollo on the front end."},"response":[],"_postman_id":"c9bab757-b0ec-3f29-ddfa-a426b6f86f71"},{"name":"/v1/fact-find/{{FACT_FIND_ID}}","id":"e882d441-fce6-902e-03b5-e4f703bd6d16","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Authorization","value":"Bearer {{JWT_TOKEN}}"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"source_of_business","value":"SoB Update","type":"text"},{"key":"personal__title","value":"Title Update","type":"text"},{"key":"personal__first_name","value":"Firstname Update","type":"text"},{"key":"personal__last_name","value":"Lastname Update","type":"text"},{"key":"personal__dob","value":"1990-06-11","type":"text"},{"key":"active_products","value":"nas","type":"text"},{"key":"active_products","value":"test","type":"text"}]},"url":"{{NAMESPACE_URL}}{{FACT_FIND_SERVICE_PORT}}/fact-find-service/v1/fact-find/{{FACT_FIND_ID}}","description":"Get a fact find by its ID"},"response":[],"_postman_id":"e882d441-fce6-902e-03b5-e4f703bd6d16"},{"name":"/v1/fact-find/{{FACT_FIND_ID}}","id":"b89645b1-a90e-0de9-3f01-dd349bd0a526","request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{JWT_TOKEN}}"}],"body":{"mode":"raw","raw":"{\n  \"source_of_business\": \"lv\",\n  \"personal__title\": \"mr\",\n  \"personal__first_name\": \"Bob\",\n  \"personal__last_name\": \"Bobbington\",\n  \"personal__dob\": \"1960-12-31\",\n  \"personal__postcode\": \"CV99 3XX\",\n  \"personal__ni_number\": \"1234567890\",\n  \"active_products\": [\n    \"rpp\",\n    \"nas\"\n  ],\n  \"some_test_question\": \"some test answer\"\n}"},"url":"{{NAMESPACE_URL}}{{FACT_FIND_SERVICE_PORT}}/fact-find-service/v1/fact-find/{{FACT_FIND_ID}}","description":"Updates a fact find using its ID."},"response":[],"_postman_id":"b89645b1-a90e-0de9-3f01-dd349bd0a526"},{"name":"/v1/fact-find/{{FACT_FIND_ID}}","id":"73fe9771-adc0-30af-8146-af0ddc33e8cc","request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer {{JWT_TOKEN}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{NAMESPACE_URL}}{{FACT_FIND_SERVICE_PORT}}/fact-find-service/v1/fact-find/{{FACT_FIND_ID}}","description":"Delete a fact find by its ID."},"response":[],"_postman_id":"73fe9771-adc0-30af-8146-af0ddc33e8cc"}],"id":"55f0ce6e-f374-40db-dbdf-53bee8ca0f87","description":"This microservice acts as a persistence layer for storing facts we hold about a person. Each user of the system has one set of facts associated with their record. This is keyed by their national insurance number.","event":[{"listen":"prerequest","script":{"id":"436b147f-0951-44f1-87d3-cb700a5a31a2","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"000bbd50-7f56-4517-8cb5-66436ef60bf3","type":"text/javascript","exec":[""]}}],"_postman_id":"55f0ce6e-f374-40db-dbdf-53bee8ca0f87"},{"name":"Income expenditure projection","item":[{"name":"/v1/calculate-projection","id":"3ed3ccd8-8d7b-1d60-7ce7-79138c32244a","request":{"method":"POST","header":[{"key":"Authorization","value":"{{INCOME_EXPENDITURE_PROJECTION_API_KEY}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"from_date\": \"2018-01-01\",\n  \"to_date\": \"2019-12-31\",\n  \"incomes\": [\n    {\n      \"start_date\": \"2018-01-01\",\n      \"has_end_date\": \"no\",\n      \"amount_interval\": \"monthly\",\n      \"amount\": 2000,\n      \"income_type\": \"income\"\n    },\n    {\n      \"start_date\": \"2018-06-01\",\n      \"has_end_date\": \"yes\",\n      \"end_date\": \"2018-08-31\",\n      \"amount_interval\": \"annual\",\n      \"amount\": 12000,\n      \"income_type\": \"income\"\n    }\n  ],\n  \"expenditures\": [\n    {\n      \"start_date\": \"2018-01-01\",\n      \"has_end_date\": \"no\",\n      \"amount_interval\": \"monthly\",\n      \"amount\": 2000,\n      \"income_type\": \"income\"\n    },\n    {\n      \"start_date\": \"2018-06-01\",\n      \"has_end_date\": \"yes\",\n      \"end_date\": \"2018-08-31\",\n      \"amount_interval\": \"annual\",\n      \"amount\": 12000,\n      \"income_type\": \"income\"\n    }\n  ]\n}"},"url":"{{NAMESPACE_URL}}{{INCOME_EXPENDITURE_PROJECTION_PORT}}/income-expenditure-projection/v1/calculate-projection","description":"Calculate income and/or expenditure projection as well as the latest date (LD)"},"response":[],"_postman_id":"3ed3ccd8-8d7b-1d60-7ce7-79138c32244a"}],"id":"d438954e-88bb-a147-9168-67d7079643ee","description":"This microservice calculates the projected income and/or expenditure from a list of incomes and expenditures within a certain time period.","event":[{"listen":"prerequest","script":{"id":"9f8b70e3-34a7-4624-b9bd-b29b1552ef54","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"edad6564-1065-4aef-83fc-443f6545cbdc","type":"text/javascript","exec":[""]}}],"_postman_id":"d438954e-88bb-a147-9168-67d7079643ee"},{"name":"Pension projection","item":[{"name":"/v1/calculate-projection","id":"e40b10e2-2b6a-7628-a753-2fe2080cede8","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"{{PENSION_PROJECTION_API_KEY}}"}],"body":{"mode":"raw","raw":"{\n  \"nominal_multiplier\": 6.5,\n  \"inflationary_divisor\": 2.5,\n  \"charges\": 0.75,\n  \"gross_monthly_contribution\": 500,\n  \"pot_size\": 100000,\n  \"early_tax_free_cash\": 25000,\n  \"months_to_retirement\": 120\n}"},"url":"{{NAMESPACE_URL}}{{PENSION_PROJECTION_PORT}}/pension-projection/v1/calculate-projection","description":"Calculate projected pot size based on current pot size and growth inputs"},"response":[],"_postman_id":"e40b10e2-2b6a-7628-a753-2fe2080cede8"}],"id":"82835686-2869-9213-8c0e-4384e582c554","description":"This microservice calculates a projected pot size based on the provided growth rates and contributions.","event":[{"listen":"prerequest","script":{"id":"6510a1e0-574b-423a-87d4-825230e56b5e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b0ab3bc4-5b8e-4783-89f8-dae538d0471c","type":"text/javascript","exec":[""]}}],"_postman_id":"82835686-2869-9213-8c0e-4384e582c554"},{"name":"Income tax service","item":[{"name":"/v1/calculate","id":"20f8deb6-abe4-b82a-2714-b6e1571224ef","request":{"method":"POST","header":[{"key":"Authorization","value":"","disabled":true},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"gross_income\": 100000,\n  \"income_period\": \"ANNUALLY\",\n  \"apply_tax_reduction_thresholds\": true\n}"},"url":{"raw":"{{INCOME_TAX_SERVICE_URL}}{{INCOME_TAX_SERVICE_PORT}}/v1/calculate?run_date={{RUN_DATE}}","host":["{{INCOME_TAX_SERVICE_URL}}{{INCOME_TAX_SERVICE_PORT}}"],"path":["v1","calculate"],"query":[{"key":"run_date","value":"{{RUN_DATE}}"}]},"description":"Calculates tax on an income. The run date query parameter can be used to force the service to calculate tax according to the rules that were in play on that date."},"response":[],"_postman_id":"20f8deb6-abe4-b82a-2714-b6e1571224ef"},{"name":"/v1/incomes-in-batch","id":"6d1101a2-6b55-90f2-f649-6397b99d945d","request":{"method":"POST","header":[{"key":"X-Test-Spec","value":"test","disabled":true},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \"items\": [\n      {\n        \"apply_tax_reduction_thresholds\": true,\n        \"incomes\": [\n          {\n            \"type\": \"income\",\n            \"gross_income\": 24000,\n            \"income_period\": \"ANNUALLY\"\n          },\n          {\n            \"type\": \"income\",\n            \"gross_income\": 12000,\n            \"income_period\": \"ANNUALLY\"\n          }\n        ]\n      },\n      {\n        \"apply_tax_reduction_thresholds\": true,\n        \"incomes\": [\n          {\n            \"type\": \"income\",\n            \"gross_income\": 24000,\n            \"income_period\": \"ANNUALLY\"\n          },\n          {\n            \"type\": \"income\",\n            \"gross_income\": 12000,\n            \"income_period\": \"ANNUALLY\"\n          }\n        ]\n      }\n    ]\n}"},"url":"{{INCOME_TAX_SERVICE_URL}}{{INCOME_TAX_SERVICE_PORT}}/v1/incomes-in-batch","description":"Calculate tax on multiple incomes"},"response":[],"_postman_id":"6d1101a2-6b55-90f2-f649-6397b99d945d"}],"id":"e938db60-7c55-1555-f222-30a85ed8348e","description":"This microservice calculates income tax on the incomes supplied.","event":[{"listen":"prerequest","script":{"id":"afd33970-3b48-4b1b-913a-a91bcbb405a8","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"0fd16fe1-eb47-4d51-b666-b9c9417b3353","type":"text/javascript","exec":[""]}}],"_postman_id":"e938db60-7c55-1555-f222-30a85ed8348e"},{"name":"State pension age calculator","item":[{"name":"/calculate","id":"f3b2114c-5d51-463a-b4a8-5c39e9d18042","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"cBHe8L3YrqjMauEntDbdacdWFwv6PCgd"}],"body":{"mode":"raw","raw":"{\n  \"dob\": \"1970-01-01\",\n  \"gender\": \"M\"\n}"},"url":"https://state-pension-date.wealthwizards.io/calculate","description":"Your state pension date calculation"},"response":[{"id":"9ab8083e-536a-4e99-87ac-813c9e91e36b","name":"/calculate","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":false},{"key":"Authorization","value":"cBHe8L3YrqjMauEntDbdacdWFwv6PCgd","disabled":false}],"body":{"mode":"raw","raw":"{\n  \"dob\": \"1970-01-01\",\n  \"gender\": \"M\"\n}"},"url":"https://state-pension-date.wealthwizards.io/calculate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, proxy-revalidate","name":"Cache-Control","description":"Tells all caching mechanisms from server to client whether they may cache this object. It is measured in seconds"},{"key":"Connection","value":"keep-alive","name":"Connection","description":"Options that are desired for the connection"},{"key":"Content-Length","value":"58","name":"Content-Length","description":"The length of the response body in octets (8-bit bytes)"},{"key":"Content-Type","value":"application/json; charset=utf-8","name":"Content-Type","description":"The mime type of this content"},{"key":"Date","value":"Thu, 30 Aug 2018 20:18:27 GMT","name":"Date","description":"The date and time that the message was sent"},{"key":"ETag","value":"W/\"3a-wi17gcH9MyDD+uPaSY4VCJOWlr8\"","name":"ETag","description":"An identifier for a specific version of a resource, often a message digest"},{"key":"Expires","value":"0","name":"Expires","description":"Gives the date/time after which the response is considered stale"},{"key":"Pragma","value":"no-cache","name":"Pragma","description":"Implementation-specific headers that may have various effects anywhere along the request-response chain."},{"key":"Strict-Transport-Security","value":"max-age=15552000; includeSubDomains","name":"Strict-Transport-Security","description":"A HSTS Policy informing the HTTP client how long to cache the HTTPS only policy and whether this applies to subdomains."},{"key":"Surrogate-Control","value":"no-store","name":"Surrogate-Control","description":"Custom header"},{"key":"X-Content-Type-Options","value":"nosniff","name":"X-Content-Type-Options","description":"The only defined value, \"nosniff\", prevents Internet Explorer from MIME-sniffing a response away from the declared content-type"},{"key":"X-DNS-Prefetch-Control","value":"off","name":"X-DNS-Prefetch-Control","description":"Custom header"},{"key":"X-Download-Options","value":"noopen","name":"X-Download-Options","description":"Custom header"},{"key":"X-Frame-Options","value":"SAMEORIGIN","name":"X-Frame-Options","description":"Clickjacking protection: \"deny\" - no rendering within a frame, \"sameorigin\" - no rendering if origin mismatch"},{"key":"X-Powered-By","value":"Wizards","name":"X-Powered-By","description":"Specifies the technology (ASP.NET, PHP, JBoss, e.g.) supporting the web application (version details are often in X-Runtime, X-Version, or X-AspNet-Version)"},{"key":"X-Response-Time","value":"6.674ms","name":"X-Response-Time","description":"Custom header"},{"key":"X-XSS-Protection","value":"1; mode=block","name":"X-XSS-Protection","description":"Cross-site scripting (XSS) filter"},{"key":"x-correlation-id","value":"869487f0-0c14-49b3-a631-3ac9da017a35","name":"x-correlation-id","description":"Custom header"}],"cookie":[],"responseTime":null,"body":"{\"state_pension_date\":\"2037-01-01\",\"state_pension_age\":67}"}],"_postman_id":"f3b2114c-5d51-463a-b4a8-5c39e9d18042"}],"id":"a4d24c98-fd1f-4296-a11c-713886e4c056","description":"This web service calculates the date at which you will be eligible to receive your UK state pension, using your date of birth and gender as an input.\n\nIt can be integrated with pension and investment apps which require an accurate state retirement date.","_postman_id":"a4d24c98-fd1f-4296-a11c-713886e4c056"}],"event":[{"listen":"prerequest","script":{"id":"eeeb237f-dc39-44da-8281-afad7b4c5a4d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1ac8e7e3-1449-42a7-a83c-8e084ebd969a","type":"text/javascript","exec":[""]}}]}