openapi: 3.0.2 info: title: WealthOS API description: "Welcome to WealthOS. Here you will find the comprehensive set of information you need to rapidly build rich digital wealth management features. \n# Getting Started\nBefore you start developing your features using the WealthOS API, please make sure that the following steps are complete:\n\n* Set-up your own environment unique to your organisation using the link we have provided\n* Follow the step-by-step [guide](https://wos-gb.sandbox.wealthos.cloud/admin/documentation) to configuring your environment\n* Sign-up and obtain keys for sandbox environments of all 3rd party integrations you require from the market place of available integrations in WealthOS\n* Setup the keys of the 3rd party integrations within the WealthOS Admin UI\n\nOnce you have set yourself up, you can add other users who will be able to collaborate with you.\n\n---\n# WealthOS API Basics\nThe WealthOS API is a RESTful API that provides synchronous communication between your application and the WealthOS platform. For some calls where WealthOS communicates with a 3rd party application (e.g. KYC providers, Payment providers, Custodians) thus causing asynchronicity in communication, WealthOS also provides anebsocket API so you do not have to build a polling function to retrieve responses. \n\nYour API URLs will be in the following formats:\n\n**RESTful API** - https://{unique_tenancy_identifier}.sandbox.wealthos.cloud/tenant/{endpoint}/v1\n\n``` E.g. https://acorn-gb.sandbox.wealthos.cloud/investors/v1```\n\n**Websocket API** - wss://{unique_tenancy_identifier}-ws.sandbox.wealthos.cloud/ws/\n\n``` E.g. wss://acorn-gb-ws.sandbox.wealthos.cloud/ws/```\n\nThe Websocket API is used by WealthOS to push asynchronous notifications to your application.\n\n---\n# Authentication\nThe wealth management organisation is granted a **secret key** that they must use in their API calls to interact with the WealthOS platform securely. This key must be stored securely only in your application server side code. It grants the highest level of access privileges to the WealthOS platform. \n\n## Testing your keys\nYou may test your keys by calling on the following endpoints. \n\n### RESTful API\nTo test the **secret key**: Perform a GET call on ```~/tenant/test/hello-world-be```\n\n### Socket API\n In order to authenticate a Websocket API call, a query parameter x-token must be included within the URL. \n\nx-token = your organisation’s secret key \n\nFull URL must read as follows: \n````\nwss://{unique_tenancy_identifier}-ws.sandbox.wealthos.cloud/ws?x-token=\n````\n---\n# Idempotency\nSome of the capabilities exposed via WealthOS tenant API needs to be idempotant (from the perspective of the system). For those requests an additional field `request_id` is required to be sent with the request. The purpose of the `request_id` is to give an unique id for the request, so the system can differentiate requests. Advantage of the `request_id` is the system can check whether the request have already reached the system. If a request (that should be idempotant) has already reached the system, the duplicate request will be rejected.\n\n#### Sample response\n\n```json\n\n{\n \"status\": 400,\n \"body\": {\n \"message\" : \"duplicate request\", \n \"status\" : \"COMPLETE|PROCESSING\", \n \"response\" : \"\"\n }\n}\n\n```\nThe `request_id` stored for idempotency checks will be deleted after **1 hour** after which point a message with the same `request_id` will be considered as a new request.\n\n---\n# Entity Versioning\nWealthOS maintains versioning for reference data entities stored within the platform which can be updated by the Wealth Manager BE. This is to ensure integrity of data in the event the same entity is being updated by multiple users via the API. \n\nWhen requesting for an entity via the API the system will return the latest `reference_version` which must be provided when the Wealth Manager BE is updating an entity. If the received `reference_version` is different to the latest `reference_version` in the system, the update will be rejected.\n\nWith each sucessful update done to the entity via the API the system will increment the `reference_version`. \n\n---\n# Limits\n\nCurrently there are limits to the number of requests that can be made to the WealthOS API. Following are these limits:\n* Average requests per second 500\n* Burst requests 1000\n* Total requests per day 10,000\n\n---\n# FAQ\n\n- **How do I see my API keys and how do I re-new the keys?**\n - Your API keys are displayed in the developer section of the WOS Admin GUI. You have to be of user type 'developer' or 'admin' to see this. \n\n- **Is it mandatory to connect to the web socket**\n - Right now this is optional. However it is highly recommended to do so, because the wealth manager BE can avoid polling (Remember: the REST API calls have a daily quota) for certain important events.\n\n---\n# Socket API\n## Intro\nWeb socket API is used by the WOS system to notify (push) asynchronous events to the Wealth Manager BE\n## Accessing the Socket api\nYour Socket API URL would be wss://{socket api root}/ws\n\nFor example lets assume your env is `gb` and tenant id is `acorn`. Then,\n\n- Socket API Root: acorn-gb-ws.sandbox.wealthos.cloud\n\n- Socket API URL: wss://acorn-gb-ws.sandbox.wealthos.cloud/ws\n## Authenticating Socket Connection\nWealthOS requires to authenticate the web socket connection before allowing you to communicate with the system through the socket. For that purpose WealthOS socket API expects a query parameter `x-token` to be attached with the socket URL.\n\n`x-token` is the ApiSecretKey given you by the WealthOS system\n\nSo the actual connection URL must look like\n\n```\nwss://acme-gb-ws.sandbox.wealthos.cloud/ws?x-token=\n```\n## Channels\nWealthOS socket api uses the concept of channels to group messages exchanged through web socket. A single socket connection may be used to handle one or many channels. Users are advised to implement a proper load balancing scheme.\n\nMessages sent via the channels will be strictly ordered by the event generation time. However, there is no guarantee of ordering messages across channels.\n\nA generic data message passed through the socket looks like,\n\n```json\n{\n type: \"a string tag that identifies the message\"\n resend: \"[optional] Indicates whether this is a resend message. Resends can be sent during explicit recovery servicing or due to server recovering from errors\"\n ch: \"channel name\" \n payload: { \n .... \n }\n id: \"unique id for this message\"\n ts: \"unique sequence number of message\"\n \n}\n``` \n**Note**: The unique sequence number `ts` is a strictly monotonically increasing timestamp (milliseconds elapsed since January 1, 1970, 00:00:00 UTC). This is unique per channel.\n## Subscribe\nSent from client to server to subscribe to a channel.\n * Channel name should be specified in the `ch` attribute.\n * Unique request id must be sent in the `req_id` attribute.\n\n```\n{\n \"type\": \"subscription\",\n \"ch\": \"channel to be subscribed\",\n \"req_id\": \"request ID\",\n \"from_ts\": past sequence number / Timestamp value (milliseconds)\n}\n```\nServer responds with a **subscribe** message which echoes the request. In addition, a **status** field indicates the subscription status (success or failed) and aneason field indicating the reason in the case of a failure.\n\n```\n{\n \"type\": \"subscription\",\n \"ch\": \"subscribed channel\",\n \"req_id\": \"request ID\",\n \"status\": \"ACK\"\n}\n```\n\n```\n{\n \"type\": \"subscription\",\n \"ch\": \"subscribed channel\",\n \"req_id\": \"request ID\",\n \"status\": \"NACK\",\n \"reason\": \"Error Message\"\n}\n```\n## Unsubscribe\nSent from client to server to unsubscribe from a channel.\n * Channel name should be specified in the `ch` attribute.\n * Unique request id must be sent in the `req_id` attribute.\n\n```\n{\n \"type\": \"unsubscription\",\n \"ch\": \"channel to be unsubscribed\",\n \"req_id\": \"request ID\"\n}\n```\nServer responds with a **unsubscribe** message which echoes the request. In addition, a **status** field indicates the unsubscription status (success or failed) and aneason field indicating the reason in the case of a failure.\n\n```\n{\n \"type\": \"unsubscription\",\n \"ch\": \"channel to be unsubscribed\",\n \"req_id\": \"request ID\",\n \"status\": \"ACK\"\n}\n```\n\n```\n{\n \"type\": \"unsubscription\",\n \"ch\": \"channel to be unsubscribed\",\n \"req_id\": \"request ID\",\n \"status\": \"NACK\",\n \"reason\": \"Error Message\"\n}\n```\n**NOTE**\n* Subscribing to an already subscribed channel will be rejected.\n* Client is expected to re-try, if no response is received within 60 secs\n \n\n## Heart beats\nThe ws client must send a 'heart-beat' to the server every **60 seconds** to keep the socket connection alive. Server will reply back with heat-beat (HB). Server will disconnect the ws connection if no HBs are recived for **3 HB intervals** (i.e. between 2 to 3 minutes). Client should also disconnet if no data or hb message is received for 3 minutes\n\n```json\n{\n type: \"hb\",\n ch: \"system\"\n}\n```\n
\n \n

\n ⓘ A live socket connection will be automatically disconnected by the server after 2 hours\n

\n
\n
\n\n\n## Recover missed updates\nThe ws client can send a **past sequence number** with the subscription to receive missed updates from the provided sequence number onwards.\n\n```json\n{\n \"type\": \"subscription\",\n \"ch\": \"channel to be subscribed\",\n \"req_id\": \"request ID\",\n \"from_ts\": \"past sequence number\"\n}\n```\nServer responds with a **subscribe** message which echoes the request. Then the ws client will receive past socket updates from the provided sequence number onwards.\n\n```\n{\n \"type\": \"subscription\",\n \"ch\": \"subscribed channel\",\n \"req_id\": \"request ID\",\n \"status\": \"ACK\",\n \"from_ts\": 1625660972000\n}\n{\n \"type\": \"investor_status\",\n \"ch\": \"investors\",\n \"payload\": {\n \"investor_id\" : \"\",\n \"status\" : \"'fail' | 'success'\", \n \"error\" : \"\", \n \"event\": \"'kyc.started' | 'kyc.completed'\" \n },\n \"id\": \"fd232671-d47b-4ae2-a4c4-0a37258ffae5\",\n \"ts\": 1625660972222,\n \"resend\": true\n}\n```\n**NOTE**\n* If the provided sequence number equals **-1**, Then the system will send all the past socket updates to the client.\n* System only accepts integer type sequence number values.\n\n## Supported Channels\n\n- investors\n- payments\n- transactions \n- holdings\n- reconciliations\n- notifications\n\n### publish investors\n\nThis channel publishes investor related updates.\n\n#### Message\n\n\nThe investor channel publishes the following message types:\n- `investor_status` : This message type is used to communicate updates to the KYC/AML status of an investor\n\n##### Payload\n\t\t\t\n| Name | Type | Description | Accepted values | \n| ----------- | ----------- | ----------- | ----------- |\n| type | string | message type | `investor_status` |\n| ch | string | channel name | `investors` |\n| payload.investor_id | string | unique Id of investor | |\n| payload.status | string | | `fail` , `success` |\n| payload.error | string | error text. Populated only on failure | |\n| payload.event | string | KYC status. Populated only if request is sucessful | `kyc.started`, `kyc.completed` |\n\n##### Examples\n```json\n{\n \"type\": \"investor_status\",\n \"ch\": \"investors\",\n \"payload\": {\n \"investor_id\" : \"inv-XUT11265\",\n \"status\" : \"success\", \n \"error\" : \"\", \n \"event\": \"kyc.completed\" \n },\n \"id\": \"fd232671-d47b-4ae2-a4c4-0a37258ffae5\",\n \"ts\": 1625660972222\n}\n```\n\n\n\n### publish payments\n\nThis channel publishes payment status related updates\n\n#### Message\n\nThe payments channel publishes the following message types:\n- `payment_update` : This message type is used to communicate updates to the status of the payment.\n\n##### Payload\n\t\t\t\n| Name | Type | Description | Accepted values | \n| ----------- | ----------- | ----------- | ----------- |\n| type | string | | `payment_update` |\n| ch | string | | `payments` |\n| payload.transaction_id | string | Unique Id of the payment | |\n| payload.pot_id | string | Id of the pot the payment is directed to | |\n| payload.reason | string | This field populated only when payment intent status is failed or cancelled, with reason for cancellation or failure | |\n| payload.status | string | | `pending_confirmation`, `processing`, `succeeded`, `cancelled`, `failed` |\n\n##### Examples\n\n```json\n{\n \"type\": \"payment_update\",\n \"ch\": \"payments\",\n \"payload\": {\n \"transaction_id\" : \"80784c92-8f9d-4150-b83c-dc\",\n \"pot_id\" : \"pot-GYQ5423100\",\n \"status\" : \"succeeded\"\n },\n \"id\": \"fd232671-d47b-4ae2-a4c4-0a37258ffae5\",\n \"ts\": 1625660972222\n}\n```\n\n\n\n### publish transactions\n\nThis channel publishes various transaction related updates.\n\n#### Message\n\nThe transactions channel publishes the following message types:\n- `transaction_initiated` : This message type is used to communicate a new transaction created within the system (e.g. a scheduled fee deduction, individual transactions of a portfolio rebalance etc.)\n- `transaction_updated` : This message type is used to communicate an update to a transaction.\n- `external_transaction_added` : This message type is used to communicate a new transaction created in the system via an external party (e.g. transaction created by a custodian).\n- `transaction_failed` : This message type is used to notify the user of a transaction failure.\n\n\n##### Payload\nFor further information regarding the description of fields in the payload, mandatory fields and conditionally returned fields etc. please refer [GET pending & past transactions of a pot](https://wos-gb.sandbox.wealthos.cloud/admin/documentation). \n\t\t\t\n| Name | Type | Description | Accepted values | \n| ----------- | ----------- | ----------- | ----------- |\n| type | string | | `transaction_updated`,`transaction_initiated`,`external_transaction_added` |\n| ch | string | | `transactions` |\n| payload.transaction_id | string | Unique Id of the transaction | |\n| payload.parent_transaction_id | string | Parent Transaction ID | |\n| payload.external_transaction_reference | string | External Transaction Reference | |\n| payload.pot_id | string | Pot ID of the transaction | |\n| payload.investment_product_id | string | Invetment Prouct ID or cash | |\n| payload.client_order_id | string | (Optional) Order identifier assigned by the wealth manager | |\n| payload.primary_transaction_type | string | Primary Transaction Type | `Fees`,`Buy`,`Sell`,`Transfers`,`Income`,`Tax`,`Contribution`,`Withdrawal`,`Corporate actions` |\n| payload.sub_transaction_type | string | Sub Transaction Type | `Dividend Reinvestment`,`Interest Reinvestment`,`Reinvestment`,`Buy`,`Sell Cancel`,`Switch Buy`,`Sell`,`Buy Cancel`,`Switch Sell`,`Lump sum`, `Lump sum - non relievable`, `Employer contribution`,`Employee contribution`,`Regular contribution`, `Regular contribution - non relievable`, `Regular contribution - Employer`, `Payment in for fees`,`Internal Transfer - Cash In`,`Internal Transfer - Stock In`,`Internal Transfer - Cash Out`,`Internal Transfer - Stock Out`,`Stock Transfer In`,`Cash Transfer In`,`Stock Transfer Out`,`Cash Transfer Out`,`Commission`,`Ancillary fee`,`Management fee`,`Fee credit`,`Fee rebate`,`Advisor ongoing fee`,`One-off advisor fee`,`Commission rebate`,`Custody fees`,`Dividends`,`Distributions`,`Interest`,`Other income`,`Takeovers, Mergers & Name Changes - Create`,`Takeovers, Mergers & Name Changes - Extinguish`,`Rights Expiry`,`Rights Exercise`,`Warrant Exercise`,`Fixed Income Maturity - Receive Capital`, `Fixed Income Maturity - Extinguish Bond Units`,`Fund Merger - Create New Fund Units`,`Fund Merger - Extinguish Old Fund Units`,`Rights Issue`,`Stock Dividend`,`Spin-Off`,`Warrant Issue`,`Stock Split`,`Fee Tax`,`Tax Relief`,`GST`,`HST`,`PST`,`QST`,`Withholding Tax`,`PAYE Tax`,`Non-resident Tax`,`Penalty`,`Contribution Refund`,`Income Withdrawal`,`Reversal`,`Withdrawal`,`Miscellaneous Corporate Action Exercise - Buy`,`Miscellaneous Corporate Action Exercise - Sell`, `Contribution Bonus` |\n| payload.type | string | Type of the transaction | `pending`,`archived` |\n| payload.sub_type | string | Sub type of the transaction | `instructed`,`confirmed`,`priced`,`rejected`,`settled`,`cancelled`, `scheduled`, `failed` |\n| payload.currency | string | Currency of the pot | |\n| payload.direction | string | Direction of the transaction | `in`,`out` |\n| payload.transaction_quantity | string | Quantity of the investment product transaction. This will be empty for cash transactions | |\n| payload.transaction_value | string | Value of the transaction | |\n| payload.execution_price | string | Executed price of the buy, sell transaction | |\n| payload.trade_date | date | Will indicate the date where this transaction was effected | |\n| payload.settlement_date | date | Intendent settlement date of the pending transaction or actual the settled day of the transaction | |\n| payload.created_at | time | Transaction created date | |\n| payload.updated_at | time | Transaction last updated date | |\n| payload.additional_external_details | Object | Additional external details of the transaction, This may be populated in reconciliation process | |\n| payload.origin | string | Origin of the transaction | `api`, `admin_ui`, `file_upload`, `system` | \n| payload.source_id | string | transactions created for payments intents - employer contributions for SIPP Accumulation Products | | \n| payload.reason | string | This field populated only when status is failed or canceled, with reason for cancellation or failure | | \n##### Examples\n\n```json\n{\n \"type\": \"transaction_updated\",\n \"ch\": \"transactions\",\n \"object\": {\n \"pot_id\":\"pot-GYQ5423100\",\n \"transaction_id\":\"80784c92-8f9d-4150-b83c-dc\",\n \"investment_product_id\":\"GB0000495209\",\n \"primary_transaction_type\":\"Buy\",\n \"sub_transaction_type\":\"Buy\",\n \"type\":\"archived\",\n \"sub_type\":\"settled\",\n \"currency\":\"GBP\",\n \"direction\":\"in\",\n \"transaction_quantity\":\"20\",\n \"transaction_value\":\"129.69\",\n \"execution_price\":\"6.45\",\n \"trade_date\":\"2021-08-06\",\n \"settlement_date\":\"2021-08-06\",\n \"origin\": \"admin_ui\",\n \"source_id\": \"cem-ASP43560\",\n \"created_at\":\"2021-08-06T09:25:44.251Z\",\n \"updated_at\":\"2021-08-06T09:27:18.003Z\",\n \"external_transaction_reference\": \"117709248888833\"\n },\n \"id\":\"8e754ef9-5d63-4c2a-9f43-ac42f588e122\",\n \"ts\":1628244517263\n}\n```\n\n\n### publish holdings\n\nThis channel publishes holdings related updates.\n\n#### Message\n\nThe holdings channel publishes the following message types:\n- `holding_updated` : This message type is used to communicate an update to the units of an investment product holding, or value of a cash holding.\n\n##### Payload\nFor further information regarding the description of fields in the payload, mandatory fields and conditionally returned fields etc. please refer [GET current holdings of a pot](https://wos-gb.sandbox.wealthos.cloud/admin/documentation). \n\t\t\t\n| Name | Type | Description | Accepted values | \n| ----------- | ----------- | ----------- | ----------- |\n| type | string | | `holding_updated` |\n| ch | string | | `holdings` | \n| payload.pot_id | string | Id of the pot the payment is directed to | |\n| payload.investment_product_id | string | Investment product ID or 'cash' for cash | |\n| payload.currency | string | Currency of the pot | |\n| payload.total_quantity | string | Total Quantity of the investment product holding. This value is empty for cash holdings | |\n| payload.free_quantity | string | Free Quantity of the investment product holding. This value is empty for cash holdings | |\n| payload.locked_quantity | string | Locked Quantity of the investment product holding. This value is empty for cash holdings | |\n| payload.total_value | string | Total Value of the holding | |\n| payload.free_value | string | Free Value of the holding | |\n| payload.locked_value | string | Locked Value of the holding | |\n| payload.investment_product_name | string | Name of the investment product | |\n| payload.price | string | Price of the holding | |\n| payload.price_date | time | The time which the price is updated | |\n| payload.average_book_cost | string | Per-unit book cost for a particular holding (applicable for investment product holdings only) | |\n| payload.cost_of_holding | string | Total book cost for the total units currently held within the pot (applicable for investment product holdings only) | |\n| payload.settled_cash_position | string | Settled cash amount within the pot (applicable for cash holdings only) | |\n| payload.additional_external_details | Object | Additional external details of the holding, This may be populated in reconciliation process | |\n\n##### Examples\n\n```json\n{\n \"type\": \"holding_updated\",\n \"ch\": \"holdings\",\n \"payload\": {\n \"pot_id\":\"pot-GYQ5423100\",\n \"investment_product_id\":\"GB0000495209\",\n \"currency\":\"GBP\",\n \"total_quantity\":\"20\",\n \"free_quantity\":\"20\",\n \"locked_quantity\":\"0\",\n \"total_value\":\"137.358\",\n \"free_value\":\"137.358\",\n \"locked_value\":\"0\",\n \"investment_product_name\":\"BlackRock European Dynamic Fund A Accumulation\",\n \"price\":\"6.8679\",\n \"price_date\":\"2021-08-06T09:27:37.512Z\",\n \"average_book_cost\": \"5\",\n \"cost_of_holding\": \"100\" \n },\n \"id\":\"8e754ef9-5d63-4c2a-9f43-ac42f588e122\",\n \"ts\":1628244517263\n}\n```\n\n \n\n### publish reconciliations\n\nThe reconciliations channel publishes the following message types:\n- `investor_summary` : This message type is used to communicate a summary of investor reconciliation process.\n- `investor_mismatch` : This message type is used to communicate all mismatches in each investor reconciliations process.\n- `pot_summary` : This message type is used to communicate a summary of pot reconciliation process.\n- `pot_mismatch` : This message type is used to communicate all mismatches in each pot reconciliations process.\n- `transaction_summary` : This message type is used to communicate a summary of transaction reconciliation process.\n- `transaction_mismatch` : This message type is used to communicate mismatches in each transaction reconciliations process.\n- `transaction_ingestion_failure` : This message type is used to communicate ingestion failures in each transaction reconciliations process.\n- `transaction_ignored` : This message type is used to communicate all ignored transactions in each transaction reconciliations process.\n- `holdings_summary` : This message type is used to communicate a summary of holding reconciliation process.\n- `holdings_mismatch` : This message type is used to communicate all mismatches in each holding reconciliations process.\n\n#### Investor summary message\n##### Payload\n\t\t\t\n\n| Name | Type | Description | Accepted values |\n| ----------- | ----------- | ----------- | ----------- |\n| type
Required | string | | `investor_summary` |\n| ch
Required | string | | `reconciliations` |\n| payload.job_id
Required | string | Unique Id of reconciliation process | |\n| payload.job_name
Required | string | type of reconciliations | |\n| payload.date
Required | string | date and time | |\n| payload.total_records
Required | number | total record count | |\n| payload.mismatched_records
Required | number | mismatched record count | |\n| payload.incoming_records
Required | number | incoming record count | |\n| payload.no_incoming_records
Required | number | no incoming record count | |\n\n\n##### Examples\n\n```json\n{\n \"type\":\"investor_summary\",\n \"ch\":\"reconciliations\",\n \"payload\":\n {\n \"job_id\":\"hydrangea-dc-210806-1628240463777\",\n \"job_name\":\"Investor Details\",\n \"date\":\"2021-08-09T06:49:34.227Z\",\n \"total_records\":1,\n \"mismatched_records\":1,\n \"incoming_records\": 0,\n \"no_incoming_records\": 0\n },\n \"id\":\"e1c7797f-f590-4490-a452-01894b33d014\",\n \"ts\":1628244517823\n}\n\n```\n\n#### Investor mismatch message\n##### Payload\n\n| Name | Type | Description | Accepted values |\n| ----------- | ----------- | ----------- | ----------- |\n| type
Required | string | | `investor_mismatch` |\n| ch
Required | string | | `reconciliations` |\n| payload.job_id
Required | string | Unique Id of reconciliation process | |\n| payload.date
Required | string | date and time | |\n| payload.record_id
Required | string | unique id of a record | |\n| payload.investor_id | string | unique id of the investor being reconciled (if available) | |\n| payload.record_status
Required | string | record status | `reconciled`, `unreconciled`, `not_found`, `key_unavailable` |\n| payload.fields | object | mismatched fields with field, incoming_value, available_value and status | |\n| payload.fields.field
Required | string | Name of the fields | |\n| payload.fields.incoming_value | string | Incoming value for the field | |\n| payload.fields.available_value | string | Available value for the field | |\n| payload.fields.status | string | status of the field | `mismatched`, `matched` |\n\n##### Examples\n\n```json\n{\n \"type\":\"investor_mismatch\",\n \"ch\":\"reconciliations\",\n \"payload\":\n {\n \"job_id\":\"hydrangea-dc-210806-1628240463777\",\n \"date\":\"2021-08-09T06:49:34.227Z\",\n \"record_id\":\"F180010Q\",\n \"record_status\":\"not_found\",\n \"fields\":\n [\n {\"field\":\"first_name\",\"incoming_value\":\"David\",\"available_value\": \"Dane\", \"status\":\"mismatched\"},\n {\"field\":\"last_name\",\"incoming_value\":\"Brown\", \"available_value\": \"Black\", \"status\":\"mismatched\"}\n ]\n },\n \"id\":\"8e754ef9-5d63-4c2a-9f43-ac42f588e122\",\n \"ts\":1628244517263\n}\n\n```\n\n#### Pot summary message\n##### Payload\n\t\t\t\n| Name | Type | Description | Accepted values | \n| ----------- | ----------- | ----------- | ----------- |\n| type
Required | string | | `pot_summary` |\n| ch
Required | string | | `reconciliations` |\n| payload.job_id
Required | string | Unique Id of reconciliation process | |\n| payload.job_name
Required | string | type of reconciliations | |\n| payload.date
Required | string | date and time | |\n| payload.total_records
Required | number | total record count | |\n| payload.mismatched_records
Required | number | mismatched record count | |\n| payload.incoming_records
Required | number | incoming record count | |\n| payload.no_incoming_records
Required | number | no incoming record count | |\n\n##### Examples\n\n```json\n{\n \"type\": \"pot_summary\",\n \"ch\": \"reconciliations\",\n \"payload\": {\n \"job_id\": \"dev14_recon_pot_200\",\n \"job_name\": \"Pot Details\",\n \"date\": \"2021-09-02T10:07:40.578Z\",\n \"total_records\": 91,\n \"mismatched_records\": 41,\n \"incoming_records\": 0,\n \"no_incoming_records\": 0\n },\n \"id\": \"c574d276-de4b-4014-80f3-80e54d31d3da\",\n \"ts\": 1630577304480\n}\n```\n\n#### Pot mismatch message\n##### Payload\n\n| Name | Type | Description | Accepted values | \n| ----------- | ----------- | ----------- | ----------- |\n| type
Required | string | | `pot_mismatch` |\n| ch
Required | string | | `reconciliations` |\n| payload.job_id
Required | string | Unique Id of reconciliation process | |\n| payload.date
Required | string | date and time | |\n| payload.record_id
Required | string | unique id of a record | |\n| payload.pot_id | string | unique id of the pot being reconciled (if available) | |\n| payload.record_status
Required | string | record status | `reconciled`, `unreconciled`, `not_found`, `key_unavailable` |\n| payload.fields | object | mismatched fields | |\n| payload.fields.field
Required | string | Name of the fields | |\n| payload.fields.incoming_value | string | Incoming value for the field | |\n| payload.fields.available_value | string | Available value for the field | |\n| payload.fields.status | string | status of the field | `matched`, `mismatched` |\n\n##### Examples\n\n```json\n{\n \"type\": \"pot_mismatch\",\n \"ch\": \"reconciliations\",\n \"payload\": {\n \"job_id\": \"dev14_recon_pot_200\",\n \"date\": \"2021-09-02T10:07:40.578Z\",\n \"record_id\": \"53_RWM\",\n \"record_status\": \"not_found\",\n \"fields\": [\n {\"field\": \"custodian_account_reference\",\"incoming_value\": \"F3A0023Q\",\"status\": \"mismatched\"},\n {\"field\": \"pot_currency\",\"incoming_value\": \"GBP\",\"status\": \"mismatched\"}\n \n ]\n },\n \"id\": \"7722f072-4e8d-48ec-ad4f-4543e64fb536\",\n \"ts\": 1630577304156\n}\n```\n\n#### Transaction summary message\n##### Payload\n\t\t\t\n| Name | Type | Description | Accepted values | \n| ----------- | ----------- | ----------- | ----------- |\n| type
Required | string | | `transaction_summary` |\n| ch
Required | string | | `reconciliations` |\n| payload.job_id
Required | string | Unique Id of reconciliation process | |\n| payload.job_name
Required | string | Name of the reconciliations job | |\n| payload.date
Required | string | date and time | |\n| payload.total_records
Required | number | total record count | |\n| payload.mismatched_records
Required | number | mismatched record count | |\n| payload.updated_records
Required | number | updated record count | |\n| payload.unable_to_ingest
Required | number | ingestion failed record count | |\n| payload.ignored_records
Required | number | ignored record count | |\n| payload.incoming_records
Required | number | incoming record count | |\n| payload.no_incoming_records
Required | number | no incoming record count | |\n\n\n##### Examples\n\n```json\n{\n \"type\": \"transaction_summary\",\n \"ch\": \"reconciliations\",\n \"payload\": {\n \"job_id\": \"dev10_cat_inv_178\",\n \"job_name\": \"Transaction Details\",\n \"date\": \"2021-08-18T09:08:27.171Z\",\n \"total_records\": 8,\n \"mismatched_records\": 1,\n \"updated_records\": 4,\n \"unable_to_ingest\": 1,\n \"ignored_records\": 1,\n \"incoming_records\": 7,\n \"no_incoming_records\": 1\n },\n \"id\": \"7d3614c7-3f63-4930-88df-062c5059047d\",\n \"ts\": 1629277726128\n}\n```\n\n#### Transaction mismatch message\n##### Payload\n\n| Name | Type | Description | Accepted values |\n| ----------- | ----------- | ----------- | ----------- |\n| type
Required | string | | `transaction_mismatch` |\n| ch
Required | string | | `reconciliations` |\n| payload.job_id
Required | string | Unique Id of reconciliation process | |\n| payload.date
Required | string | date and time | |\n| payload.record_id
Required | string | unique id of a record | |\n| payload.external_transaction_reference | string | External transaction reference (if available) | |\n| payload.transaction_ids | object | Transaction ids of mismatched records (if available) | |\n| payload.pot_id | string | Pot ID of the transaction (if available) | |\n| payload.record_status
Required | string | record status | `unreconciled`,`not_found`,`key_unavailable`, `multiple_found`, `no_incoming_record`, `updated` |\n| payload.fields | object | mismatched fields | |\n| payload.fields.field
Required | string | Name of the fields | |\n| payload.fields.incoming_value | string | Incoming value for the field | |\n| payload.fields.available_value | string | Available value for the field | |\n| payload.fields.status | string | status of the field | `matched`, `mismatched`, `key_value_missing` |\n\n##### Examples\n\n```json\n{\n\t\"type\":\"transaction_mismatch\",\n\t\"ch\":\"reconciliations\",\n\t\"payload\":{\"job_id\":\"peony-transaction_reconciliations-1630493472846\",\n\t\"date\":\"2021-09-01T10:51:18.577Z\",\n\t\"record_id\":\"2_RWM\",\n\t\"external_transaction_reference\":\"117709248888833\",\n \"transaction_ids\": [ \"80784c92-8f9d-4150-b83c-dc\" ],\n\t\"pot_id\":\"pot-GYQ5423100\",\n\t\"record_status\":\"unreconciled\",\n\t\"fields\":[\n\t{\n\t\t\"field\":\"primary_transaction_type\",\n\t\t\"incoming_value\":\"Buy\",\n\t\t\"available_value\":\"Corporate actions\",\n\t\t\"status\":\"mismatched\"\n\t},\n\t{\n\t\t\"field\":\"sub_transaction_type\",\n\t\t\"incoming_value\":\"Buy\",\n\t\t\"available_value\":\"Stock Split\",\n\t\t\"status\":\"mismatched\"\n },\n\t{\n\t\t\"field\":\"execution_price\",\n\t\t\"incoming_value\":null,\n\t\t\"status\":\"mismatched\"\n },\n\t{\n\t\t\"field\":\"trade_date\",\n\t\t\"incoming_value\":\"2021-08-31\",\n\t\t\"status\":\"mismatched\"\n\t},\n\t{\n\t\t\"field\":\"settlement_date\",\n\t\t\"incoming_value\":\"2021-09-02\",\n\t\t\"status\":\"mismatched\"\n\t}\n\t]\n},\n\t\"id\":\"0b3aa3b1-b14c-44ee-ac47-656149645ba9\",\n\t\"ts\":1630493491292\n}\n```\n\n#### Transaction ingestion failure message\n##### Payload\n\n| Name | Type | Description | Accepted values | \n| ----------- | ----------- | ----------- | ----------- |\n| type
Required | string | | `transaction_ingestion_failure` |\n| ch
Required | string | | `reconciliations` |\n| payload.job_id
Required | string | Unique Id of reconciliation process | |\n| payload.date
Required | string | date and time | |\n| payload.record_id
Required | string | unique id of a record | |\n| payload.external_transaction_reference | string | External transaction reference | |\n| payload.pot_id | string | Pot ID of the transaction (if available) | |\n| payload.record_status
Required | string | record status | `unable_to_ingest` |\n| payload.fields
Required | object | fields | |\n| payload.fields.field
Required | string | Name of the fields | |\n| payload.fields.incoming_value
Required | string | Incoming value for the field | |\n| payload.fields.status
Required | string | status of the field | `unrecognised`, `key_value_missing` |\n\n##### Examples\n\n```json\n{\n \"type\": \"transaction_ingestion_failure\",\n \"ch\": \"reconciliations\",\n \"payload\": {\n \"job_id\": \"peony-transaction_reconciliations-1630657432163\",\n \"date\": \"2021-09-03T08:23:54.373Z\",\n \"record_id\": \"3_RWM\",\n \"external_transaction_reference\": \"331738147053699\",\n \"record_status\": \"unable_to_ingest\",\n \"fields\": [\n {\n \"field\": \"custodian_account_reference\",\n \"incoming_value\": \"F3A0000A\",\n \"status\": \"unrecognised\"\n },\n {\n \"field\": \"pot_currency\",\n \"incoming_value\": \"GBP\",\n \"status\": \"unrecognised\"\n },\n {\n \"field\": \"investment_product_id\",\n \"incoming_value\": \"CA1358251\",\n \"status\": \"unrecognised\"\n }\n ]\n },\n \"id\": \"718f9758-e2b0-4a07-9cc6-8a6cb5aae419\",\n \"ts\": 1630657439928\n}\n```\n\n#### Transaction ignored failure message\n##### Payload\n\n| Name | Type | Description | Accepted values | \n| ----------- | ----------- | ----------- | ----------- |\n| type
Required | string | | `transaction_ignored` |\n| ch
Required | string | | `reconciliations` |\n| payload.job_id
Required | string | Unique Id of reconciliation process | |\n| payload.date
Required | string | date and time | |\n| payload.record_id
Required | string | unique id of a record | |\n| payload.record_status
Required | string | record status | `ignored` |\n\n##### Examples\n\n```json\n{\n \"type\": \"transaction_ignored\",\n \"ch\": \"reconciliations\",\n \"payload\": {\n \"job_id\": \"peony-transaction_reconciliations-1630657867836\",\n \"date\": \"2021-09-03T08:31:08.191Z\",\n \"record_id\": \"3_RWM\",\n \"record_status\": \"ignored\"\n },\n \"id\": \"8a82df6b-d34a-4eb9-91a1-b98cd18aa4e2\",\n \"ts\": 1630657913417\n} \n```\n#### Holding summary message\n##### Payload\n\t\t\t\n| Name | Type | Description | Accepted values | \n| ----------- | ----------- | ----------- | ----------- |\n| type
Required | string | | `holdings_summary` |\n| ch
Required | string | | `reconciliations` |\n| payload.job_id
Required | string | Unique Id of reconciliation process | |\n| payload.job_name
Required | string | type of reconciliations | |\n| payload.date
Required | string | date and time | |\n| payload.total_records
Required | number | total record count | |\n| payload.mismatched_records
Required | number | mismatched record count | |\n| payload.incoming_records
Required | number | incoming record count | |\n| payload.no_incoming_records
Required | number | no incoming record count | |\n\n##### Examples\n\n```json\n{\n \"type\":\"holdings_summary\",\n \"ch\":\"reconciliations\",\n \"payload\":\n {\n \"job_id\":\"cat-holding_reconciliations-1631619829926\",\n \"job_name\":\"Holdings Details\",\n \"date\":\"2021-08-09T06:49:34.227Z\",\n \"total_records\":10,\n \"mismatched_records\":5,\n \"incoming_records\": 0,\n \"no_incoming_records\": 0\n },\n \"id\":\"e1c7797f-f590-4490-a452-01894b33d014\",\n \"ts\":1628244517823\n}\n\n```\n\n#### Holding mismatch message\n##### Payload\n\n| Name | Type | Description | Accepted values | \n| ----------- | ----------- | ----------- | ----------- |\n| type
Required | string | | `holding_mismatch` |\n| ch
Required | string | | `reconciliations` |\n| payload.job_id
Required | string | Unique Id of reconciliation process | |\n| payload.date
Required | string | date and time | |\n| payload.record_id
Required | string | unique id of a record | |\n| payload.pot_id | string | unique id of the pot being reconciled (if available) | |\n| payload.investment_product_id | string | unique id of the investment product being reconciled (if available) | |\n| payload.record_status
Required | string | record status | `reconciled`, `unreconciled`, `not_found`, `key_unavailable` |\n| payload.fields | object | mismatched fields with field, incoming_value, available_value and status | |\n| payload.fields.field
Required | string | Name of the fields | |\n| payload.fields.incoming_value | string | Incoming value for the field | |\n| payload.fields.available_value | string | Available value for the field | |\n| payload.fields.status | string | status of the field | `mismatched`, `matched`, `updated` |\n\n##### Examples\n\n```json\n{\n \"type\":\"holding_mismatch\",\n \"ch\":\"reconciliations\",\n \"payload\":\n {\n \"job_id\":\"cat-holding_reconciliations-1631619829926\",\n \"date\":\"2021-08-09T06:49:34.227Z\",\n \"record_id\":\"RWM_9_sr\",\n \"pot_id\": \"pot-GYQ5423100\",\n \"investment_product_id\": \"pqr\",\n \"record_status\":\"not_found\",\n \"fields\":\n [\n {\"field\":\"custodian_account_reference\",\"incoming_value\":\"F180010Q\",\"status\":\"mismatched\"},\n {\"field\":\"free_value\",\"incoming_value\":0, \"status\":\"mismatched\"}\n ]\n },\n \"id\":\"8e754ef9-5d63-4c2a-9f43-ac42f588e122\",\n \"ts\":1628244517263\n}\n\n```\n\n \n\n### publish notifications\n\nThis channel publishes general notifications.\n\n#### Message\n\n\nThe notifications channel publishes the following message types:\n- `recurring_contribution_activated` : This message type is used to communicate activation of recurring contribution requests\n- `recurring_contribution_cancelled` : This message type is used to communicate cancellation of recurring contribution requests\n- `recurring_contribution_rejected` : This message type is used to communicate rejection of recurring contribution requests\n- `recurring_contribution_authorization_url_received` : This message type is used to communicate that the authorization url is received for the recurring contribution\n- `recurring_contribution_resumed` : This message type is used to communicate resuming of recurring contribution requests\n- `recurring_contribution_finished` : This message type is used to communicate completion of recurring contribution requests\n- `recurring_contribution_updated` : This message type is used to communicate updates (mandate transferr, mandate replacement) of recurring contribution requests\n- `HMRC_LISA_investor_creation_failed` : This message type is used to communicate rejection of HMRC LISA investor creation requests\n- `HMRC_LISA_account_creation_failed` : This message type is used to communicate rejection of HMRC LISA investor account creation requests\n- `HMRC_LISA_account_creation_successful` : This message type is used to communicate completion of HMRC LISA investor and account creation requests\n\n#### Recurring contribution activation message\n##### Payload\n\t\t\t\n| Name | Type | Description | Accepted values | \n| ----------- | ----------- | ----------- | ----------- |\n| type
Required | string | | `recurring_contribution_activated` |\n| ch
Required | string | | `notifications` |\n| payload.status
Required | string | Status of the recurring contribution | |\n| payload.contribution_name
Required | string | User given identifier for the contribution | |\n| payload.pot_id
Required | string | Pot ID of investor to direct the payment | |\n| payload.investor_id
Required | string | Investor ID of the investor making the contribution | |\n| payload.amount
Required | string | Amount as a numeral string with two decimal points | |\n| payload.sub_transaction_type
Required | string | Sub transaction type for recurring contribution | `Regular contribution`, `Regular contribution - non relievable`, `Regular contribution - Employer` |\n| payload.currency
Required | string | Currency configured for the pot | |\n| payload.payment_type
Required | string | Type of payment | |\n| payload.service_provider
Required | string | Service provider managing the recurring payment subscription | |\n| payload.purpose
Required | string | Purpose of the recurring contribution | `cash`, `invest` |\n| payload.source_id | string | Only for payments intents for employer contributions made towards SIPP Accumulation Products | |\n| payload.payment_schedule
Required | object | Parameters based on payment schedules | |\n| payload.payment_schedule.interval_unit
Required | string | Repeating interval unit of recurring payment | `monthly` |\n| payload.payment_schedule.interval
Required | number | Repeating interval of recurring payment | |\n| payload.payment_schedule.date | number | Date the payment is expected to be triggered if frequency is monthly | |\n| payload.payment_schedule.start_date
Required | string | Date to initiate the recurring payments | |\n| payload.payment_schedule.end_date | string | Date to conclude the recurring payments, if count is not provided | |\n| payload.payment_schedule.count | number | No of recurring payments to trigger before concluding the payments, if an end date is not provided | |\n| payload.contribution_id
Required | string | System generated unique id | |\n| payload.service_provider_params
Required | object | Parameters based on service provider | |\n| payload.service_provider_params.status
Required | string | Status transitions depend on the service provider | |\n| payload.service_provider_params.reason
Required | string | Reason for disabling/cancelling the contribution | |\n\n##### Examples\n```json\n{\n \"type\": \"recurring_contribution_activated\",\n \"ch\": \"notifications\",\n \"payload\": {\n \"status\": \"Active\",\n \"contribution_name\": \"GIA contribution-1\",\n \"pot_id\": \"pot-XWL3805770\",\n \"investor_id\": \"inv-QRY29279\",\n \"amount\": \"1000060.12\",\n \"sub_transaction_type\": \"Regular contribution\",\n \"currency\": \"GBP\",\n \"payment_type\": \"direct_debit\",\n \"service_provider\": \"gocardless\",\n \"purpose\": \"cash\",\n \"payment_schedule\": {\n \"interval_unit\": \"monthly\",\n \"interval\": 7,\n \"date\": 1,\n \"start_date\": \"2024-04-02T00:00:00.000Z\",\n \"end_date\": \"2024-04-03T00:00:00.000Z\"\n },\n \"contribution_id\": \"RCB-GC-JSJ6709\",\n \"service_provider_params\": {\n \"status\": \"Subscription created\",\n \"authorization_reference\" : \"EV0159P7DZB2P6\",\n \"contribution_reference\" : \"BRQ00030E3DXA4P\",\n \"request_id\" : \"BRF00014ZXYN5V4F05M90GZEQCARE84K\",\n \"authorization_url\": \"https://authexample.gocardless-sandbox.com\"\n }\n },\n \"id\": \"952c7d0a-ecc6-4538-86f4-ad021f6855d0\",\n \"ts\": 1683086449658,\n \"resend\": true\n}\n```\n\n#### Recurring contribution cancellation message\n##### Payload\n\t\t\t\n| Name | Type | Description | Accepted values | \n| ----------- | ----------- | ----------- | ----------- |\n| type
Required | string | | `recurring_contribution_cancelled` |\n| ch
Required | string | | `notifications` |\n| payload.status
Required | string | Status of the recurring contribution | |\n| payload.contribution_name
Required | string | User given identifier for the contribution | |\n| payload.pot_id
Required | string | Pot ID of investor to direct the payment | |\n| payload.investor_id
Required | string | Investor ID of the investor making the contribution | |\n| payload.amount
Required | string | Amount as a numeral string with two decimal points | |\n| payload.sub_transaction_type
Required | string | Sub transaction type for recurring contribution | `Regular contribution`, `Regular contribution - non relievable`, `Regular contribution - Employer` |\n| payload.currency
Required | string | Currency configured for the pot | |\n| payload.payment_type
Required | string | Type of payment | |\n| payload.service_provider
Required | string | Service provider managing the recurring payment subscription | |\n| payload.purpose
Required | string | Purpose of the recurring contribution | `cash`, `invest` |\n| payload.source_id | string | Only for payments intents for employer contributions made towards SIPP Accumulation Products | |\n| payload.payment_schedule
Required | object | Parameters based on payment schedules | |\n| payload.payment_schedule.interval_unit
Required | string | Repeating interval unit of recurring payment | `monthly` |\n| payload.payment_schedule.interval
Required | number | Repeating interval of recurring payment | |\n| payload.payment_schedule.date | number | Date the payment is expected to be triggered if frequency is monthly | |\n| payload.payment_schedule.start_date
Required | string | Date to initiate the recurring payments | |\n| payload.payment_schedule.end_date | string | Date to conclude the recurring payments, if count is not provided | |\n| payload.payment_schedule.count | number | No of recurring payments to trigger before concluding the payments, if an end date is not provided | |\n| payload.contribution_id
Required | string | System generated unique id | |\n| payload.service_provider_params
Required | object | Parameters based on service provider | |\n| payload.service_provider_params.status
Required | string | Status transitions depend on the service provider | |\n| payload.service_provider_params.reason
Required | string | Reason for disabling/cancelling the contribution | |\n\n##### Examples\n```json\n{\n \"type\": \"recurring_contribution_cancelled\",\n \"ch\": \"notifications\",\n \"payload\": {\n \"status\": \"Cancelled\",\n \"contribution_name\": \"GIA contribution-1\",\n \"pot_id\": \"pot-XWL3805770\",\n \"investor_id\": \"inv-QRY29279\",\n \"amount\": \"1000060.12\",\n \"sub_transaction_type\": \"Regular contribution\",\n \"currency\": \"GBP\",\n \"payment_type\": \"direct_debit\",\n \"service_provider\": \"gocardless\",\n \"purpose\": \"cash\",\n \"payment_schedule\": {\n \"interval_unit\": \"monthly\",\n \"interval\": 7,\n \"date\": 1,\n \"start_date\": \"2024-04-02T00:00:00.000Z\",\n \"end_date\": \"2024-04-03T00:00:00.000Z\"\n },\n \"contribution_id\": \"RCB-GC-JSJ6709\",\n \"service_provider_params\": {\n \"status\": \"Subscription cancelled\",\n \"authorization_reference\" : \"EV0159P7DZB2P6\",\n \"contribution_reference\" : \"BRQ00030E3DXA4P\",\n \"request_id\" : \"BRF00014ZXYN5V4F05M90GZEQCARE84K\",\n \"authorization_url\": \"https://authexample.gocardless-sandbox.com\",\n \"reason\" : \"The mandate for this subscription was cancelled at a bank branch.\"\n }\n },\n \"id\": \"952c7d0a-ecc6-4538-86f4-ad021f6855d0\",\n \"ts\": 1683086449658,\n \"resend\": true\n}\n```\n\n#### Recurring contribution rejection message\n##### Payload\n\t\t\t\n| Name | Type | Description | Accepted values | \n| ----------- | ----------- | ----------- | ----------- |\n| type
Required | string | | `recurring_contribution_rejected` |\n| ch
Required | string | | `notifications` |\n| payload.status
Required | string | Status of the recurring contribution | |\n| payload.contribution_name
Required | string | User given identifier for the contribution | |\n| payload.pot_id
Required | string | Pot ID of investor to direct the payment | |\n| payload.investor_id
Required | string | Investor ID of the investor making the contribution | |\n| payload.amount
Required | string | Amount as a numeral string with two decimal points | |\n| payload.sub_transaction_type
Required | string | Sub transaction type for recurring contribution | `Regular contribution`, `Regular contribution - non relievable`, `Regular contribution - Employer` |\n| payload.currency
Required | string | Currency configured for the pot | |\n| payload.payment_type
Required | string | Type of payment | |\n| payload.service_provider
Required | string | Service provider managing the recurring payment subscription | |\n| payload.purpose
Required | string | Purpose of the recurring contribution | `cash`, `invest` |\n| payload.source_id | string | Only for payments intents for employer contributions made towards SIPP Accumulation Products | |\n| payload.payment_schedule
Required | object | Parameters based on payment schedules | |\n| payload.payment_schedule.interval_unit
Required | string | Repeating interval unit of recurring payment | `monthly` |\n| payload.payment_schedule.interval
Required | number | Repeating interval of recurring payment | |\n| payload.payment_schedule.date | number | Date the payment is expected to be triggered if frequency is monthly | |\n| payload.payment_schedule.start_date
Required | string | Date to initiate the recurring payments | |\n| payload.payment_schedule.end_date | string | Date to conclude the recurring payments, if count is not provided | |\n| payload.payment_schedule.count | number | No of recurring payments to trigger before concluding the payments, if an end date is not provided | |\n| payload.contribution_id
Required | string | System generated unique id | |\n| payload.service_provider_params
Required | object | Parameters based on service provider | |\n| payload.service_provider_params.status
Required | string | Status transitions depend on the service provider | |\n| payload.service_provider_params.reason
Required | string | Reason for disabling/cancelling the contribution | |\n\n##### Examples\n```json\n{\n \"type\": \"recurring_contribution_rejected\",\n \"ch\": \"notifications\",\n \"payload\": {\n \"status\": \"Rejected\",\n \"contribution_name\": \"GIA contribution-1\",\n \"pot_id\": \"pot-XWL3805770\",\n \"investor_id\": \"inv-QRY29279\",\n \"amount\": \"1000060.12\",\n \"sub_transaction_type\": \"Regular contribution\",\n \"currency\": \"GBP\",\n \"payment_type\": \"direct_debit\",\n \"service_provider\": \"gocardless\",\n \"purpose\": \"cash\",\n \"payment_schedule\": {\n \"interval_unit\": \"monthly\",\n \"interval\": 7,\n \"date\": 1,\n \"start_date\": \"2024-04-02T00:00:00.000Z\",\n \"end_date\": \"2024-04-03T00:00:00.000Z\"\n },\n \"contribution_id\": \"RCB-GC-JSJ6709\",\n \"service_provider_params\": {\n \"status\": \"Pending service provider setup\",\n \"reason\": \"One of your parameters was incorrectly typed\"\n }\n },\n \"id\": \"952c7d0a-ecc6-4538-86f4-ad021f6855d0\",\n \"ts\": 1683086449658,\n \"resend\": true\n}\n```\n\n#### Recurring contribution authorization url received message\n##### Payload\n\t\t\t\n| Name | Type | Description | Accepted values | \n| ----------- | ----------- | ----------- | ----------- |\n| type
Required | string | | `recurring_contribution_authorization_url_received` |\n| ch
Required | string | | `notifications` |\n| payload.status
Required | string | Status of the recurring contribution | |\n| payload.contribution_name
Required | string | User given identifier for the contribution | |\n| payload.pot_id
Required | string | Pot ID of investor to direct the payment | |\n| payload.investor_id
Required | string | Investor ID of the investor making the contribution | |\n| payload.amount
Required | string | Amount as a numeral string with two decimal points | |\n| payload.sub_transaction_type
Required | string | Sub transaction type for recurring contribution | `Regular contribution`, `Regular contribution - non relievable`, `Regular contribution - Employer` |\n| payload.currency
Required | string | Currency configured for the pot | |\n| payload.payment_type
Required | string | Type of payment | |\n| payload.service_provider
Required | string | Service provider managing the recurring payment subscription | |\n| payload.purpose
Required | string | Purpose of the recurring contribution | `cash`, `invest` |\n| payload.source_id | string | Only for payments intents for employer contributions made towards SIPP Accumulation Products | |\n| payload.payment_schedule
Required | object | Parameters based on payment schedules | |\n| payload.payment_schedule.interval_unit
Required | string | Repeating interval unit of recurring payment | `monthly` |\n| payload.payment_schedule.interval
Required | number | Repeating interval of recurring payment | |\n| payload.payment_schedule.date | number | Date the payment is expected to be triggered if frequency is monthly | |\n| payload.payment_schedule.start_date
Required | string | Date to initiate the recurring payments | |\n| payload.payment_schedule.end_date | string | Date to conclude the recurring payments, if count is not provided | |\n| payload.payment_schedule.count | number | No of recurring payments to trigger before concluding the payments, if an end date is not provided | |\n| payload.contribution_id
Required | string | System generated unique id | |\n| payload.service_provider_params
Required | object | Parameters based on service provider | |\n| payload.service_provider_params.status
Required | string | Status transitions depend on the service provider | |\n| payload.service_provider_params.request_id
Required | string | Request ID used to create a contribution with the service provider | |\n| payload.service_provider_params.authorization_url
Required | string | Authorization URL sent by service provider to setup customer reference data and bank account information | |\n\n##### Examples\n```json\n{\n \"type\": \"recurring_contribution_rejected\",\n \"ch\": \"notifications\",\n \"payload\": {\n \"status\": \"Pending\",\n \"contribution_name\": \"Sanjali SIPP contribution\",\n \"pot_id\": \"pot-XWL3805775\",\n \"investor_id\": \"inv-NNO44399\",\n \"amount\": \"1000\",\n \"sub_transaction_type\": \"Regular contribution\",\n \"currency\": \"GBP\",\n \"payment_type\": \"direct_debit\",\n \"service_provider\": \"gocardless\",\n \"purpose\": \"cash\",\n \"payment_schedule\": {\n \"interval_unit\": \"monthly\",\n \"interval\": 1,\n \"start_date\": \"Thu Jun 01 2023 00:00:00 GMT+0000 (Coordinated Universal Time)\",\n \"date\": 1,\n \"count\": 10\n },\n \"financial_product_id\": \"sipp_accumulation\",\n \"contribution_id\": \"RCB-GC-JDJ4807\",\n \"service_provider_params\": {\n \"status\": \"Pending service provider setup\",\n \"request_id\": \"BRQ0003R0RBM2BK\",\n \"authorization_url\": \"https://pay-sandbox.gocardless.com/billing/static/flow?id=BRF0001BM491H7NWGZ6W2Z5NMVV7GP4T\"\n }\n },\n \"id\": \"852c7d0a-ecc6-4538-86f4-ad021f6855k0\",\n \"ts\": 1684086449658,\n \"resend\": true\n}\n```\n\n#### Recurring contribution resume message\n##### Payload\n\t\t\t\n| Name | Type | Description | Accepted values | \n| ----------- | ----------- | ----------- | ----------- |\n| type
Required | string | | `recurring_contribution_resumed` |\n| ch
Required | string | | `notifications` |\n| payload.status
Required | string | Status of the recurring contribution | |\n| payload.contribution_name
Required | string | User given identifier for the contribution | |\n| payload.pot_id
Required | string | Pot ID of investor to direct the payment | |\n| payload.investor_id
Required | string | Investor ID of the investor making the contribution | |\n| payload.amount
Required | string | Amount as a numeral string with two decimal points | |\n| payload.sub_transaction_type
Required | string | Sub transaction type for recurring contribution | `Regular contribution`, `Regular contribution - non relievable`, `Regular contribution - Employer` |\n| payload.currency
Required | string | Currency configured for the pot | |\n| payload.payment_type
Required | string | Type of payment | |\n| payload.service_provider
Required | string | Service provider managing the recurring payment subscription | |\n| payload.purpose
Required | string | Purpose of the recurring contribution | `cash`, `invest` |\n| payload.source_id | string | Only for payments intents for employer contributions made towards SIPP Accumulation Products | |\n| payload.payment_schedule
Required | object | Parameters based on payment schedules | |\n| payload.payment_schedule.interval_unit
Required | string | Repeating interval unit of recurring payment | `monthly` |\n| payload.payment_schedule.interval
Required | number | Repeating interval of recurring payment | |\n| payload.payment_schedule.date | number | Date the payment is expected to be triggered if frequency is monthly | |\n| payload.payment_schedule.start_date
Required | string | Date to initiate the recurring payments | |\n| payload.payment_schedule.end_date | string | Date to conclude the recurring payments, if count is not provided | |\n| payload.payment_schedule.count | number | No of recurring payments to trigger before concluding the payments, if an end date is not provided | |\n| payload.contribution_id
Required | string | System generated unique id | |\n| payload.service_provider_params
Required | object | Parameters based on service provider | |\n| payload.service_provider_params.status
Required | string | Status transitions depend on the service provider | |\n| payload.service_provider_params.reason
Required | string | Reason for disabling/cancelling the contribution | |\n\n##### Examples\n```json\n{\n \"type\": \"recurring_contribution_resumed\",\n \"ch\": \"notifications\",\n \"payload\": {\n \"status\": \"Active\",\n \"contribution_name\": \"GIA contribution-1\",\n \"pot_id\": \"pot-XWL3805770\",\n \"investor_id\": \"inv-QRY29279\",\n \"amount\": \"1000060.12\",\n \"sub_transaction_type\": \"Regular contribution\",\n \"currency\": \"GBP\",\n \"payment_type\": \"direct_debit\",\n \"service_provider\": \"gocardless\",\n \"purpose\": \"cash\",\n \"payment_schedule\": {\n \"interval_unit\": \"monthly\",\n \"interval\": 7,\n \"date\": 1,\n \"start_date\": \"2024-04-02T00:00:00.000Z\",\n \"end_date\": \"2024-04-03T00:00:00.000Z\"\n },\n \"contribution_id\": \"RCB-GC-JSJ6709\",\n \"service_provider_params\": {\n \"status\": \"Subscription resumed\",\n \"authorization_reference\" : \"EV0159P7DZB2P6\",\n \"contribution_reference\" : \"BRQ00030E3DXA4P\",\n \"request_id\" : \"BRF00014ZXYN5V4F05M90GZEQCARE84K\",\n \"authorization_url\": \"https://authexample.gocardless-sandbox.com\"\n }\n },\n \"id\": \"952c7d0a-ecc6-4538-86f4-ad021f6855d0\",\n \"ts\": 1683086449658,\n \"resend\": true\n}\n```\n\n#### Recurring contribution completion message\n##### Payload\n\t\t\t\n| Name | Type | Description | Accepted values | \n| ----------- | ----------- | ----------- | ----------- |\n| type
Required | string | | `recurring_contribution_finished` |\n| ch
Required | string | | `notifications` |\n| payload.status
Required | string | Status of the recurring contribution | |\n| payload.contribution_name
Required | string | User given identifier for the contribution | |\n| payload.pot_id
Required | string | Pot ID of investor to direct the payment | |\n| payload.investor_id
Required | string | Investor ID of the investor making the contribution | |\n| payload.amount
Required | string | Amount as a numeral string with two decimal points | |\n| payload.sub_transaction_type
Required | string | Sub transaction type for recurring contribution | `Regular contribution`, `Regular contribution - non relievable`, `Regular contribution - Employer` |\n| payload.currency
Required | string | Currency configured for the pot | |\n| payload.payment_type
Required | string | Type of payment | |\n| payload.service_provider
Required | string | Service provider managing the recurring payment subscription | |\n| payload.purpose
Required | string | Purpose of the recurring contribution | `cash`, `invest` |\n| payload.source_id | string | Only for payments intents for employer contributions made towards SIPP Accumulation Products | |\n| payload.payment_schedule
Required | object | Parameters based on payment schedules | |\n| payload.payment_schedule.interval_unit
Required | string | Repeating interval unit of recurring payment | `monthly` |\n| payload.payment_schedule.interval
Required | number | Repeating interval of recurring payment | |\n| payload.payment_schedule.date | number | Date the payment is expected to be triggered if frequency is monthly | |\n| payload.payment_schedule.start_date
Required | string | Date to initiate the recurring payments | |\n| payload.payment_schedule.end_date | string | Date to conclude the recurring payments, if count is not provided | |\n| payload.payment_schedule.count | number | No of recurring payments to trigger before concluding the payments, if an end date is not provided | |\n| payload.contribution_id
Required | string | System generated unique id | |\n| payload.service_provider_params
Required | object | Parameters based on service provider | |\n| payload.service_provider_params.status
Required | string | Status transitions depend on the service provider | |\n| payload.service_provider_params.reason
Required | string | Reason for disabling/cancelling the contribution | |\n\n##### Examples\n```json\n{\n \"type\": \"recurring_contribution_finished\",\n \"ch\": \"notifications\",\n \"payload\": {\n \"status\": \"Finished\",\n \"contribution_name\": \"GIA contribution-1\",\n \"pot_id\": \"pot-XWL3805770\",\n \"investor_id\": \"inv-QRY29279\",\n \"amount\": \"1000060.12\",\n \"sub_transaction_type\": \"Regular contribution\",\n \"currency\": \"GBP\",\n \"payment_type\": \"direct_debit\",\n \"service_provider\": \"gocardless\",\n \"purpose\": \"cash\",\n \"payment_schedule\": {\n \"interval_unit\": \"monthly\",\n \"interval\": 7,\n \"date\": 1,\n \"start_date\": \"2024-04-02T00:00:00.000Z\",\n \"end_date\": \"2024-04-03T00:00:00.000Z\"\n },\n \"contribution_id\": \"RCB-GC-JSJ6709\",\n \"service_provider_params\": {\n \"status\": \"Subscription finished\",\n \"authorization_reference\" : \"EV0159P7DZB2P6\",\n \"contribution_reference\" : \"BRQ00030E3DXA4P\",\n \"request_id\" : \"BRF00014ZXYN5V4F05M90GZEQCARE84K\",\n \"authorization_url\": \"https://authexample.gocardless-sandbox.com\",\n \"reason\" : \"The subscription has finished.\"\n }\n },\n \"id\": \"952c7d0a-ecc6-4538-86f4-ad021f6855d0\",\n \"ts\": 1683086449658,\n \"resend\": true\n}\n```\n\n#### Recurring contribution update message\n##### Payload\n\t\t\t\n| Name | Type | Description | Accepted values | \n| ----------- | ----------- | ----------- | ----------- |\n| type
Required | string | | `recurring_contribution_updated` |\n| ch
Required | string | | `notifications` |\n| payload.status
Required | string | Status of the recurring contribution | |\n| payload.contribution_name
Required | string | User given identifier for the contribution | |\n| payload.pot_id
Required | string | Pot ID of investor to direct the payment | |\n| payload.investor_id
Required | string | Investor ID of the investor making the contribution | |\n| payload.amount
Required | string | Amount as a numeral string with two decimal points | |\n| payload.sub_transaction_type
Required | string | Sub transaction type for recurring contribution | `Regular contribution`, `Regular contribution - non relievable`, `Regular contribution - Employer` |\n| payload.currency
Required | string | Currency configured for the pot | |\n| payload.payment_type
Required | string | Type of payment | |\n| payload.service_provider
Required | string | Service provider managing the recurring payment subscription | |\n| payload.purpose
Required | string | Purpose of the recurring contribution | `cash`, `invest` |\n| payload.source_id | string | Only for payments intents for employer contributions made towards SIPP Accumulation Products | |\n| payload.payment_schedule
Required | object | Parameters based on payment schedules | |\n| payload.payment_schedule.interval_unit
Required | string | Repeating interval unit of recurring payment | `monthly` |\n| payload.payment_schedule.interval
Required | number | Repeating interval of recurring payment | |\n| payload.payment_schedule.date | number | Date the payment is expected to be triggered if frequency is monthly | |\n| payload.payment_schedule.start_date
Required | string | Date to initiate the recurring payments | |\n| payload.payment_schedule.end_date | string | Date to conclude the recurring payments, if count is not provided | |\n| payload.payment_schedule.count | number | No of recurring payments to trigger before concluding the payments, if an end date is not provided | |\n| payload.contribution_id
Required | string | System generated unique id | |\n| payload.service_provider_params
Required | object | Parameters based on service provider | |\n| payload.service_provider_params.status
Required | string | Status transitions depend on the service provider | |\n| payload.service_provider_params.reason
Required | string | Reason for disabling/cancelling the contribution | |\n\n##### Examples\n```json\n{\n \"type\": \"recurring_contribution_updated\",\n \"ch\": \"notifications\",\n \"payload\": {\n \"status\": \"Active\",\n \"contribution_name\": \"GIA contribution-1\",\n \"pot_id\": \"pot-XWL3805770\",\n \"investor_id\": \"inv-QRY29279\",\n \"amount\": \"1000060.12\",\n \"sub_transaction_type\": \"Regular contribution\",\n \"currency\": \"GBP\",\n \"payment_type\": \"direct_debit\",\n \"service_provider\": \"gocardless\",\n \"purpose\": \"cash\",\n \"payment_schedule\": {\n \"interval_unit\": \"monthly\",\n \"interval\": 7,\n \"date\": 1,\n \"start_date\": \"2024-04-02T00:00:00.000Z\",\n \"end_date\": \"2024-04-03T00:00:00.000Z\"\n },\n \"contribution_id\": \"RCB-GC-JSJ6709\",\n \"service_provider_params\": {\n \"status\": \"Mandate replaced\",\n \"authorization_reference\" : \"EV1059P8HGJ6P6\",\n \"contribution_reference\" : \"BRQ00030E3DXA4P\",\n \"request_id\" : \"BRF00014ZXYN5V4F05M90GZEQCARE84K\",\n \"authorization_url\": \"https://authexample.gocardless-sandbox.com\"\n }\n },\n \"id\": \"952c7d0a-ecc6-4538-86f4-ad021f6855d0\",\n \"ts\": 1683086449658,\n \"resend\": true\n}\n```\n\n#### HMRC LISA investor creation failed message\n##### Payload\n\t\t\t\n| Name | Type | Description | Accepted values | \n| ----------- | ----------- | ----------- | ----------- |\n| type
Required | string | | `HMRC_LISA_investor_creation_failed` |\n| ch
Required | string | | `notifications` |\n| payload.investor_id
Required | string | Investor id of the investor account | |\n| payload.account_id
Required | string | Account id of the investor account | |\n| payload.hmrc_data
Required | object | HMRC related data | |\n| payload.hmrc_data.status
Required | string | Indicate the status of the LISA investor and investor account creation with HMRC | |\n| payload.hmrc_data.reason
Required | string | Reason for failure | |\n\n##### Examples\n```json\n{\n \"type\": \"HMRC_LISA_investor_creation_failed\",\n \"ch\": \"notifications\",\n \"payload\": {\n \"investor_id\": \"inv-QRY29279\",\n \"account_id\": \"LISAC1699158978930\",\n \"hmrc_data\": {\n \"status\": \"hmrc_investor_creation_failed\",\n \"reason\": \"The HMRC request contains invalid or missing data\"\n }\n },\n \"id\": \"952c7d0a-ecc6-4538-86f4-ad021f6855d0\",\n \"ts\": 1683086449658,\n \"resend\": true\n}\n```\n\n#### HMRC LISA account creation failed message\n##### Payload\n\t\t\t\n| Name | Type | Description | Accepted values | \n| ----------- | ----------- | ----------- | ----------- |\n| type
Required | string | | `HMRC_LISA_account_creation_failed` |\n| ch
Required | string | | `notifications` |\n| payload.investor_id
Required | string | Investor id of the investor account | |\n| payload.account_id
Required | string | Account id of the investor account | |\n| payload.hmrc_data
Required | object | HMRC related data | |\n| payload.hmrc_data.status
Required | string | Indicate the status of the LISA investor and investor account creation with HMRC | |\n| payload.hmrc_data.reason
Required | string | Reason for failure | |\n\n##### Examples\n```json\n{\n \"type\": \"HMRC_LISA_account_creation_failed\",\n \"ch\": \"notifications\",\n \"payload\": {\n \"investor_id\": \"inv-QRY29279\",\n \"account_id\": \"LISAC1699158978930\",\n \"hmrc_data\": {\n \"status\": \"hmrc_account_creation_failed\",\n \"reason\": \"The HMRC request contains invalid or missing data\"\n }\n },\n \"id\": \"952c7d0a-ecc6-4538-86f4-ad021f6855d0\",\n \"ts\": 1683086449658,\n \"resend\": true\n}\n```\n\n#### HMRC LISA account creation successful message\n##### Payload\n\t\t\t\n| Name | Type | Description | Accepted values | \n| ----------- | ----------- | ----------- | ----------- |\n| type
Required | string | | `HMRC_LISA_account_creation_successful` |\n| ch
Required | string | | `notifications` |\n| payload.investor_id
Required | string | Investor id of the investor account | |\n| payload.account_id
Required | string | Account id of the investor account | |\n| payload.hmrc_data
Required | object | HMRC related data | |\n| payload.hmrc_data.status
Required | string | Indicate the status of the LISA investor and investor account creation with HMRC | |\n| payload.hmrc_data.lisa_investor_reference
Required | object | HMRC LISA investor reference | |\n\n##### Examples\n```json\n{\n \"type\": \"HMRC_LISA_account_creation_successful\",\n \"ch\": \"notifications\",\n \"payload\": {\n \"investor_id\": \"inv-QRY29279\",\n \"account_id\": \"LISAC1699158978930\",\n \"hmrc_data\": {\n \"status\": \"hmrc_account_creation_successful\",\n \"lisa_investor_reference\": \"5305636328\" \n }\n },\n \"id\": \"952c7d0a-ecc6-4538-86f4-ad021f6855d0\",\n \"ts\": 1683086449658,\n \"resend\": true\n}\n```" version: v1 x-logo: url: >- data:image/svg+xml;base64,PHN2ZyBzdHlsZT0ibWF4LXdpZHRoOiAyMjBweDsgbWFyZ2luOiBhdXRvIiB2aWV3Qm94PSIwIDAgMTQwIDQwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yNS4wMzEgMzIuNzgyN0wxOC4wMzQgMjguNjYwMlYxOC43NDU0TDMxLjg1ODEgMjYuOTAzN1YyOC43NTg0TDI1LjAzMSAzMi43ODI3Wk0yLjExMjU1IDIxLjEzODVIMTEuOTkxNUwxNS45MzY3IDE4LjgxNDdWMzYuODg5NUwyLjExMjU1IDI4Ljc1MDlWMjEuMTM4NVpNMTguMDQ1MyAzMS4xNDRMMjIuOTI4MSAzNC4wMjIyTDE4LjA0MTMgMzYuODg5NUwxOC4wNDUzIDMxLjE0NFpNMTEuNjkxMiA1LjYwMjg5VjEwLjQxMzlMNy45Mjk1NSAxMi42MzcxVjE1LjExODZMMTMuNzkyNCAxMS42NDgyVjQuMzYxNTlMMTYuOTg2NSAyLjQ4MzE4TDIwLjE4MzkgNC4zNjUwNVYxMS42NTM0TDI2LjA0NjIgMTUuMTI0M1YxMi42MzcxTDIyLjI4NjggMTAuNDEzOVY1LjYwNTJMMzEuODY1NSAxMS4yNDUxVjE4Ljk5MjFIMjIuNjU5NkwxNy4wNTA1IDE1LjY4TDExLjQyNDQgMTguOTkyMUgyLjEwOTE1VjExLjI0NTFMMTEuNjkxMiA1LjYwMjg5Wk0zMS44NjU1IDI0LjQxOTlMMjYuMzA0IDIxLjE0MjVIMzEuODY1NVYyNC40MTk5Wk0xNi45ODY1IDBMMCAxMC4wMDE0VjMwLjAwMDNMMTYuOTg2NSA0MEwzMy45NzQxIDMwLjAwMDNWMTAuMDAxNEwxNi45ODY1IDBaIiBmaWxsPSIjMzcwMEIzIj48L3BhdGg+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTcuOTQ0NzYgMjYuOTY5MkwxMC4wNTE2IDI4LjIwODhWMjQuMDQ3Nkg3Ljk0NDc2VjI2Ljk2OTJaIiBmaWxsPSIjMzcwMEIzIj48L3BhdGg+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTUwLjk4MSAyMi45OTE0TDQ2Ljc0MTIgMjAuMzgyM0w0Mi41MDMxIDIyLjk5MTRWMTUuNDI1Mkg0MC4zNTQ5VjI2Ljg3MDdMNDYuNzQxMiAyMi45NDExTDUzLjEyOTMgMjYuODcwN1YxNS40MjUySDUwLjk4MVYyMi45OTE0WiIgZmlsbD0iIzM3MDBCMyI+PC9wYXRoPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik03NC41NjMyIDIwLjA1NDdINjkuMjk4Nkw3MS45MzQ2IDE3LjA5MzNMNzQuNTYzMiAyMC4wNTQ3Wk03My40Mjg1IDE1LjQxMzZINzAuNDQwN0w3MC40ODQzIDE1LjQ2MTVMNjYuNTAzNCAxOS45MzY5VjI2Ljg3ODFINjguNjUxNlYyMi4yNTA4SDc1LjIxNzVWMjYuODc4MUg3Ny4zNjhWMTkuOTM2OUw3My4zOTYyIDE1LjQ2MTVMNzMuNDI4NSAxNS40MTM2WiIgZmlsbD0iIzM3MDBCMyI+PC9wYXRoPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMDguNTkgMjAuMDU0OEgxMDIuMDI0VjE1LjQyOTJIOTkuODczOFYyNi44NzA2SDEwMi4wMjRWMjIuMjQ1MUgxMDguNTlWMjYuODcwNkgxMTAuNzRWMTUuNDI5MkgxMDguNTlWMjAuMDU0OFoiIGZpbGw9IiMzNzAwQjMiPjwvcGF0aD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTI1LjU0NiAyMi41MjI5TDEyMy40ODggMjQuNjIwOEgxMjAuNjJMMTE4LjU2MiAyMi41MjI5VjE5LjcxNzRMMTIwLjYyIDE3LjYxOTVIMTIzLjQ5MUwxMjUuNTQ4IDE5LjcxNzRMMTI1LjU0NiAyMi41MjI5Wk0xMTkuNzI3IDE1LjQyOTJMMTE2LjQxMiAxOC44MDk0VjIzLjQzNjdMMTE5LjcyNyAyNi44MTY5SDEyNC4zNzlMMTI3LjY5NCAyMy40MzY3VjE4LjgwOTRMMTI0LjM3OSAxNS40MjkySDExOS43MjdaIiBmaWxsPSIjMzcwMEIzIj48L3BhdGg+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTU1LjI2MDYgMjYuODcwOUg2NC4zNTMyVjI0LjY4MDVINTcuNDEwNlYyMi4yNDUzSDYxLjg0NThWMjAuMDU1SDU3LjQxMDZWMTcuNjE5Mkg2NC4zNTMyVjE1LjQyODhINTUuMjYwNlYyNi44NzA5WiIgZmlsbD0iIzM3MDBCMyI+PC9wYXRoPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik04Ni40NDE1IDE3LjYxOTRIOTEuMDM4OFYyNi44NzExSDkzLjE4ODhWMTcuNjE5NEg5Ny43MjU0VjE1LjQyOTFIODYuNDQxNVYxNy42MTk0WiIgZmlsbD0iIzM3MDBCMyI+PC9wYXRoPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik04MS42NDc0IDE1LjQxMTlINzkuNDk5MlYyNi44NzA2SDg2LjQxM1YyNC42ODAzSDgxLjY0NzRWMTUuNDExOVoiIGZpbGw9IiMzNzAwQjMiPjwvcGF0aD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTM2LjY3OSAyMC4wNDUySDEzMy4xNDVDMTMyLjQ5NCAyMC4wNDUyIDEzMS45NjYgMTkuNTA3NCAxMzEuOTY2IDE4Ljg0MzdDMTMxLjk2NiAxOC4xOCAxMzIuNDk0IDE3LjY0MjMgMTMzLjE0NSAxNy42NDIzSDEzNy44NFYxNS40Mjg4SDEzMy4xNDlDMTMxLjMwNCAxNS40MyAxMjkuODA5IDE2Ljk1NTUgMTI5LjgxMSAxOC44MzYyQzEyOS44MTIgMjAuNzE1MiAxMzEuMzA2IDIyLjIzODQgMTMzLjE0OSAyMi4yMzk1SDEzNi42ODFDMTM3LjMyOCAyMi4yNDM2IDEzNy44NTEgMjIuNzgwMiAxMzcuODUxIDIzLjQ0MDRWMjMuNDZDMTM3Ljg1MiAyNC4xMjE0IDEzNy4zMjggMjQuNjU5MiAxMzYuNjc5IDI0LjY2MDlIMTI5Ljg1MlYyNi44NjUxSDEzNi42NzlDMTM4LjUxNyAyNi44NTc2IDE0MC4wMDMgMjUuMzM0NCAxNDAgMjMuNDZWMjMuNDQwNEMxMzkuOTk4IDIxLjU3MDEgMTM4LjUxMyAyMC4wNTI3IDEzNi42NzkgMjAuMDQ1MloiIGZpbGw9IiMzNzAwQjMiPjwvcGF0aD4KICAgICAgICAgICAgICAgICAgICAgICAgPC9zdmc+ x-tagGroups: - name: Tenant x-api-status-urls: false x-konfig-ignore: object-with-no-properties: true potential-incorrect-type: true servers: - url: https://web_host_name tags: - description: >- The Investor endpoint allows you to create investors, update investors and retrieve investor records in bulk or individually. If a KYC/AML service has been set-up through the system (e.g. Onfido), then the investor will be verified using this service. When retrieving the investor, the following fields will provide information regarding the investor’s status that can be used for deciding on what subsequent investor action must be permitted. * dealing_status: Normally set to Active once KYC/AML passes, however may be independently set by administrators if required. * kyc_aml_status - the status of the KYC/AML check. * Status - ultimate status of the investor derived from dealing_status and kcy_aml_status. If the system is not set-up to manage the KYC/AML service then the wealth manager must specify the `kyc_aml_status` and `dealing_status` on investor creation and update. The `status` of the investor will be consider active only when the `kyc_aml_status : "clear"` and `dealing_status : "active"` name: Investors - description: > Pots allows a wealth manager to compartmentalise investments made by (or on behalf of) an investor to represent different savings goals, risk appetite and investment instructions (e.g. model portfolios). An Investor can have multiple pots for a financial product (e.g within the General Investment Account, one pot could be to target a house purchase goal whereas another pot could target savings for school fees etc.). Each pot consists of cash, investment product holdings, both cash and investments or nothing (empty pot - pending investments). This end point also returns key information related to the pot (e.g. value, total holdings etc.) as well as transaction history for the pot. ### Current Holdings and Transaction History #### Current Holding * Cash : `investment_product_id` will be specified as `cash`. For cash holdings, `free_quantity` and `free_value` will return the cash that is settled and available, while `locked_quantity` and `locked_value` returns the value of cash which is locked (i.e unsettled, ringfenced for a fee deduction etc.) and cannot be used.`total_quantity` and `total_value` will be the total of free and locked. * Investment Products : For investment product holdings, `total_quantity` return the total number of units held of an investment product within the pot, `locked-quantity` returns the total number of unit which are locked (e.g. ringfenced to be sold) and `free-quantity` returns number of units available for trading. Value of the holdings are calculated using latest available price. So the formula to calculate the value of the investment products holdings will be `quantity`*`price`. #### Pending Transactions * Cash : `type : pending`,`direction : in` (if cash is inbound) or `out` (if cash is withdrawn - functionality not available yet). * Investment products : `type : pending`,`direction : in`(buy instruction) or `out` (sell instruction). #### Archived Transactions (historical) * Cash : `type = archived`, `direction= in` (if cash is inbound) or `out` (if cash is withdrawn - functionality not available yet) and `sub-type : "rejected" or "cancelled"`for a failed transaction, and `sub-type = "confirmed"or "settled"` for a successful transaction. * Investment Products : `type = archived`, `direction= in` (buy instruction) or `out` (sell instruction) and `sub-type = "rejected"or "cancelled"` for a failed transaction, and `sub-type = "confirmed"or "settled"` for a successful transaction. name: Pots, Holdings and Transactions - description: >- The recurring contribution endpoints allow a tenant to manage their investors regular contribution requests. name: Recurring Contributions - description: >-

ⓘ This feature is currently in BETA mode

Workplace employers are an entity where organizations can create workplace employers and manage them. This API endpoint allows you to create, update, and retrieve workplace employers. Additionally, it provides the capability to view the employees (investors) attached to a particular workplace employer. name: Workplace Employers - description: >+ A portfolio template captures how an investor’s cash (once transferred to a pot) should be automatically invested by the system. A portfolio template consists of a set of investment products and the ratios in which these products must be bought, once cleared cash is available to invest. For example, a portfolio template ‘PT1’ has the following template Investment Product | Ratio -------------------|------- Investment Product A | 20% Investment Product B | 30% Investment Product C | 50% If GBP 100 is transferred to a pot linked to Portfolio template PT1, the following buy orders will be triggered * BUY Investment Product A for GBP 20 * BUY Investment Product B for GBP 30 * BUY Investment Product C for GBP 50 ### Portfolio Creation Portfolio Templates can be created by the Wealth Manger (generic set of portfolio templates created in the system and a single template will be assigned to an Investor’s pot based on suitability - e.g. robo advisory) The ratios of investment products within a portfolio template must add up to a 100% - if this is not the case, the system will reject the portfolio creation or update. Once cleared cash is available in a pot, the system can be instructed to trigger investment product buy requests based on the portfolio template linked to the pot. name: Portfolio Templates - description: >- Investment products (e.g. mutual funds, ETFs, stocks etc.) are bought and sold by the investor (or by the wealth manager on the investor’s behalf). The Investment Products endpoint returns all the investment products that are offered by the wealth manager, as well as the current market price. The wealth manager must specify the universe of supported investment products via the Admin UI. name: Investment Products - description: >- The rebalancing feature provides advisors and portfolio managers the ability to evaluate which pots have drifted significantly from their target portfolios, and trigger a rebalance execution for these pots to bring the holdings back to parity with the pot's target portfolio. Driven by a single rebalance request, the system completely orchestrates this multi-day buy/sell process across a host of different pots, with status updates being provided via API endpoints and web sockets. name: Rebalance - description: > The Fees endpoints allow a wealth manager to manage fees in terms of creating and charging an external fee or retrieving information on fee configurations setup in the system for recurring fee computations. name: Fees - description: >- The recurring withdrawal endpoints allow a tenant to manage regular withdrawals of investor pots. name: Recurring Withdrawals - description: >- The Bank Account endpoint allows a wealth manager to create, update and retrieve the bank account details of an investor. An investor can have one or more bank accounts within the system and a default bank account should always be configured. Every bank account has an account status that represents the `active` or `inactive` status of an account. Only `active` bank accounts can be used for any transactions in the system. Currently bank accounts can be created for investors and contributing employers. The ownership is reflected in the `bank_account_type` field. name: Bank Accounts - name: Contributing Employers - description: >- The Payments endpoint allows you to put cash into a specific pot in your account by sending a payment intent. This intent must capture the following information regarding the payment: * Details regarding payment such as the `amount` to collect and the `currency` * Supported `payment_type` (card payments, electronic fund transfers etc.). * Associated key information to track a payment (e.g. `pot_id`). * Intention of payment: * Cash into the pot only, do not invest (`purpose: "cash"`) * Invest based on the portfolio attached to the investor (`purpose: "invest"` and `investment_instructions` not populated) * Invest based on attached instructions (`purpose: "invest"` and `investment_instructions` populated). If the pot has a portfolio attached, then the priority will be given to investment instructions. If the investment instructions apply only for a propotion of money coming in, then the rest will be added as cash. Additionaly, if the `service_provider` is given as `"truelayer"` accept an extra object `service_provider_params` where you have to provide the `bank_account_id` as a key-value pair and you will recieve this object in response including the fields, `bank_account_id`, `payment_intent_id` and `hpp_url`. (e.g `"service_provider_params: {"bank_account_id": "ba-82faf049...", "payment_intent_id: 91aa9de...", "hpp_url":"https://..."}"`). For `"stripe"`, in the response, you will receive the `payment_intent_id`, `client_secret` and `publishable_key` inside that additional object with the value you used for `payment_type` as its field name. (e.g. `"service_provider_params": {"payment_intent_id: 91aa9de...", "client_secret": "pi_XXXXX", "publishable_key": "pk_test_XXXXX", .....}`). These values will be used with the client library for each payment call for the following purposes. * `payment_intent_id` - to uniquely identify your payment intent * `client_secret` - The client secret of the PaymentIntent. Required if a publishable key is used to retrieve the source. * `publishable_key` - to uniquely identify your payment service account * `hpp_url` - The redirect URL for proceed with bank payment (only for Truelayer) name: Payments - description: > The "Transactions" endpoint grouping encompasses various endpoints associated with transactions. This section includes a collection of endpoints that facilitate creation and retrieval of different types of transactions. A transaction to buy or sell an investment product can be specified in units (i.e. buy/sell n number of units of the investment product) or as a value (i.e. buy/sell up to n value of the investment product). Also, these endpoints support single or bulk buy/sell transactions. name: Transactions - description: >- An investor account is designed to manage a group of pots attached to a single financial product. A user can maintain multiple accounts for a given financial product if the product regulations support this setup. name: Investor Accounts - description: >- The Switch Instruction endpoints allow you to switch existing holdings (cash and investment products) to a new set of investment products via a single instruction. You can specify the holdings you want to sell along with a `mode` and `value` (e.g. number of units to be sold, total value of holding to be sold or % of holding to be sold) and the investment products you want to buy (using the proceeds of the sales and and/or free cash available in the pot). The buy instructions can also be specified with a `mode` and `value` (e.g. number of units to buy, total value of holding to be bought or % of proceeds to be used to buy specific investment product). You can view the status of your switch instruction at any point through the API (both the overall 'parent' switch instruction as well as the individual 'child' buy/sell transactions). name: Switch Instruction - description: >- The Withdrawal endpoint allows an investor to withdraw money from one of his/her pots. name: Withdrawals - description: >- The projection endpoint provides a projection of pension accounts. For SIPP Accumulation accounts, projection is provided for the end of the 1st, 3rd, and 5th years and the retirement year by default. \ For monthly drawdown, projection is provided for end of the 5th and 10th years and the year when investor’s age where the pension fund goes to zero by default. If it is not going to zero before investor ages 100 years, response will be `The pension will last beyond the 100th year` name: Projections - description: The crystallisation endpoints allow a tenant to manage their drawdowns. name: SIPP Crystallisation - description: > Test methods are used for easier testing of connectivity, keys and tokens. Since they are not tied to a speific functionality you can use them freely name: Test Methods - description: >- Financial Products are the tax wrapper investment vehicles offered by the Wealth Manager (e.g. General Investment Accounts, Stocks and Shares ISAs, SIPPs, LISAs etc.). The Financial Products endpoint returns all financial products and their configurations setup by the Wealth Manager via the Admin UI. name: Financial Products - description: >- Wealth Managers require various types of rates (e.g. spot fx rates, interest rates) for valuations, currency conversations etc. The Rates endpoint returns all the configured rate types along with the latest available rate. name: Rates - description: >- The utility endpoint allows the Wealth Manager to upload information required by the system to support the daily operations (e.g. file uploads for daily jobs, calendar updates etc.) name: Utility - description: >- The "LISA Transactions" section is tailored exclusively for the financial product Lifetime ISA (LISA). It includes a specialized set of endpoints designed to handle transactions related to LISA accounts' unique features and requirements. name: LISA Transactions paths: /tenant/test/hello-world-be: get: tags: - Test Methods summary: Wealth Manager Greeting for BE operationId: TestMethods_getBEGreetings security: - ApiSecretKey: [] responses: '200': description: A greeting message which identifies the tenant content: application/json: schema: $ref: '#/components/schemas/TestMethodsGetBeGreetingsResponse' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/TestMethodsGetBeGreetings403Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/TestMethodsGetBeGreetings429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/TestMethodsGetBeGreetings500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url https://web_host_name/tenant/test/hello-world-be \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/test/hello-world-be", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: |- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/test/hello-world-be") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/test/hello-world-be\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/investors/v1: summary: Investor resource management get: tags: - Investors summary: Get All Investors operationId: Investors_getAll security: - ApiSecretKey: [] description: Returns all the investors in an array parameters: - description: >- Page size for the query. This end-point has paginations capabilities. This value should be a positive integer value. If this is not provided or provided without page_number, both page_size and page_number will be defaulted to 500 and 1. Max page size is 2000. Results are sorted decending order of the created date & time. name: page_size schema: type: string in: query required: false - description: >- Page number for the query. This end-point has paginations capabilities. This value should be a positive integer value. If this is not provided or provided without page_size, both page_size and page_number will be defaulted to 500 and 1. Results are sorted decending order of the created date & time. name: page_number schema: type: string in: query required: false - description: Sorting order; results are sorted by creation time. name: sort schema: type: string default: desc enum: - asc - desc in: query required: false responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/InvestorsGetAllResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/InvestorsGetAll400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/InvestorsGetAll401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/InvestorsGetAll403Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/InvestorsGetAll429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/InvestorsGetAll500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url 'https://web_host_name/tenant/investors/v1?page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE' \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/investors/v1?page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/investors/v1?page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/investors/v1?page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" post: tags: - Investors summary: Create Investor operationId: Investors_createNewInvestor security: - ApiSecretKey: [] description: Create a new investor in the system. parameters: [] requestBody: content: application/json: schema: $ref: '#/components/schemas/InvestorsCreateNewInvestorRequest' required: true responses: '201': description: Resource created content: application/json: schema: $ref: '#/components/schemas/InvestorsCreateNewInvestorResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/InvestorsCreateNewInvestor400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/InvestorsCreateNewInvestor401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/InvestorsCreateNewInvestor403Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/InvestorsCreateNewInvestor429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/InvestorsCreateNewInvestor500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request POST \ --url https://web_host_name/tenant/investors/v1 \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"title":"Mr.","gender":"male","first_name":"David","last_name":"Brown","email":"davidbrown@gmail.com","mobile_number":"+441234567890","home_number":"+441234587830","office_number":"+442072343456","nationality":"GBR","tax_id":"AB123456C","kyc_aml_status":"not_started","dealing_status":"inactive","id_numbers":[{"id_type":"passport","id_number":"2324839048381"}],"address":{"postal_code":"S2 2DF","address_line":"14","street_name":"Tottenham Court Road","city":"London","state":"England","country":"GBR"},"mifid_tax_id":"2382392274","tax_residency_compliant":true,"date_of_birth":"1990-12-20","retirement_age":60,"tax_residence":"GB-ENG","employment_status":"employed","mpaa_triggered":true,"mpaa_triggered_date":"2023-01-30","workplace_employers":["wem-AHY58878"],"lta_protection_details":[{"lta_protection_type":"primary","lta_primary_protection_factor":"20.00"},{"lta_protection_type":"fp14"}],"expression_of_wish":{"sipp_beneficiaries":[{"title":"Mr.","first_name":"William","last_name":"Smith","address":"13 Park Row,Edinburgh, United Kingdom","tax_id":"AB123956P","phone_number":"+441332960321","email":"davidbrown@gmail.com","percentage":"75.00"},{"title":"Miss.","first_name":"Jessica","last_name":"Smith","address":"14 Park Row,Edinburgh, United Kingdom","tax_id":"KL123956M","phone_number":"+441630960345","email":"jessicasmith@gmail.com","percentage":"25.00"}],"sipp_nominees":[{"title":"Mr.","first_name":"James","last_name":"Brown","address":"87 Colorado Way,Richmond, United Kingdom","tax_id":"XY123956Z","phone_number":"+441630960322","email":"jamesbrown@gmail.com","percentage":"50.00"},{"title":"Mrs.","first_name":"Emily","last_name":"Brown","address":"4 Baldock Street, Newtown, United Kingdom","tax_id":"SY123956P","phone_number":"+441615960345","email":"emilybrown@gmail.com","percentage":"50.00"}]},"bank_accounts":[{"account_name":"David Brown","default_account":"yes","bank_account_number":"12345678","account_status":"active","sort_code":"123456","building_society_roll_number":"12345672"}]}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "POST", "hostname": "web_host_name", "port": null, "path": "/tenant/investors/v1", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ title: 'Mr.', gender: 'male', first_name: 'David', last_name: 'Brown', email: 'davidbrown@gmail.com', mobile_number: '+441234567890', home_number: '+441234587830', office_number: '+442072343456', nationality: 'GBR', tax_id: 'AB123456C', kyc_aml_status: 'not_started', dealing_status: 'inactive', id_numbers: [{id_type: 'passport', id_number: '2324839048381'}], address: { postal_code: 'S2 2DF', address_line: '14', street_name: 'Tottenham Court Road', city: 'London', state: 'England', country: 'GBR' }, mifid_tax_id: '2382392274', tax_residency_compliant: true, date_of_birth: '1990-12-20', retirement_age: 60, tax_residence: 'GB-ENG', employment_status: 'employed', mpaa_triggered: true, mpaa_triggered_date: '2023-01-30', workplace_employers: ['wem-AHY58878'], lta_protection_details: [ {lta_protection_type: 'primary', lta_primary_protection_factor: '20.00'}, {lta_protection_type: 'fp14'} ], expression_of_wish: { sipp_beneficiaries: [ { title: 'Mr.', first_name: 'William', last_name: 'Smith', address: '13 Park Row,Edinburgh, United Kingdom', tax_id: 'AB123956P', phone_number: '+441332960321', email: 'davidbrown@gmail.com', percentage: '75.00' }, { title: 'Miss.', first_name: 'Jessica', last_name: 'Smith', address: '14 Park Row,Edinburgh, United Kingdom', tax_id: 'KL123956M', phone_number: '+441630960345', email: 'jessicasmith@gmail.com', percentage: '25.00' } ], sipp_nominees: [ { title: 'Mr.', first_name: 'James', last_name: 'Brown', address: '87 Colorado Way,Richmond, United Kingdom', tax_id: 'XY123956Z', phone_number: '+441630960322', email: 'jamesbrown@gmail.com', percentage: '50.00' }, { title: 'Mrs.', first_name: 'Emily', last_name: 'Brown', address: '4 Baldock Street, Newtown, United Kingdom', tax_id: 'SY123956P', phone_number: '+441615960345', email: 'emilybrown@gmail.com', percentage: '50.00' } ] }, bank_accounts: [ { account_name: 'David Brown', default_account: 'yes', bank_account_number: '12345678', account_status: 'active', sort_code: '123456', building_society_roll_number: '12345672' } ] })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/investors/v1") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"title\":\"Mr.\",\"gender\":\"male\",\"first_name\":\"David\",\"last_name\":\"Brown\",\"email\":\"davidbrown@gmail.com\",\"mobile_number\":\"+441234567890\",\"home_number\":\"+441234587830\",\"office_number\":\"+442072343456\",\"nationality\":\"GBR\",\"tax_id\":\"AB123456C\",\"kyc_aml_status\":\"not_started\",\"dealing_status\":\"inactive\",\"id_numbers\":[{\"id_type\":\"passport\",\"id_number\":\"2324839048381\"}],\"address\":{\"postal_code\":\"S2 2DF\",\"address_line\":\"14\",\"street_name\":\"Tottenham Court Road\",\"city\":\"London\",\"state\":\"England\",\"country\":\"GBR\"},\"mifid_tax_id\":\"2382392274\",\"tax_residency_compliant\":true,\"date_of_birth\":\"1990-12-20\",\"retirement_age\":60,\"tax_residence\":\"GB-ENG\",\"employment_status\":\"employed\",\"mpaa_triggered\":true,\"mpaa_triggered_date\":\"2023-01-30\",\"workplace_employers\":[\"wem-AHY58878\"],\"lta_protection_details\":[{\"lta_protection_type\":\"primary\",\"lta_primary_protection_factor\":\"20.00\"},{\"lta_protection_type\":\"fp14\"}],\"expression_of_wish\":{\"sipp_beneficiaries\":[{\"title\":\"Mr.\",\"first_name\":\"William\",\"last_name\":\"Smith\",\"address\":\"13 Park Row,Edinburgh, United Kingdom\",\"tax_id\":\"AB123956P\",\"phone_number\":\"+441332960321\",\"email\":\"davidbrown@gmail.com\",\"percentage\":\"75.00\"},{\"title\":\"Miss.\",\"first_name\":\"Jessica\",\"last_name\":\"Smith\",\"address\":\"14 Park Row,Edinburgh, United Kingdom\",\"tax_id\":\"KL123956M\",\"phone_number\":\"+441630960345\",\"email\":\"jessicasmith@gmail.com\",\"percentage\":\"25.00\"}],\"sipp_nominees\":[{\"title\":\"Mr.\",\"first_name\":\"James\",\"last_name\":\"Brown\",\"address\":\"87 Colorado Way,Richmond, United Kingdom\",\"tax_id\":\"XY123956Z\",\"phone_number\":\"+441630960322\",\"email\":\"jamesbrown@gmail.com\",\"percentage\":\"50.00\"},{\"title\":\"Mrs.\",\"first_name\":\"Emily\",\"last_name\":\"Brown\",\"address\":\"4 Baldock Street, Newtown, United Kingdom\",\"tax_id\":\"SY123956P\",\"phone_number\":\"+441615960345\",\"email\":\"emilybrown@gmail.com\",\"percentage\":\"50.00\"}]},\"bank_accounts\":[{\"account_name\":\"David Brown\",\"default_account\":\"yes\",\"bank_account_number\":\"12345678\",\"account_status\":\"active\",\"sort_code\":\"123456\",\"building_society_roll_number\":\"12345672\"}]}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/investors/v1\"\n\n\tpayload := strings.NewReader(\"{\\\"title\\\":\\\"Mr.\\\",\\\"gender\\\":\\\"male\\\",\\\"first_name\\\":\\\"David\\\",\\\"last_name\\\":\\\"Brown\\\",\\\"email\\\":\\\"davidbrown@gmail.com\\\",\\\"mobile_number\\\":\\\"+441234567890\\\",\\\"home_number\\\":\\\"+441234587830\\\",\\\"office_number\\\":\\\"+442072343456\\\",\\\"nationality\\\":\\\"GBR\\\",\\\"tax_id\\\":\\\"AB123456C\\\",\\\"kyc_aml_status\\\":\\\"not_started\\\",\\\"dealing_status\\\":\\\"inactive\\\",\\\"id_numbers\\\":[{\\\"id_type\\\":\\\"passport\\\",\\\"id_number\\\":\\\"2324839048381\\\"}],\\\"address\\\":{\\\"postal_code\\\":\\\"S2 2DF\\\",\\\"address_line\\\":\\\"14\\\",\\\"street_name\\\":\\\"Tottenham Court Road\\\",\\\"city\\\":\\\"London\\\",\\\"state\\\":\\\"England\\\",\\\"country\\\":\\\"GBR\\\"},\\\"mifid_tax_id\\\":\\\"2382392274\\\",\\\"tax_residency_compliant\\\":true,\\\"date_of_birth\\\":\\\"1990-12-20\\\",\\\"retirement_age\\\":60,\\\"tax_residence\\\":\\\"GB-ENG\\\",\\\"employment_status\\\":\\\"employed\\\",\\\"mpaa_triggered\\\":true,\\\"mpaa_triggered_date\\\":\\\"2023-01-30\\\",\\\"workplace_employers\\\":[\\\"wem-AHY58878\\\"],\\\"lta_protection_details\\\":[{\\\"lta_protection_type\\\":\\\"primary\\\",\\\"lta_primary_protection_factor\\\":\\\"20.00\\\"},{\\\"lta_protection_type\\\":\\\"fp14\\\"}],\\\"expression_of_wish\\\":{\\\"sipp_beneficiaries\\\":[{\\\"title\\\":\\\"Mr.\\\",\\\"first_name\\\":\\\"William\\\",\\\"last_name\\\":\\\"Smith\\\",\\\"address\\\":\\\"13 Park Row,Edinburgh, United Kingdom\\\",\\\"tax_id\\\":\\\"AB123956P\\\",\\\"phone_number\\\":\\\"+441332960321\\\",\\\"email\\\":\\\"davidbrown@gmail.com\\\",\\\"percentage\\\":\\\"75.00\\\"},{\\\"title\\\":\\\"Miss.\\\",\\\"first_name\\\":\\\"Jessica\\\",\\\"last_name\\\":\\\"Smith\\\",\\\"address\\\":\\\"14 Park Row,Edinburgh, United Kingdom\\\",\\\"tax_id\\\":\\\"KL123956M\\\",\\\"phone_number\\\":\\\"+441630960345\\\",\\\"email\\\":\\\"jessicasmith@gmail.com\\\",\\\"percentage\\\":\\\"25.00\\\"}],\\\"sipp_nominees\\\":[{\\\"title\\\":\\\"Mr.\\\",\\\"first_name\\\":\\\"James\\\",\\\"last_name\\\":\\\"Brown\\\",\\\"address\\\":\\\"87 Colorado Way,Richmond, United Kingdom\\\",\\\"tax_id\\\":\\\"XY123956Z\\\",\\\"phone_number\\\":\\\"+441630960322\\\",\\\"email\\\":\\\"jamesbrown@gmail.com\\\",\\\"percentage\\\":\\\"50.00\\\"},{\\\"title\\\":\\\"Mrs.\\\",\\\"first_name\\\":\\\"Emily\\\",\\\"last_name\\\":\\\"Brown\\\",\\\"address\\\":\\\"4 Baldock Street, Newtown, United Kingdom\\\",\\\"tax_id\\\":\\\"SY123956P\\\",\\\"phone_number\\\":\\\"+441615960345\\\",\\\"email\\\":\\\"emilybrown@gmail.com\\\",\\\"percentage\\\":\\\"50.00\\\"}]},\\\"bank_accounts\\\":[{\\\"account_name\\\":\\\"David Brown\\\",\\\"default_account\\\":\\\"yes\\\",\\\"bank_account_number\\\":\\\"12345678\\\",\\\"account_status\\\":\\\"active\\\",\\\"sort_code\\\":\\\"123456\\\",\\\"building_society_roll_number\\\":\\\"12345672\\\"}]}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/investors/v1/{investor_id}: summary: Investor resource management get: tags: - Investors summary: Get Investor operationId: Investors_getInvestorDetails security: - ApiSecretKey: [] description: Get details of an investor parameters: - description: Investor Id in: path name: investor_id schema: type: string required: true responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/InvestorsGetInvestorDetailsResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/InvestorsGetInvestorDetails400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/InvestorsGetInvestorDetails401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/InvestorsGetInvestorDetails403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/InvestorsGetInvestorDetails404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/InvestorsGetInvestorDetails429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/InvestorsGetInvestorDetails500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url https://web_host_name/tenant/investors/v1/%7Binvestor_id%7D \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/investors/v1/%7Binvestor_id%7D", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/investors/v1/%7Binvestor_id%7D") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/investors/v1/%7Binvestor_id%7D\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" patch: tags: - Investors summary: Update Investor operationId: Investors_updateInvestorDetails security: - ApiSecretKey: [] description: >- Update an existing investor. The system will update only the fields sent in the request. Field mentioned as Nullable can be deleted by updating those values with null. Sending empty values for fields will not update the fields. parameters: - description: Investor Id in: path name: investor_id schema: type: string required: true requestBody: content: application/json: schema: $ref: '#/components/schemas/InvestorsUpdateInvestorDetailsRequest' required: true responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/InvestorsUpdateInvestorDetailsResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/InvestorsUpdateInvestorDetails400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/InvestorsUpdateInvestorDetails401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/InvestorsUpdateInvestorDetails403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/InvestorsUpdateInvestorDetails404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/InvestorsUpdateInvestorDetails429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/InvestorsUpdateInvestorDetails500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request PATCH \ --url https://web_host_name/tenant/investors/v1/%7Binvestor_id%7D \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"title":"Mr.","gender":"male","first_name":"David","last_name":"Brown","email":"davidbrown@gmail.com","mobile_number":"+441234567890","home_number":"+441234587830","office_number":"+442072343456","nationality":"GBR","tax_id":"AB123456C","kyc_aml_status":"not_started","dealing_status":"inactive","id_numbers":[{"id_type":"passport","id_number":"2324839048381"}],"address":{"postal_code":"S2 2DF","address_line":"14","street_name":"Tottenham Court Road","city":"London","state":"England","country":"GBR"},"mifid_tax_id":"2382392274","tax_residency_compliant":true,"date_of_birth":"1990-12-20","retirement_age":60,"tax_residence":"GB-ENG","employment_status":"employed","mpaa_triggered":true,"mpaa_triggered_date":"2023-01-30","workplace_employers":["wem-AHY58878"],"lta_protection_details":[{"lta_protection_type":"primary","lta_primary_protection_factor":"20.00"},{"lta_protection_type":"fp14"}],"expression_of_wish":{"sipp_beneficiaries":[{"title":"Mr.","first_name":"William","last_name":"Smith","address":"13 Park Row,Edinburgh, United Kingdom","tax_id":"AB123956P","phone_number":"+441332960321","email":"davidbrown@gmail.com","percentage":"75.00"},{"title":"Miss.","first_name":"Jessica","last_name":"Smith","address":"14 Park Row,Edinburgh, United Kingdom","tax_id":"KL123956M","phone_number":"+441630960345","email":"jessicasmith@gmail.com","percentage":"25.00"}],"sipp_nominees":[{"title":"Mr.","first_name":"James","last_name":"Brown","address":"87 Colorado Way,Richmond, United Kingdom","tax_id":"XY123956Z","phone_number":"+441630960322","email":"jamesbrown@gmail.com","percentage":"50.00"},{"title":"Mrs.","first_name":"Emily","last_name":"Brown","address":"4 Baldock Street, Newtown, United Kingdom","tax_id":"SY123956P","phone_number":"+441615960345","email":"emilybrown@gmail.com","percentage":"50.00"}]},"reference_version":1}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "PATCH", "hostname": "web_host_name", "port": null, "path": "/tenant/investors/v1/%7Binvestor_id%7D", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ title: 'Mr.', gender: 'male', first_name: 'David', last_name: 'Brown', email: 'davidbrown@gmail.com', mobile_number: '+441234567890', home_number: '+441234587830', office_number: '+442072343456', nationality: 'GBR', tax_id: 'AB123456C', kyc_aml_status: 'not_started', dealing_status: 'inactive', id_numbers: [{id_type: 'passport', id_number: '2324839048381'}], address: { postal_code: 'S2 2DF', address_line: '14', street_name: 'Tottenham Court Road', city: 'London', state: 'England', country: 'GBR' }, mifid_tax_id: '2382392274', tax_residency_compliant: true, date_of_birth: '1990-12-20', retirement_age: 60, tax_residence: 'GB-ENG', employment_status: 'employed', mpaa_triggered: true, mpaa_triggered_date: '2023-01-30', workplace_employers: ['wem-AHY58878'], lta_protection_details: [ {lta_protection_type: 'primary', lta_primary_protection_factor: '20.00'}, {lta_protection_type: 'fp14'} ], expression_of_wish: { sipp_beneficiaries: [ { title: 'Mr.', first_name: 'William', last_name: 'Smith', address: '13 Park Row,Edinburgh, United Kingdom', tax_id: 'AB123956P', phone_number: '+441332960321', email: 'davidbrown@gmail.com', percentage: '75.00' }, { title: 'Miss.', first_name: 'Jessica', last_name: 'Smith', address: '14 Park Row,Edinburgh, United Kingdom', tax_id: 'KL123956M', phone_number: '+441630960345', email: 'jessicasmith@gmail.com', percentage: '25.00' } ], sipp_nominees: [ { title: 'Mr.', first_name: 'James', last_name: 'Brown', address: '87 Colorado Way,Richmond, United Kingdom', tax_id: 'XY123956Z', phone_number: '+441630960322', email: 'jamesbrown@gmail.com', percentage: '50.00' }, { title: 'Mrs.', first_name: 'Emily', last_name: 'Brown', address: '4 Baldock Street, Newtown, United Kingdom', tax_id: 'SY123956P', phone_number: '+441615960345', email: 'emilybrown@gmail.com', percentage: '50.00' } ] }, reference_version: 1 })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/investors/v1/%7Binvestor_id%7D") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Patch.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"title\":\"Mr.\",\"gender\":\"male\",\"first_name\":\"David\",\"last_name\":\"Brown\",\"email\":\"davidbrown@gmail.com\",\"mobile_number\":\"+441234567890\",\"home_number\":\"+441234587830\",\"office_number\":\"+442072343456\",\"nationality\":\"GBR\",\"tax_id\":\"AB123456C\",\"kyc_aml_status\":\"not_started\",\"dealing_status\":\"inactive\",\"id_numbers\":[{\"id_type\":\"passport\",\"id_number\":\"2324839048381\"}],\"address\":{\"postal_code\":\"S2 2DF\",\"address_line\":\"14\",\"street_name\":\"Tottenham Court Road\",\"city\":\"London\",\"state\":\"England\",\"country\":\"GBR\"},\"mifid_tax_id\":\"2382392274\",\"tax_residency_compliant\":true,\"date_of_birth\":\"1990-12-20\",\"retirement_age\":60,\"tax_residence\":\"GB-ENG\",\"employment_status\":\"employed\",\"mpaa_triggered\":true,\"mpaa_triggered_date\":\"2023-01-30\",\"workplace_employers\":[\"wem-AHY58878\"],\"lta_protection_details\":[{\"lta_protection_type\":\"primary\",\"lta_primary_protection_factor\":\"20.00\"},{\"lta_protection_type\":\"fp14\"}],\"expression_of_wish\":{\"sipp_beneficiaries\":[{\"title\":\"Mr.\",\"first_name\":\"William\",\"last_name\":\"Smith\",\"address\":\"13 Park Row,Edinburgh, United Kingdom\",\"tax_id\":\"AB123956P\",\"phone_number\":\"+441332960321\",\"email\":\"davidbrown@gmail.com\",\"percentage\":\"75.00\"},{\"title\":\"Miss.\",\"first_name\":\"Jessica\",\"last_name\":\"Smith\",\"address\":\"14 Park Row,Edinburgh, United Kingdom\",\"tax_id\":\"KL123956M\",\"phone_number\":\"+441630960345\",\"email\":\"jessicasmith@gmail.com\",\"percentage\":\"25.00\"}],\"sipp_nominees\":[{\"title\":\"Mr.\",\"first_name\":\"James\",\"last_name\":\"Brown\",\"address\":\"87 Colorado Way,Richmond, United Kingdom\",\"tax_id\":\"XY123956Z\",\"phone_number\":\"+441630960322\",\"email\":\"jamesbrown@gmail.com\",\"percentage\":\"50.00\"},{\"title\":\"Mrs.\",\"first_name\":\"Emily\",\"last_name\":\"Brown\",\"address\":\"4 Baldock Street, Newtown, United Kingdom\",\"tax_id\":\"SY123956P\",\"phone_number\":\"+441615960345\",\"email\":\"emilybrown@gmail.com\",\"percentage\":\"50.00\"}]},\"reference_version\":1}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/investors/v1/%7Binvestor_id%7D\"\n\n\tpayload := strings.NewReader(\"{\\\"title\\\":\\\"Mr.\\\",\\\"gender\\\":\\\"male\\\",\\\"first_name\\\":\\\"David\\\",\\\"last_name\\\":\\\"Brown\\\",\\\"email\\\":\\\"davidbrown@gmail.com\\\",\\\"mobile_number\\\":\\\"+441234567890\\\",\\\"home_number\\\":\\\"+441234587830\\\",\\\"office_number\\\":\\\"+442072343456\\\",\\\"nationality\\\":\\\"GBR\\\",\\\"tax_id\\\":\\\"AB123456C\\\",\\\"kyc_aml_status\\\":\\\"not_started\\\",\\\"dealing_status\\\":\\\"inactive\\\",\\\"id_numbers\\\":[{\\\"id_type\\\":\\\"passport\\\",\\\"id_number\\\":\\\"2324839048381\\\"}],\\\"address\\\":{\\\"postal_code\\\":\\\"S2 2DF\\\",\\\"address_line\\\":\\\"14\\\",\\\"street_name\\\":\\\"Tottenham Court Road\\\",\\\"city\\\":\\\"London\\\",\\\"state\\\":\\\"England\\\",\\\"country\\\":\\\"GBR\\\"},\\\"mifid_tax_id\\\":\\\"2382392274\\\",\\\"tax_residency_compliant\\\":true,\\\"date_of_birth\\\":\\\"1990-12-20\\\",\\\"retirement_age\\\":60,\\\"tax_residence\\\":\\\"GB-ENG\\\",\\\"employment_status\\\":\\\"employed\\\",\\\"mpaa_triggered\\\":true,\\\"mpaa_triggered_date\\\":\\\"2023-01-30\\\",\\\"workplace_employers\\\":[\\\"wem-AHY58878\\\"],\\\"lta_protection_details\\\":[{\\\"lta_protection_type\\\":\\\"primary\\\",\\\"lta_primary_protection_factor\\\":\\\"20.00\\\"},{\\\"lta_protection_type\\\":\\\"fp14\\\"}],\\\"expression_of_wish\\\":{\\\"sipp_beneficiaries\\\":[{\\\"title\\\":\\\"Mr.\\\",\\\"first_name\\\":\\\"William\\\",\\\"last_name\\\":\\\"Smith\\\",\\\"address\\\":\\\"13 Park Row,Edinburgh, United Kingdom\\\",\\\"tax_id\\\":\\\"AB123956P\\\",\\\"phone_number\\\":\\\"+441332960321\\\",\\\"email\\\":\\\"davidbrown@gmail.com\\\",\\\"percentage\\\":\\\"75.00\\\"},{\\\"title\\\":\\\"Miss.\\\",\\\"first_name\\\":\\\"Jessica\\\",\\\"last_name\\\":\\\"Smith\\\",\\\"address\\\":\\\"14 Park Row,Edinburgh, United Kingdom\\\",\\\"tax_id\\\":\\\"KL123956M\\\",\\\"phone_number\\\":\\\"+441630960345\\\",\\\"email\\\":\\\"jessicasmith@gmail.com\\\",\\\"percentage\\\":\\\"25.00\\\"}],\\\"sipp_nominees\\\":[{\\\"title\\\":\\\"Mr.\\\",\\\"first_name\\\":\\\"James\\\",\\\"last_name\\\":\\\"Brown\\\",\\\"address\\\":\\\"87 Colorado Way,Richmond, United Kingdom\\\",\\\"tax_id\\\":\\\"XY123956Z\\\",\\\"phone_number\\\":\\\"+441630960322\\\",\\\"email\\\":\\\"jamesbrown@gmail.com\\\",\\\"percentage\\\":\\\"50.00\\\"},{\\\"title\\\":\\\"Mrs.\\\",\\\"first_name\\\":\\\"Emily\\\",\\\"last_name\\\":\\\"Brown\\\",\\\"address\\\":\\\"4 Baldock Street, Newtown, United Kingdom\\\",\\\"tax_id\\\":\\\"SY123956P\\\",\\\"phone_number\\\":\\\"+441615960345\\\",\\\"email\\\":\\\"emilybrown@gmail.com\\\",\\\"percentage\\\":\\\"50.00\\\"}]},\\\"reference_version\\\":1}\")\n\n\treq, _ := http.NewRequest(\"PATCH\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/financial-products/v1: get: tags: - Financial Products summary: Get All Financial Products operationId: FinancialProducts_listAll security: - ApiSecretKey: [] description: Returns all the financial products setup for the tenant in an array parameters: - description: multiple product types as a comma seperated string name: product_types schema: type: string in: query required: false responses: '200': description: A paged array of financial products content: application/json: schema: $ref: '#/components/schemas/FinancialProductsListAllResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/FinancialProductsListAll400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/FinancialProductsListAll401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/FinancialProductsListAll403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/FinancialProductsListAll404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/FinancialProductsListAll429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/FinancialProductsListAll500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url 'https://web_host_name/tenant/financial-products/v1?product_types=SOME_STRING_VALUE' \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/financial-products/v1?product_types=SOME_STRING_VALUE", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/financial-products/v1?product_types=SOME_STRING_VALUE") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/financial-products/v1?product_types=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/payments/v1/{transaction_id}: get: tags: - Payments summary: Get Payment by Transaction Id operationId: Payments_getByTransactionId security: - ApiSecretKey: [] description: Get Payment by transaction ID parameters: - description: Transaction Id name: transaction_id schema: type: string in: path required: true responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/PaymentsGetByTransactionIdResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/PaymentsGetByTransactionId400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/PaymentsGetByTransactionId401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/PaymentsGetByTransactionId403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/PaymentsGetByTransactionId404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/PaymentsGetByTransactionId429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/PaymentsGetByTransactionId500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url https://web_host_name/tenant/payments/v1/%7Btransaction_id%7D \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/payments/v1/%7Btransaction_id%7D", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/payments/v1/%7Btransaction_id%7D") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/payments/v1/%7Btransaction_id%7D\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/pots/v1: post: tags: - Pots, Holdings and Transactions summary: Create new pots operationId: PotsHoldingsAndTransactions_createNewPots security: - ApiSecretKey: [] description: > This endpoint facilitates the creation of one or more pots for an investor for a selected financial product. A maximum of five pots can be created with a single request. parameters: [] requestBody: content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsCreateNewPotsRequest responses: '201': description: success or partially_successful content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsCreateNewPotsResponse '400': description: Request is not complete and may have one or more validations errors content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsCreateNewPots400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsCreateNewPots401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsCreateNewPots403Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsCreateNewPots429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsCreateNewPots500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request POST \ --url https://web_host_name/tenant/pots/v1 \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"request_id":"266ea41d-adf5-480b-af50-15b940c2b846","investor_id":["inv-XUT11265"],"financial_product_id":"sipp_accumulation","pots":[{"pot_name":"Retirement Pot 1","portfolio_template_id":"pft-c60c9472-6668-4f7a-aa69","pot_currency":"GBP","status":"active"},{"pot_name":"Retirement Pot 2","portfolio_template_id":"pft-c60c9472-6668-4f7a-aa69","pot_currency":"CHF","status":"active"}]}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "POST", "hostname": "web_host_name", "port": null, "path": "/tenant/pots/v1", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ request_id: '266ea41d-adf5-480b-af50-15b940c2b846', investor_id: ['inv-XUT11265'], financial_product_id: 'sipp_accumulation', pots: [ { pot_name: 'Retirement Pot 1', portfolio_template_id: 'pft-c60c9472-6668-4f7a-aa69', pot_currency: 'GBP', status: 'active' }, { pot_name: 'Retirement Pot 2', portfolio_template_id: 'pft-c60c9472-6668-4f7a-aa69', pot_currency: 'CHF', status: 'active' } ] })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/pots/v1") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"request_id\":\"266ea41d-adf5-480b-af50-15b940c2b846\",\"investor_id\":[\"inv-XUT11265\"],\"financial_product_id\":\"sipp_accumulation\",\"pots\":[{\"pot_name\":\"Retirement Pot 1\",\"portfolio_template_id\":\"pft-c60c9472-6668-4f7a-aa69\",\"pot_currency\":\"GBP\",\"status\":\"active\"},{\"pot_name\":\"Retirement Pot 2\",\"portfolio_template_id\":\"pft-c60c9472-6668-4f7a-aa69\",\"pot_currency\":\"CHF\",\"status\":\"active\"}]}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/pots/v1\"\n\n\tpayload := strings.NewReader(\"{\\\"request_id\\\":\\\"266ea41d-adf5-480b-af50-15b940c2b846\\\",\\\"investor_id\\\":[\\\"inv-XUT11265\\\"],\\\"financial_product_id\\\":\\\"sipp_accumulation\\\",\\\"pots\\\":[{\\\"pot_name\\\":\\\"Retirement Pot 1\\\",\\\"portfolio_template_id\\\":\\\"pft-c60c9472-6668-4f7a-aa69\\\",\\\"pot_currency\\\":\\\"GBP\\\",\\\"status\\\":\\\"active\\\"},{\\\"pot_name\\\":\\\"Retirement Pot 2\\\",\\\"portfolio_template_id\\\":\\\"pft-c60c9472-6668-4f7a-aa69\\\",\\\"pot_currency\\\":\\\"CHF\\\",\\\"status\\\":\\\"active\\\"}]}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" get: tags: - Pots, Holdings and Transactions summary: Get all pots for an investor operationId: PotsHoldingsAndTransactions_getInvestorPots security: - ApiSecretKey: [] description: Get all Investment Pots of the investor parameters: - description: Investor Id in: query name: investor_id schema: type: string required: true - description: multiple financial product ids as comma seperated string name: financial_product_id schema: type: string in: query responses: '200': description: success content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetInvestorPotsResponse '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetInvestorPots400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetInvestorPots401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetInvestorPots403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetInvestorPots404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetInvestorPots429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetInvestorPots500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url 'https://web_host_name/tenant/pots/v1?investor_id=SOME_STRING_VALUE&financial_product_id=SOME_STRING_VALUE' \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/pots/v1?investor_id=SOME_STRING_VALUE&financial_product_id=SOME_STRING_VALUE", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/pots/v1?investor_id=SOME_STRING_VALUE&financial_product_id=SOME_STRING_VALUE") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/pots/v1?investor_id=SOME_STRING_VALUE&financial_product_id=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/pots/v1/evaluate-rebalance: post: tags: - Rebalance summary: Evaluate rebalance operationId: Rebalance_evaluatePortfolioDeviation security: - ApiSecretKey: [] description: >- Evaluate if a pot or a group of pots has deviated significatly from the target portfolio and eligible for rebalancing. The request can be sent for a pot (or a group of pots), all pots belonging to an investor (or a group of investors) or all pots linked to a portfolio (or a group of portfolios). The response will indicate if the pot is eligible for rebalance and % deviation from the target portfolio template. parameters: [] requestBody: content: application/json: schema: $ref: '#/components/schemas/RebalanceEvaluatePortfolioDeviationRequest' responses: '202': description: success content: application/json: schema: $ref: >- #/components/schemas/RebalanceEvaluatePortfolioDeviationResponse '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/RebalanceEvaluatePortfolioDeviation400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/RebalanceEvaluatePortfolioDeviation401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/RebalanceEvaluatePortfolioDeviation403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/RebalanceEvaluatePortfolioDeviation404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/RebalanceEvaluatePortfolioDeviation429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/RebalanceEvaluatePortfolioDeviation500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request POST \ --url https://web_host_name/tenant/pots/v1/evaluate-rebalance \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"request_id":"266ea41d-adf5-480b-af50-15b940c2b846","type":"pot","values":["pot-UKW3452850","pot-SDQ5239730"]}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "POST", "hostname": "web_host_name", "port": null, "path": "/tenant/pots/v1/evaluate-rebalance", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ request_id: '266ea41d-adf5-480b-af50-15b940c2b846', type: 'pot', values: ['pot-UKW3452850', 'pot-SDQ5239730'] })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/pots/v1/evaluate-rebalance") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"request_id\":\"266ea41d-adf5-480b-af50-15b940c2b846\",\"type\":\"pot\",\"values\":[\"pot-UKW3452850\",\"pot-SDQ5239730\"]}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/pots/v1/evaluate-rebalance\"\n\n\tpayload := strings.NewReader(\"{\\\"request_id\\\":\\\"266ea41d-adf5-480b-af50-15b940c2b846\\\",\\\"type\\\":\\\"pot\\\",\\\"values\\\":[\\\"pot-UKW3452850\\\",\\\"pot-SDQ5239730\\\"]}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/pots/v1/rebalance-evaluation-status: get: tags: - Rebalance summary: Retrieve rebalance evaluation request details operationId: Rebalance_getEvaluationDetails security: - ApiSecretKey: [] description: >- Retrieve details of a rebalace evaluation request using the `rebalance_request_id`. parameters: - description: Unique identifier of the rebalance evaluation request name: rebalance_evaluation_id schema: type: string in: query required: true responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/RebalanceGetEvaluationDetailsResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/RebalanceGetEvaluationDetails400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/RebalanceGetEvaluationDetails401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/RebalanceGetEvaluationDetails403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/RebalanceGetEvaluationDetails404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/RebalanceGetEvaluationDetails429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/RebalanceGetEvaluationDetails500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url 'https://web_host_name/tenant/pots/v1/rebalance-evaluation-status?rebalance_evaluation_id=SOME_STRING_VALUE' \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/pots/v1/rebalance-evaluation-status?rebalance_evaluation_id=SOME_STRING_VALUE", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/pots/v1/rebalance-evaluation-status?rebalance_evaluation_id=SOME_STRING_VALUE") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/pots/v1/rebalance-evaluation-status?rebalance_evaluation_id=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/pots/v1/rebalance: post: tags: - Rebalance summary: Trigger rebalance process operationId: Rebalance_triggerRebalanceProcess security: - ApiSecretKey: [] description: >- This endpoint allows you to trigger the rebalancing of a pot (or a group of pots), all pots belonging to an investor (or a group of investors) or all pots linked to a portfolio (or a group of portfolios). The response will contain a `rebalance_request_id` and `status` of the request. parameters: [] requestBody: content: application/json: schema: $ref: '#/components/schemas/RebalanceTriggerRebalanceProcessRequest' responses: '202': description: success content: application/json: schema: $ref: '#/components/schemas/RebalanceTriggerRebalanceProcessResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/RebalanceTriggerRebalanceProcess400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/RebalanceTriggerRebalanceProcess401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/RebalanceTriggerRebalanceProcess403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/RebalanceTriggerRebalanceProcess404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/RebalanceTriggerRebalanceProcess429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/RebalanceTriggerRebalanceProcess500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request POST \ --url https://web_host_name/tenant/pots/v1/rebalance \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"request_id":"266ea41d-adf5-480b-af50-15b940c2b846","type":"pot","values":["pot-UKW3452850","pot-SDQ5239730"]}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "POST", "hostname": "web_host_name", "port": null, "path": "/tenant/pots/v1/rebalance", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ request_id: '266ea41d-adf5-480b-af50-15b940c2b846', type: 'pot', values: ['pot-UKW3452850', 'pot-SDQ5239730'] })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/pots/v1/rebalance") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"request_id\":\"266ea41d-adf5-480b-af50-15b940c2b846\",\"type\":\"pot\",\"values\":[\"pot-UKW3452850\",\"pot-SDQ5239730\"]}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/pots/v1/rebalance\"\n\n\tpayload := strings.NewReader(\"{\\\"request_id\\\":\\\"266ea41d-adf5-480b-af50-15b940c2b846\\\",\\\"type\\\":\\\"pot\\\",\\\"values\\\":[\\\"pot-UKW3452850\\\",\\\"pot-SDQ5239730\\\"]}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/pots/v1/rebalance-results: get: tags: - Rebalance summary: Retrieve rebalance request details operationId: Rebalance_requestDetails security: - ApiSecretKey: [] description: Retrieve details of a rebalace request using the `rebalance_request_id`. parameters: - description: Unique identifier of the rebalance request name: rebalance_request_id schema: type: string in: query required: true responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/RebalanceRequestDetailsResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/RebalanceRequestDetails400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/RebalanceRequestDetails401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/RebalanceRequestDetails403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/RebalanceRequestDetails404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/RebalanceRequestDetails429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/RebalanceRequestDetails500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url 'https://web_host_name/tenant/pots/v1/rebalance-results?rebalance_request_id=SOME_STRING_VALUE' \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/pots/v1/rebalance-results?rebalance_request_id=SOME_STRING_VALUE", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/pots/v1/rebalance-results?rebalance_request_id=SOME_STRING_VALUE") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/pots/v1/rebalance-results?rebalance_request_id=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/pots/v1/value: get: tags: - Pots, Holdings and Transactions summary: Get total value of all pots of an investor operationId: PotsHoldingsAndTransactions_listTotalPotValue security: - ApiSecretKey: [] description: >- Get the current value of all the investor’s pots broken down by currency (including cash and investment product holdings), currencies or pots with no holdings will be excluded from the reponse. parameters: - description: Investor Id in: query name: investor_id schema: type: string required: true responses: '200': description: success content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsListTotalPotValueResponse '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsListTotalPotValue400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsListTotalPotValue401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsListTotalPotValue403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsListTotalPotValue404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsListTotalPotValue429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsListTotalPotValue500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url 'https://web_host_name/tenant/pots/v1/value?investor_id=SOME_STRING_VALUE' \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/pots/v1/value?investor_id=SOME_STRING_VALUE", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/pots/v1/value?investor_id=SOME_STRING_VALUE") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/pots/v1/value?investor_id=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/pots/v1/holdings: get: tags: - Pots, Holdings and Transactions summary: Get total holdings of an Investor operationId: PotsHoldingsAndTransactions_getHoldingsByPot security: - ApiSecretKey: [] description: >- Get a breakdown of all the holdings(cash and investment product holdings) of an investor organised by the pot they belong to. parameters: - description: Id of the investor name: investor_id schema: type: string in: query required: true responses: '200': description: success content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetHoldingsByPotResponse '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetHoldingsByPot401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetHoldingsByPot403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetHoldingsByPot404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetHoldingsByPot429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetHoldingsByPot500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url 'https://web_host_name/tenant/pots/v1/holdings?investor_id=SOME_STRING_VALUE' \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/pots/v1/holdings?investor_id=SOME_STRING_VALUE", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/pots/v1/holdings?investor_id=SOME_STRING_VALUE") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/pots/v1/holdings?investor_id=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/pots/v1/{pot_id}: patch: tags: - Pots, Holdings and Transactions summary: Update existing Pot details operationId: PotsHoldingsAndTransactions_updatePotDetails security: - ApiSecretKey: [] description: >- Update an existing Pot. The system will update only the fields sent in the payload.Field mentioned as Nullable can be deleted by updating those values with null. Sending empty values for fields will not update the fields. parameters: - description: Pot Id in: path name: pot_id schema: type: string required: true requestBody: content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsUpdatePotDetailsRequest required: true responses: '200': description: success content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsUpdatePotDetailsResponse '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsUpdatePotDetails400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsUpdatePotDetails401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsUpdatePotDetails403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsUpdatePotDetails404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsUpdatePotDetails429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsUpdatePotDetails500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request PATCH \ --url https://web_host_name/tenant/pots/v1/%7Bpot_id%7D \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"pot_name":"Retirement Pot","portfolio_template_id":"pft-c60c9472-6668-4f7a-aa69","status":"active","reference_version":1}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "PATCH", "hostname": "web_host_name", "port": null, "path": "/tenant/pots/v1/%7Bpot_id%7D", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ pot_name: 'Retirement Pot', portfolio_template_id: 'pft-c60c9472-6668-4f7a-aa69', status: 'active', reference_version: 1 })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/pots/v1/%7Bpot_id%7D") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Patch.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"pot_name\":\"Retirement Pot\",\"portfolio_template_id\":\"pft-c60c9472-6668-4f7a-aa69\",\"status\":\"active\",\"reference_version\":1}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/pots/v1/%7Bpot_id%7D\"\n\n\tpayload := strings.NewReader(\"{\\\"pot_name\\\":\\\"Retirement Pot\\\",\\\"portfolio_template_id\\\":\\\"pft-c60c9472-6668-4f7a-aa69\\\",\\\"status\\\":\\\"active\\\",\\\"reference_version\\\":1}\")\n\n\treq, _ := http.NewRequest(\"PATCH\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" get: tags: - Pots, Holdings and Transactions summary: Retrive existing pot from pot id operationId: PotsHoldingsAndTransactions_getPot security: - ApiSecretKey: [] parameters: - description: Pot Id name: pot_id schema: type: string in: path required: true responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/PotsHoldingsAndTransactionsGetPotResponse' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetPot401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetPot403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetPot404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetPot429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetPot500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url https://web_host_name/tenant/pots/v1/%7Bpot_id%7D \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/pots/v1/%7Bpot_id%7D", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: |- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/pots/v1/%7Bpot_id%7D") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/pots/v1/%7Bpot_id%7D\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/pots/v1/{pot_id}/value: get: tags: - Pots, Holdings and Transactions summary: Get current value of a pot operationId: PotsHoldingsAndTransactions_getCurrentPotValue security: - ApiSecretKey: [] description: >- Get the current value of the pot (including cash and investment product holdings) parameters: - description: Pot Id name: pot_id schema: type: string in: path required: true responses: '200': description: success content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetCurrentPotValueResponse '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetCurrentPotValue400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetCurrentPotValue401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetCurrentPotValue403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetCurrentPotValue404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetCurrentPotValue429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetCurrentPotValue500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url https://web_host_name/tenant/pots/v1/%7Bpot_id%7D/value \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/pots/v1/%7Bpot_id%7D/value", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: |- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/pots/v1/%7Bpot_id%7D/value") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/pots/v1/%7Bpot_id%7D/value\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/pots/v1/{pot_id}/holdings: get: tags: - Pots, Holdings and Transactions summary: Get current holdings of a pot operationId: PotsHoldingsAndTransactions_getCurrentHoldings security: - ApiSecretKey: [] description: >- Get a breakdown of all the holdings of a pot (cash and investment product holdings) parameters: - description: Pot Id name: pot_id schema: type: string in: path required: true responses: '200': description: success content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetCurrentHoldingsResponse '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetCurrentHoldings400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetCurrentHoldings401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetCurrentHoldings403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetCurrentHoldings404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetCurrentHoldings429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetCurrentHoldings500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url https://web_host_name/tenant/pots/v1/%7Bpot_id%7D/holdings \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/pots/v1/%7Bpot_id%7D/holdings", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/pots/v1/%7Bpot_id%7D/holdings") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/pots/v1/%7Bpot_id%7D/holdings\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/pots/v1/{pot_id}/transactions: get: tags: - Pots, Holdings and Transactions summary: Get pending & past transactions of a pot operationId: PotsHoldingsAndTransactions_getPotTransactions security: - ApiSecretKey: [] description: >- Get a list of pending and archived transactions of the pot by date range. Only last 1000 records will be recieved if the result contain more that 1000 transactions. In that case, the pagination should be used. parameters: - description: Pot Id name: pot_id schema: type: string in: path required: true - description: >- From timestamp for the query. This must be in ISO format. Eg. 2021-08-12T07:54:47.011Z. If not present the from is set to 2000-01-01T00:00:00.000Z name: from schema: type: string in: query required: false - description: >- To timestamp for the query. This must be in ISO format. Eg. 2021-08-12T07:54:47.011Z. If not present the to is set to current time. name: to schema: type: string in: query required: false - description: >- Sub transaction type of the transactions to be retrieved from the API name: sub_transaction_type schema: type: string in: query required: false - description: >- Page size for the query. This end-point has paginations capabilities. This value should be a positive integer value. If this is not provided or provided without page_number, both page_size and page_number will be defaulted to 1000 and 1. Max page size is 8000. Results are sorted decending order of the created date & time. name: page_size schema: type: string in: query required: false - description: >- Page number for the query. This end-point has paginations capabilities. This value should be a positive integer value. If this is not provided or provided without page_size, both page_size and page_number will be defaulted to 1000 and 1. Results are sorted decending order of the created date & time. name: page_number schema: type: string in: query required: false - description: Sorting order; results are sorted by creation time. name: sort schema: type: string default: desc enum: - asc - desc in: query required: false responses: '200': description: success content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetPotTransactionsResponse '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetPotTransactions401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetPotTransactions403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetPotTransactions404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetPotTransactions429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/PotsHoldingsAndTransactionsGetPotTransactions500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url 'https://web_host_name/tenant/pots/v1/%7Bpot_id%7D/transactions?from=SOME_STRING_VALUE&to=SOME_STRING_VALUE&sub_transaction_type=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE' \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/pots/v1/%7Bpot_id%7D/transactions?from=SOME_STRING_VALUE&to=SOME_STRING_VALUE&sub_transaction_type=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/pots/v1/%7Bpot_id%7D/transactions?from=SOME_STRING_VALUE&to=SOME_STRING_VALUE&sub_transaction_type=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/pots/v1/%7Bpot_id%7D/transactions?from=SOME_STRING_VALUE&to=SOME_STRING_VALUE&sub_transaction_type=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/investment-products/v1: get: tags: - Investment Products summary: Get Configured Investment Products operationId: InvestmentProducts_getConfiguredProducts security: - ApiSecretKey: [] description: >- Returns all the investment products configured for this tenancy. Request can be filtered by status to return all `active` or `inactive` investment products parameters: - description: >- status of investment product. If empty will return all investment products. in: query name: status schema: type: string enum: - active - inactive - description: >- Page size for the query. This end-point has paginations capabilities. This value should be a positive integer value. If this is not provided or provided without page_number, both page_size and page_number will be defaulted to 1000 and 1. Max page size is 3000. Results are sorted decending order of the created date & time. name: page_size schema: type: string in: query required: false - description: >- Page number for the query. This end-point has paginations capabilities. This value should be a positive integer value. If this is not provided or provided without page_size, both page_size and page_number will be defaulted to 1000 and 1. Results are sorted decending order of the created date & time. name: page_number schema: type: string in: query required: false responses: '200': description: success content: application/json: schema: $ref: >- #/components/schemas/InvestmentProductsGetConfiguredProductsResponse '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/InvestmentProductsGetConfiguredProducts401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/InvestmentProductsGetConfiguredProducts403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/InvestmentProductsGetConfiguredProducts404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/InvestmentProductsGetConfiguredProducts429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/InvestmentProductsGetConfiguredProducts500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url 'https://web_host_name/tenant/investment-products/v1?status=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE' \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/investment-products/v1?status=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/investment-products/v1?status=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/investment-products/v1?status=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/investment-products/v1/current-prices: get: tags: - Investment Products summary: Get Current Prices of all Investment Products operationId: InvestmentProducts_getCurrentPrices security: - ApiSecretKey: [] description: >- Returns current prices of all the investment products configured for this tenancy parameters: - description: >- Page size for the query. This end-point has paginations capabilities. This value should be a positive integer value. If this is not provided or provided without page_number, both page_size and page_number will be defaulted to 1000 and 1. Max page size is 15000. Results are sorted decending order of the created date & time. name: page_size schema: type: string in: query required: false - description: >- Page number for the query. This end-point has paginations capabilities. This value should be a positive integer value. If this is not provided or provided without page_size, both page_size and page_number will be defaulted to 1000 and 1. Results are sorted decending order of the created date & time. name: page_number schema: type: string in: query required: false - description: >- status of investment product. If empty will return all investment products. name: status schema: type: string enum: - active - inactive in: query responses: '200': description: success content: application/json: schema: $ref: >- #/components/schemas/InvestmentProductsGetCurrentPricesResponse '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/InvestmentProductsGetCurrentPrices401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/InvestmentProductsGetCurrentPrices403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/InvestmentProductsGetCurrentPrices404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/InvestmentProductsGetCurrentPrices429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/InvestmentProductsGetCurrentPrices500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url 'https://web_host_name/tenant/investment-products/v1/current-prices?page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&status=SOME_STRING_VALUE' \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/investment-products/v1/current-prices?page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&status=SOME_STRING_VALUE", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/investment-products/v1/current-prices?page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&status=SOME_STRING_VALUE") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/investment-products/v1/current-prices?page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&status=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/investment-products/v1/{investment_product_id}: get: tags: - Investment Products summary: Get details of a given Investment Product operationId: InvestmentProducts_getDetails security: - ApiSecretKey: [] description: Returns the requested investment product parameters: - description: Investment Product Id name: investment_product_id schema: type: string in: path required: true responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/InvestmentProductsGetDetailsResponse' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/InvestmentProductsGetDetails401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/InvestmentProductsGetDetails403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/InvestmentProductsGetDetails404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/InvestmentProductsGetDetails429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/InvestmentProductsGetDetails500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url https://web_host_name/tenant/investment-products/v1/%7Binvestment_product_id%7D \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/investment-products/v1/%7Binvestment_product_id%7D", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/investment-products/v1/%7Binvestment_product_id%7D") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/investment-products/v1/%7Binvestment_product_id%7D\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/investment-products/v1/{investment_product_id}/current-price: get: tags: - Investment Products summary: Get Current Price of an Investment Product operationId: InvestmentProducts_getCurrentPrice security: - ApiSecretKey: [] description: Returns current price of the requested investment product parameters: - description: Investment Product Id name: investment_product_id schema: type: string in: path required: true responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/InvestmentProductsGetCurrentPriceResponse' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/InvestmentProductsGetCurrentPrice401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/InvestmentProductsGetCurrentPrice403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/InvestmentProductsGetCurrentPrice404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/InvestmentProductsGetCurrentPrice429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/InvestmentProductsGetCurrentPrice500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url https://web_host_name/tenant/investment-products/v1/%7Binvestment_product_id%7D/current-price \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/investment-products/v1/%7Binvestment_product_id%7D/current-price", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/investment-products/v1/%7Binvestment_product_id%7D/current-price") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/investment-products/v1/%7Binvestment_product_id%7D/current-price\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/portfolio-templates/v1/{portfolio_template_id}: get: tags: - Portfolio Templates summary: Retrive existing Portfolio template operationId: PortfolioTemplates_getTemplateById security: - ApiSecretKey: [] parameters: - description: Portfolio ID name: portfolio_template_id schema: type: string in: path required: true responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/PortfolioTemplatesGetTemplateByIdResponse' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/PortfolioTemplatesGetTemplateById401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/PortfolioTemplatesGetTemplateById403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/PortfolioTemplatesGetTemplateById404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/PortfolioTemplatesGetTemplateById429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/PortfolioTemplatesGetTemplateById500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url https://web_host_name/tenant/portfolio-templates/v1/%7Bportfolio_template_id%7D \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/portfolio-templates/v1/%7Bportfolio_template_id%7D", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/portfolio-templates/v1/%7Bportfolio_template_id%7D") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/portfolio-templates/v1/%7Bportfolio_template_id%7D\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" patch: tags: - Portfolio Templates summary: Update existing Portfolio template operationId: PortfolioTemplates_updateTemplate security: - ApiSecretKey: [] parameters: - description: Portfolio ID name: portfolio_template_id schema: type: string in: path required: true requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/PortfolioTemplatesUpdateTemplateRequest' responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/PortfolioTemplatesUpdateTemplateResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/PortfolioTemplatesUpdateTemplate400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/PortfolioTemplatesUpdateTemplate401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/PortfolioTemplatesUpdateTemplate403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/PortfolioTemplatesUpdateTemplate404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/PortfolioTemplatesUpdateTemplate429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/PortfolioTemplatesUpdateTemplate500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request PATCH \ --url https://web_host_name/tenant/portfolio-templates/v1/%7Bportfolio_template_id%7D \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"portfolio_name":"PFT5689","ratios":[{"investment_product_id":"string","ratio":"string"}],"reference_version":1}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "PATCH", "hostname": "web_host_name", "port": null, "path": "/tenant/portfolio-templates/v1/%7Bportfolio_template_id%7D", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ portfolio_name: 'PFT5689', ratios: [{investment_product_id: 'string', ratio: 'string'}], reference_version: 1 })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/portfolio-templates/v1/%7Bportfolio_template_id%7D") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Patch.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"portfolio_name\":\"PFT5689\",\"ratios\":[{\"investment_product_id\":\"string\",\"ratio\":\"string\"}],\"reference_version\":1}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/portfolio-templates/v1/%7Bportfolio_template_id%7D\"\n\n\tpayload := strings.NewReader(\"{\\\"portfolio_name\\\":\\\"PFT5689\\\",\\\"ratios\\\":[{\\\"investment_product_id\\\":\\\"string\\\",\\\"ratio\\\":\\\"string\\\"}],\\\"reference_version\\\":1}\")\n\n\treq, _ := http.NewRequest(\"PATCH\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/transactions/v1/buy: post: tags: - Transactions summary: Execute Buy Transaction(s) operationId: Transactions_executeBuyTransaction security: - ApiSecretKey: [] description: >- Invoke execution of one or more buy transactions as defined in the request parameters: [] requestBody: content: application/json: schema: $ref: '#/components/schemas/TransactionsExecuteBuyTransactionRequest' responses: '201': description: success or partially_success content: application/json: schema: $ref: '#/components/schemas/TransactionsExecuteBuyTransactionResponse' '400': description: Request is not complete and may have one or more validations errors content: application/json: schema: $ref: >- #/components/schemas/TransactionsExecuteBuyTransaction400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/TransactionsExecuteBuyTransaction401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/TransactionsExecuteBuyTransaction403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/TransactionsExecuteBuyTransaction404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/TransactionsExecuteBuyTransaction429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/TransactionsExecuteBuyTransaction500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request POST \ --url https://web_host_name/tenant/transactions/v1/buy \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"request_id":"266ea41d-adf5-480b-af50-15b940c2b846","pot_id":"pot-UKW3452850","investment_instructions":[{"investment_product_id":"EPCCTST7","quantity":"10","client_order_id":"cl-02456s42sd3"},{"investment_product_id":"EPCCTST9","quantity":"-10"}]}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "POST", "hostname": "web_host_name", "port": null, "path": "/tenant/transactions/v1/buy", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ request_id: '266ea41d-adf5-480b-af50-15b940c2b846', pot_id: 'pot-UKW3452850', investment_instructions: [ { investment_product_id: 'EPCCTST7', quantity: '10', client_order_id: 'cl-02456s42sd3' }, {investment_product_id: 'EPCCTST9', quantity: '-10'} ] })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/transactions/v1/buy") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"request_id\":\"266ea41d-adf5-480b-af50-15b940c2b846\",\"pot_id\":\"pot-UKW3452850\",\"investment_instructions\":[{\"investment_product_id\":\"EPCCTST7\",\"quantity\":\"10\",\"client_order_id\":\"cl-02456s42sd3\"},{\"investment_product_id\":\"EPCCTST9\",\"quantity\":\"-10\"}]}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/transactions/v1/buy\"\n\n\tpayload := strings.NewReader(\"{\\\"request_id\\\":\\\"266ea41d-adf5-480b-af50-15b940c2b846\\\",\\\"pot_id\\\":\\\"pot-UKW3452850\\\",\\\"investment_instructions\\\":[{\\\"investment_product_id\\\":\\\"EPCCTST7\\\",\\\"quantity\\\":\\\"10\\\",\\\"client_order_id\\\":\\\"cl-02456s42sd3\\\"},{\\\"investment_product_id\\\":\\\"EPCCTST9\\\",\\\"quantity\\\":\\\"-10\\\"}]}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/transactions/v1/sell: post: tags: - Transactions summary: Execute Sell Transaction(s) operationId: Transactions_executeSellTransaction security: - ApiSecretKey: [] description: >- Invoke execution of one or more Sell transactions as defined in the request parameters: [] requestBody: content: application/json: schema: $ref: '#/components/schemas/TransactionsExecuteSellTransactionRequest' responses: '201': description: success or partially_success content: application/json: schema: $ref: >- #/components/schemas/TransactionsExecuteSellTransactionResponse '400': description: Request is not complete and may have one or more validations errors content: application/json: schema: $ref: >- #/components/schemas/TransactionsExecuteSellTransaction400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/TransactionsExecuteSellTransaction401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/TransactionsExecuteSellTransaction403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/TransactionsExecuteSellTransaction404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/TransactionsExecuteSellTransaction429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/TransactionsExecuteSellTransaction500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request POST \ --url https://web_host_name/tenant/transactions/v1/sell \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"request_id":"266ea41d-adf5-480b-af50-15b940c2b846","pot_id":"pot-UKW3452850","sell_instructions":[{"investment_product_id":"EPCCTST7","quantity":"10","client_order_id":"cl-02456s42sd3"},{"investment_product_id":"EPCCTST9","quantity":"-10"}]}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "POST", "hostname": "web_host_name", "port": null, "path": "/tenant/transactions/v1/sell", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ request_id: '266ea41d-adf5-480b-af50-15b940c2b846', pot_id: 'pot-UKW3452850', sell_instructions: [ { investment_product_id: 'EPCCTST7', quantity: '10', client_order_id: 'cl-02456s42sd3' }, {investment_product_id: 'EPCCTST9', quantity: '-10'} ] })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/transactions/v1/sell") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"request_id\":\"266ea41d-adf5-480b-af50-15b940c2b846\",\"pot_id\":\"pot-UKW3452850\",\"sell_instructions\":[{\"investment_product_id\":\"EPCCTST7\",\"quantity\":\"10\",\"client_order_id\":\"cl-02456s42sd3\"},{\"investment_product_id\":\"EPCCTST9\",\"quantity\":\"-10\"}]}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/transactions/v1/sell\"\n\n\tpayload := strings.NewReader(\"{\\\"request_id\\\":\\\"266ea41d-adf5-480b-af50-15b940c2b846\\\",\\\"pot_id\\\":\\\"pot-UKW3452850\\\",\\\"sell_instructions\\\":[{\\\"investment_product_id\\\":\\\"EPCCTST7\\\",\\\"quantity\\\":\\\"10\\\",\\\"client_order_id\\\":\\\"cl-02456s42sd3\\\"},{\\\"investment_product_id\\\":\\\"EPCCTST9\\\",\\\"quantity\\\":\\\"-10\\\"}]}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/transactions/v1/switch: get: tags: - Switch Instruction summary: Retrieve Switch instruction from Switch ID operationId: SwitchInstruction_getSwitchStatus security: - ApiSecretKey: [] description: >- Retrieve the status of an existing switch instruction from the `switch_transaction_id`. If the status of the individual buy/sell transactions are required, you must send the request with include_details = `true`. parameters: - description: Unique identifier of the switch instruction name: switch_transaction_id schema: type: string in: query required: true - description: >- If set to `true` details of individual buy and sell (child) transactions will be included name: include_details schema: type: boolean in: query responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/SwitchInstructionGetSwitchStatusResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/SwitchInstructionGetSwitchStatus400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/SwitchInstructionGetSwitchStatus401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/SwitchInstructionGetSwitchStatus403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/SwitchInstructionGetSwitchStatus404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/SwitchInstructionGetSwitchStatus429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/SwitchInstructionGetSwitchStatus500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url 'https://web_host_name/tenant/transactions/v1/switch?switch_transaction_id=SOME_STRING_VALUE&include_details=SOME_BOOLEAN_VALUE' \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/transactions/v1/switch?switch_transaction_id=SOME_STRING_VALUE&include_details=SOME_BOOLEAN_VALUE", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/transactions/v1/switch?switch_transaction_id=SOME_STRING_VALUE&include_details=SOME_BOOLEAN_VALUE") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/transactions/v1/switch?switch_transaction_id=SOME_STRING_VALUE&include_details=SOME_BOOLEAN_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" post: tags: - Switch Instruction summary: Execute Switch Instruction operationId: SwitchInstruction_executeSwitchTransaction security: - ApiSecretKey: [] description: >- Send a switch instruction with details of the investment products to be sold, free cash to be used (if any) and investment products to be bought. parameters: [] requestBody: content: application/json: schema: $ref: >- #/components/schemas/SwitchInstructionExecuteSwitchTransactionRequest responses: '200': description: success content: application/json: schema: $ref: >- #/components/schemas/SwitchInstructionExecuteSwitchTransactionResponse '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/SwitchInstructionExecuteSwitchTransaction400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/SwitchInstructionExecuteSwitchTransaction401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/SwitchInstructionExecuteSwitchTransaction403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/SwitchInstructionExecuteSwitchTransaction404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/SwitchInstructionExecuteSwitchTransaction429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/SwitchInstructionExecuteSwitchTransaction500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request POST \ --url https://web_host_name/tenant/transactions/v1/switch \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"request_id":"266ea41d-adf5-480b-af50-15b940c2b846","pot_id":"pot-UKW3452850","sell_instructions":[{"investment_product_id":"ETF031GBP1","mode":"value","value":"500"}],"buy_instructions":[{"investment_product_id":"ETF069GBP1","mode":"value","value":"800"}]}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "POST", "hostname": "web_host_name", "port": null, "path": "/tenant/transactions/v1/switch", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ request_id: '266ea41d-adf5-480b-af50-15b940c2b846', pot_id: 'pot-UKW3452850', sell_instructions: [{investment_product_id: 'ETF031GBP1', mode: 'value', value: '500'}], buy_instructions: [{investment_product_id: 'ETF069GBP1', mode: 'value', value: '800'}] })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/transactions/v1/switch") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"request_id\":\"266ea41d-adf5-480b-af50-15b940c2b846\",\"pot_id\":\"pot-UKW3452850\",\"sell_instructions\":[{\"investment_product_id\":\"ETF031GBP1\",\"mode\":\"value\",\"value\":\"500\"}],\"buy_instructions\":[{\"investment_product_id\":\"ETF069GBP1\",\"mode\":\"value\",\"value\":\"800\"}]}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/transactions/v1/switch\"\n\n\tpayload := strings.NewReader(\"{\\\"request_id\\\":\\\"266ea41d-adf5-480b-af50-15b940c2b846\\\",\\\"pot_id\\\":\\\"pot-UKW3452850\\\",\\\"sell_instructions\\\":[{\\\"investment_product_id\\\":\\\"ETF031GBP1\\\",\\\"mode\\\":\\\"value\\\",\\\"value\\\":\\\"500\\\"}],\\\"buy_instructions\\\":[{\\\"investment_product_id\\\":\\\"ETF069GBP1\\\",\\\"mode\\\":\\\"value\\\",\\\"value\\\":\\\"800\\\"}]}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/rates/v1: get: tags: - Rates summary: Get Configured Rates operationId: Rates_getRateDetails security: - ApiSecretKey: [] description: Returns rate details of the requested rate type. parameters: - description: Type of Rate name: rate_type schema: type: string enum: - fx-spot in: query required: true responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/RatesGetRateDetailsResponse' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/RatesGetRateDetails401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/RatesGetRateDetails403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/RatesGetRateDetails404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/RatesGetRateDetails429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/RatesGetRateDetails500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url 'https://web_host_name/tenant/rates/v1?rate_type=SOME_STRING_VALUE' \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/rates/v1?rate_type=SOME_STRING_VALUE", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/rates/v1?rate_type=SOME_STRING_VALUE") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/rates/v1?rate_type=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/transactions/v1/fee: summary: Fee resource management post: tags: - Fees summary: Create Fee operationId: Fees_createFeeTransaction security: - ApiSecretKey: [] description: >- This endpoint supports the creation of a single fee deduction from an investor's pot. A sucessful fee creation will result in the creation of a fee transaction and updates to holdings. The system will return the `transaction_id` of the fee transaction. parameters: [] requestBody: content: application/json: schema: $ref: '#/components/schemas/FeesCreateFeeTransactionRequest' required: true responses: '201': description: success content: application/json: schema: $ref: '#/components/schemas/FeesCreateFeeTransactionResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/FeesCreateFeeTransaction400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/FeesCreateFeeTransaction401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/FeesCreateFeeTransaction403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/FeesCreateFeeTransaction404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/FeesCreateFeeTransaction429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/FeesCreateFeeTransaction500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request POST \ --url https://web_host_name/tenant/transactions/v1/fee \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"request_id":"266ea41d-adf5-480b-af50-15b940c2b846","pot_id":"pot-UKW3452850","currency":"GBP","transaction_value":"123.45","sub_transaction_type":"Custody fees"}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "POST", "hostname": "web_host_name", "port": null, "path": "/tenant/transactions/v1/fee", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ request_id: '266ea41d-adf5-480b-af50-15b940c2b846', pot_id: 'pot-UKW3452850', currency: 'GBP', transaction_value: '123.45', sub_transaction_type: 'Custody fees' })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/transactions/v1/fee") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"request_id\":\"266ea41d-adf5-480b-af50-15b940c2b846\",\"pot_id\":\"pot-UKW3452850\",\"currency\":\"GBP\",\"transaction_value\":\"123.45\",\"sub_transaction_type\":\"Custody fees\"}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/transactions/v1/fee\"\n\n\tpayload := strings.NewReader(\"{\\\"request_id\\\":\\\"266ea41d-adf5-480b-af50-15b940c2b846\\\",\\\"pot_id\\\":\\\"pot-UKW3452850\\\",\\\"currency\\\":\\\"GBP\\\",\\\"transaction_value\\\":\\\"123.45\\\",\\\"sub_transaction_type\\\":\\\"Custody fees\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/transactions/v1/withdrawal: post: tags: - Withdrawals summary: Create Withdrawal operationId: Withdrawals_createSingleWithdrawal security: - ApiSecretKey: [] description: >- This endpoint supports the creation of a single withdrawal from an investor's pot. A sucessful withdrawal creation will result in the creation of a withdrawal transaction and updates to holdings. The system will return the `transaction_id`, `transaction_value`, `pot_id`, `sub_transaction_type` and `transaction_status` of the withdrawal transaction. parameters: [] requestBody: content: application/json: schema: $ref: '#/components/schemas/WithdrawalsCreateSingleWithdrawalRequest' required: true responses: '201': description: success content: application/json: schema: $ref: '#/components/schemas/WithdrawalsCreateSingleWithdrawalResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/WithdrawalsCreateSingleWithdrawal400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/WithdrawalsCreateSingleWithdrawal401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/WithdrawalsCreateSingleWithdrawal403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/WithdrawalsCreateSingleWithdrawal404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/WithdrawalsCreateSingleWithdrawal429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/WithdrawalsCreateSingleWithdrawal500Response deprecated: true x-codeSamples: - lang: Shell + Curl source: |- curl --request POST \ --url https://web_host_name/tenant/transactions/v1/withdrawal \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"request_id":"266ea41d-adf5-480b-af50-15b940c2b846","pot_id":"pot-SDQ5659730","currency":"USD","transaction_value":"123.45","sub_transaction_type":"Withdrawal","bank_account_id":"ba-example-bank-account"}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "POST", "hostname": "web_host_name", "port": null, "path": "/tenant/transactions/v1/withdrawal", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ request_id: '266ea41d-adf5-480b-af50-15b940c2b846', pot_id: 'pot-SDQ5659730', currency: 'USD', transaction_value: '123.45', sub_transaction_type: 'Withdrawal', bank_account_id: 'ba-example-bank-account' })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/transactions/v1/withdrawal") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"request_id\":\"266ea41d-adf5-480b-af50-15b940c2b846\",\"pot_id\":\"pot-SDQ5659730\",\"currency\":\"USD\",\"transaction_value\":\"123.45\",\"sub_transaction_type\":\"Withdrawal\",\"bank_account_id\":\"ba-example-bank-account\"}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/transactions/v1/withdrawal\"\n\n\tpayload := strings.NewReader(\"{\\\"request_id\\\":\\\"266ea41d-adf5-480b-af50-15b940c2b846\\\",\\\"pot_id\\\":\\\"pot-SDQ5659730\\\",\\\"currency\\\":\\\"USD\\\",\\\"transaction_value\\\":\\\"123.45\\\",\\\"sub_transaction_type\\\":\\\"Withdrawal\\\",\\\"bank_account_id\\\":\\\"ba-example-bank-account\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/withdrawals/v1/{transaction_id}: patch: tags: - LISA Transactions summary: Update existing LISA withdrawal transaction operationId: LisaTransactions_updateWithdrawalPaymentDate security: - ApiSecretKey: [] description: >- Update withdrawal payment date of a scheduled LISA withdrawal transaction. The system will update only the fields sent in the request. Field mentioned as Nullable can be deleted by updating those values with null. Sending empty values for fields will not update the fields. parameters: - description: >- Transaction ID of the withdrawal transaction that needs to be updated in: path name: transaction_id schema: type: string required: true requestBody: content: application/json: schema: $ref: >- #/components/schemas/LisaTransactionsUpdateWithdrawalPaymentDateRequest required: true responses: '201': description: success content: application/json: schema: $ref: >- #/components/schemas/LisaTransactionsUpdateWithdrawalPaymentDateResponse '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/LisaTransactionsUpdateWithdrawalPaymentDate400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/LisaTransactionsUpdateWithdrawalPaymentDate401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/LisaTransactionsUpdateWithdrawalPaymentDate403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/LisaTransactionsUpdateWithdrawalPaymentDate404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/LisaTransactionsUpdateWithdrawalPaymentDate429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/LisaTransactionsUpdateWithdrawalPaymentDate500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request PATCH \ --url https://web_host_name/tenant/withdrawals/v1/%7Btransaction_id%7D \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"request_id":"20b904f7-8d05-4efd-bd36-4ec3b1ce8e03","reference_verison":1,"trade_date":"2020-09-01"}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "PATCH", "hostname": "web_host_name", "port": null, "path": "/tenant/withdrawals/v1/%7Btransaction_id%7D", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ request_id: '20b904f7-8d05-4efd-bd36-4ec3b1ce8e03', reference_verison: 1, trade_date: '2020-09-01' })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/withdrawals/v1/%7Btransaction_id%7D") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Patch.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"request_id\":\"20b904f7-8d05-4efd-bd36-4ec3b1ce8e03\",\"reference_verison\":1,\"trade_date\":\"2020-09-01\"}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/withdrawals/v1/%7Btransaction_id%7D\"\n\n\tpayload := strings.NewReader(\"{\\\"request_id\\\":\\\"20b904f7-8d05-4efd-bd36-4ec3b1ce8e03\\\",\\\"reference_verison\\\":1,\\\"trade_date\\\":\\\"2020-09-01\\\"}\")\n\n\treq, _ := http.NewRequest(\"PATCH\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/utility/v1/upload-a-file: post: tags: - Utility summary: Upload a file operationId: Utility_copyFileToInternalStore security: - ApiSecretKey: [] description: >- Copy a file from the Wealth Manager's data store (system must have read permission for this store) to an internal data store parameters: [] requestBody: content: application/json: schema: $ref: '#/components/schemas/UtilityCopyFileToInternalStoreRequest' responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/UtilityCopyFileToInternalStoreResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/UtilityCopyFileToInternalStore400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/UtilityCopyFileToInternalStore401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/UtilityCopyFileToInternalStore403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/UtilityCopyFileToInternalStore404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/UtilityCopyFileToInternalStore429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/UtilityCopyFileToInternalStore500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request POST \ --url https://web_host_name/tenant/utility/v1/upload-a-file \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"file_paths":[{"type":"bk","path":"wos-dev13-reconciliation-files-us-east-2/custodian-files/bk-220908-2.FID"}]}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "POST", "hostname": "web_host_name", "port": null, "path": "/tenant/utility/v1/upload-a-file", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ file_paths: [ { type: 'bk', path: 'wos-dev13-reconciliation-files-us-east-2/custodian-files/bk-220908-2.FID' } ] })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/utility/v1/upload-a-file") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"file_paths\":[{\"type\":\"bk\",\"path\":\"wos-dev13-reconciliation-files-us-east-2/custodian-files/bk-220908-2.FID\"}]}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/utility/v1/upload-a-file\"\n\n\tpayload := strings.NewReader(\"{\\\"file_paths\\\":[{\\\"type\\\":\\\"bk\\\",\\\"path\\\":\\\"wos-dev13-reconciliation-files-us-east-2/custodian-files/bk-220908-2.FID\\\"}]}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/bank-accounts/v1: post: tags: - Bank Accounts summary: Create new bank account operationId: BankAccounts_createNewAccount security: - ApiSecretKey: [] parameters: [] requestBody: content: application/json: schema: $ref: '#/components/schemas/BankAccountsCreateNewAccountRequest' responses: '201': description: success content: application/json: schema: $ref: '#/components/schemas/BankAccountsCreateNewAccountResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/BankAccountsCreateNewAccount400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/BankAccountsCreateNewAccount401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/BankAccountsCreateNewAccount403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/BankAccountsCreateNewAccount404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/BankAccountsCreateNewAccount429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/BankAccountsCreateNewAccount500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request POST \ --url https://web_host_name/tenant/bank-accounts/v1 \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"investor_id":"inv-QXR38578","contributing_party_id":"cem-ZWV37971","account_name":"David Brown","bank_account_type":"investor","default_account":"no","bank_account_number":"12345678","account_status":"active","sort_code":"123456","building_society_roll_number":"12345672"}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "POST", "hostname": "web_host_name", "port": null, "path": "/tenant/bank-accounts/v1", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ investor_id: 'inv-QXR38578', contributing_party_id: 'cem-ZWV37971', account_name: 'David Brown', bank_account_type: 'investor', default_account: 'no', bank_account_number: '12345678', account_status: 'active', sort_code: '123456', building_society_roll_number: '12345672' })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/bank-accounts/v1") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"investor_id\":\"inv-QXR38578\",\"contributing_party_id\":\"cem-ZWV37971\",\"account_name\":\"David Brown\",\"bank_account_type\":\"investor\",\"default_account\":\"no\",\"bank_account_number\":\"12345678\",\"account_status\":\"active\",\"sort_code\":\"123456\",\"building_society_roll_number\":\"12345672\"}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/bank-accounts/v1\"\n\n\tpayload := strings.NewReader(\"{\\\"investor_id\\\":\\\"inv-QXR38578\\\",\\\"contributing_party_id\\\":\\\"cem-ZWV37971\\\",\\\"account_name\\\":\\\"David Brown\\\",\\\"bank_account_type\\\":\\\"investor\\\",\\\"default_account\\\":\\\"no\\\",\\\"bank_account_number\\\":\\\"12345678\\\",\\\"account_status\\\":\\\"active\\\",\\\"sort_code\\\":\\\"123456\\\",\\\"building_society_roll_number\\\":\\\"12345672\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" get: tags: - Bank Accounts summary: Retrieve all the bank accounts of a particular investor operationId: BankAccounts_getAll security: - ApiSecretKey: [] parameters: - description: Valid Investor Id name: investor_id schema: type: string required: true in: query responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/BankAccountsGetAllResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/BankAccountsGetAll400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/BankAccountsGetAll401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/BankAccountsGetAll403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/BankAccountsGetAll404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/BankAccountsGetAll429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/BankAccountsGetAll500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url 'https://web_host_name/tenant/bank-accounts/v1?investor_id=SOME_STRING_VALUE' \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/bank-accounts/v1?investor_id=SOME_STRING_VALUE", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/bank-accounts/v1?investor_id=SOME_STRING_VALUE") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/bank-accounts/v1?investor_id=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/bank-accounts/v1/{bank_account_id}: get: tags: - Bank Accounts summary: Retrieve existing bank account from bank account id operationId: BankAccounts_getBankAccountById security: - ApiSecretKey: [] parameters: - description: Bank Account Id name: bank_account_id schema: type: string in: path required: true responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/BankAccountsGetBankAccountByIdResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/BankAccountsGetBankAccountById400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/BankAccountsGetBankAccountById401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/BankAccountsGetBankAccountById403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/BankAccountsGetBankAccountById404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/BankAccountsGetBankAccountById429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/BankAccountsGetBankAccountById500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url https://web_host_name/tenant/bank-accounts/v1/%7Bbank_account_id%7D \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/bank-accounts/v1/%7Bbank_account_id%7D", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/bank-accounts/v1/%7Bbank_account_id%7D") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/bank-accounts/v1/%7Bbank_account_id%7D\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" patch: tags: - Bank Accounts summary: Update existing bank account details operationId: BankAccounts_updateDetails security: - ApiSecretKey: [] description: >- Update an existing Bank Account. The system will update only the fields sent in the request. Field mentioned as Nullable can be deleted by updating those values with null. Sending empty values for fields will not update the fields. parameters: - description: Bank Account Id in: path name: bank_account_id schema: type: string required: true requestBody: content: application/json: schema: $ref: '#/components/schemas/BankAccountsUpdateDetailsRequest' required: true responses: '201': description: success content: application/json: schema: $ref: '#/components/schemas/BankAccountsUpdateDetailsResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/BankAccountsUpdateDetails400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/BankAccountsUpdateDetails401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/BankAccountsUpdateDetails403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/BankAccountsUpdateDetails404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/BankAccountsUpdateDetails429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/BankAccountsUpdateDetails500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request PATCH \ --url https://web_host_name/tenant/bank-accounts/v1/%7Bbank_account_id%7D \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"account_name":"David Brown","default_account":"no","account_status":"inactive","reference_version":2}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "PATCH", "hostname": "web_host_name", "port": null, "path": "/tenant/bank-accounts/v1/%7Bbank_account_id%7D", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ account_name: 'David Brown', default_account: 'no', account_status: 'inactive', reference_version: 2 })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/bank-accounts/v1/%7Bbank_account_id%7D") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Patch.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"account_name\":\"David Brown\",\"default_account\":\"no\",\"account_status\":\"inactive\",\"reference_version\":2}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/bank-accounts/v1/%7Bbank_account_id%7D\"\n\n\tpayload := strings.NewReader(\"{\\\"account_name\\\":\\\"David Brown\\\",\\\"default_account\\\":\\\"no\\\",\\\"account_status\\\":\\\"inactive\\\",\\\"reference_version\\\":2}\")\n\n\treq, _ := http.NewRequest(\"PATCH\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/investor-accounts/v1: get: tags: - Investor Accounts summary: Retrieve all the investor accounts operationId: InvestorAccounts_getAll security: - ApiSecretKey: [] parameters: - description: >- Page size for the query. This end-point has paginations capabilities. This value should be a positive integer value. If this is not provided or provided without page_number, both page_size and page_number will be defaulted to 1000 and 1. Max page size is 4000. Results are sorted decending order of the created date & time. name: page_size schema: type: string in: query required: false - description: >- Page number for the query. This end-point has paginations capabilities. This value should be a positive integer value. If this is not provided or provided without page_size, both page_size and page_number will be defaulted to 1000 and 1. Results are sorted decending order of the created date & time. name: page_number schema: type: string in: query required: false - description: Multiple financial product ids as comma seperated string name: financial_product_id schema: type: string in: query - description: Multiple account ids as comma seperated string name: account_id schema: type: string in: query - description: Multiple statuses as comma seperated string name: status schema: type: string in: query - description: Multiple investor ids as comma seperated string name: investor_id schema: type: string in: query responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/InvestorAccountsGetAllResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/InvestorAccountsGetAll400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/InvestorAccountsGetAll401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/InvestorAccountsGetAll403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/InvestorAccountsGetAll404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/InvestorAccountsGetAll429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/InvestorAccountsGetAll500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url 'https://web_host_name/tenant/investor-accounts/v1?page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&financial_product_id=SOME_STRING_VALUE&account_id=SOME_STRING_VALUE&status=SOME_STRING_VALUE&investor_id=SOME_STRING_VALUE' \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/investor-accounts/v1?page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&financial_product_id=SOME_STRING_VALUE&account_id=SOME_STRING_VALUE&status=SOME_STRING_VALUE&investor_id=SOME_STRING_VALUE", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/investor-accounts/v1?page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&financial_product_id=SOME_STRING_VALUE&account_id=SOME_STRING_VALUE&status=SOME_STRING_VALUE&investor_id=SOME_STRING_VALUE") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/investor-accounts/v1?page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&financial_product_id=SOME_STRING_VALUE&account_id=SOME_STRING_VALUE&status=SOME_STRING_VALUE&investor_id=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/investor-accounts/v1/{account_id}: get: tags: - Investor Accounts summary: Retrieve existing investor account from account id operationId: InvestorAccounts_getAccountById security: - ApiSecretKey: [] parameters: - description: Unique identifier of the investor account in: path name: account_id schema: type: string required: true responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/InvestorAccountsGetAccountByIdResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/InvestorAccountsGetAccountById400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/InvestorAccountsGetAccountById401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/InvestorAccountsGetAccountById403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/InvestorAccountsGetAccountById404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/InvestorAccountsGetAccountById429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/InvestorAccountsGetAccountById500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url https://web_host_name/tenant/investor-accounts/v1/%7Baccount_id%7D \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/investor-accounts/v1/%7Baccount_id%7D", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/investor-accounts/v1/%7Baccount_id%7D") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/investor-accounts/v1/%7Baccount_id%7D\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" patch: tags: - Investor Accounts summary: Update Investor Account Details operationId: InvestorAccounts_updateDetails security: - ApiSecretKey: [] description: >- Update an existing investor account. The system will update only the fields sent in the payload. Field mentioned as Nullable can be deleted by updating those values with null. Custodian details including the custodian_id, custodian_account_reference, custodian_client_ref and regulator_advisor_id can be updated for an account through this endpoint only. parameters: - description: Unique identifier of the investor account in: path name: account_id schema: type: string required: true requestBody: content: application/json: schema: $ref: '#/components/schemas/InvestorAccountsUpdateDetailsRequest' required: true responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/InvestorAccountsUpdateDetailsResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/InvestorAccountsUpdateDetails400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/InvestorAccountsUpdateDetails401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/InvestorAccountsUpdateDetails403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/InvestorAccountsUpdateDetails404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/InvestorAccountsUpdateDetails429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/InvestorAccountsUpdateDetails500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request PATCH \ --url https://web_host_name/tenant/investor-accounts/v1/%7Baccount_id%7D \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"custodian_account_reference":"CAR573838383","custodian_id":"CID594898ff","custodian_client_reference":"CCR578fh8","regulator_advisor_id":"RAI48483jd","reference_version":1}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "PATCH", "hostname": "web_host_name", "port": null, "path": "/tenant/investor-accounts/v1/%7Baccount_id%7D", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ custodian_account_reference: 'CAR573838383', custodian_id: 'CID594898ff', custodian_client_reference: 'CCR578fh8', regulator_advisor_id: 'RAI48483jd', reference_version: 1 })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/investor-accounts/v1/%7Baccount_id%7D") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Patch.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"custodian_account_reference\":\"CAR573838383\",\"custodian_id\":\"CID594898ff\",\"custodian_client_reference\":\"CCR578fh8\",\"regulator_advisor_id\":\"RAI48483jd\",\"reference_version\":1}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/investor-accounts/v1/%7Baccount_id%7D\"\n\n\tpayload := strings.NewReader(\"{\\\"custodian_account_reference\\\":\\\"CAR573838383\\\",\\\"custodian_id\\\":\\\"CID594898ff\\\",\\\"custodian_client_reference\\\":\\\"CCR578fh8\\\",\\\"regulator_advisor_id\\\":\\\"RAI48483jd\\\",\\\"reference_version\\\":1}\")\n\n\treq, _ := http.NewRequest(\"PATCH\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/fees/v1/codes: get: tags: - Fees summary: Get Fee Codes (BETA) operationId: Fees_getFeeCodes security: - ApiSecretKey: [] description: >-

ⓘ This feature is currently in BETA mode

Returns the fee codes setup in the system for recurring fee computations. parameters: - description: >- Fee codes to be retrieved from the API. Can give multiple fee codes as comma separated values. (ex- FF_50,PF_75) name: fee_codes schema: type: string in: query required: false - description: >- Status of the fee code to be retrieved from the API (Active, Inactive) name: status schema: type: string in: query required: false responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/FeesGetFeeCodesResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/FeesGetFeeCodes400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/FeesGetFeeCodes401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/FeesGetFeeCodes403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/FeesGetFeeCodes404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/FeesGetFeeCodes429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/FeesGetFeeCodes500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url 'https://web_host_name/tenant/fees/v1/codes?fee_codes=SOME_STRING_VALUE&status=SOME_STRING_VALUE' \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/fees/v1/codes?fee_codes=SOME_STRING_VALUE&status=SOME_STRING_VALUE", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/fees/v1/codes?fee_codes=SOME_STRING_VALUE&status=SOME_STRING_VALUE") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/fees/v1/codes?fee_codes=SOME_STRING_VALUE&status=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/fees/v1/setups: get: tags: - Fees summary: Get Fee Setups (BETA) operationId: Fees_getFeeSetups security: - ApiSecretKey: [] description: >-

ⓘ This feature is currently in BETA mode

Returns the fee types in the system for recurring fee computations set up at Investor, Financial Product and Portfolio levels. parameters: - description: >- Level at which the recurring fee sub transaction type is setup. Can give multiple fee calculation entities as comma separated values to be retrieved via the API.(Options - Investor, Financial Product, Portfolio) name: fee_calculation_entity schema: type: string in: query required: false - description: >- Fee calculation method used for fee computation for this fee sub transaction type to be retrieved via the API.(Options - Daily Accrual) name: fee_calculation_method schema: type: string in: query required: false - description: >- Fee Sub transaction type set up for the entity. Can give multiple Sub transaction types as comma separated values.(ex- Service fees,Platform fees) name: sub_transaction_type schema: type: string in: query required: false - description: >- Fee codes of the fee setup to be retrieved from the API. Can give multiple fee codes as comma separated values.(ex- FF_50,PF_75) name: fee_codes schema: type: string in: query required: false - description: >- Instances of the entity for which the fee sub transaction type is setup.(Options - All, a single instance, or an array of instances of the entity) name: assigned_to schema: type: string in: query required: false - description: >- Start date of the fee setup to be retrieved from the API. Should be on YYYY-MM-DD format. name: start_date schema: type: string format: date in: query required: false - description: >- End date of the fee setup to be retrieved from the API. Should be on YYYY-MM-DD format. name: end_date schema: type: string format: date in: query required: false - description: >- Status of the fee code to be retrieved from the API (Active, Inactive) name: status schema: type: string in: query required: false responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/FeesGetFeeSetupsResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/FeesGetFeeSetups400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/FeesGetFeeSetups401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/FeesGetFeeSetups403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/FeesGetFeeSetups404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/FeesGetFeeSetups429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/FeesGetFeeSetups500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url 'https://web_host_name/tenant/fees/v1/setups?fee_calculation_entity=SOME_STRING_VALUE&fee_calculation_method=SOME_STRING_VALUE&sub_transaction_type=SOME_STRING_VALUE&fee_codes=SOME_STRING_VALUE&assigned_to=SOME_STRING_VALUE&start_date=SOME_STRING_VALUE&end_date=SOME_STRING_VALUE&status=SOME_STRING_VALUE' \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/fees/v1/setups?fee_calculation_entity=SOME_STRING_VALUE&fee_calculation_method=SOME_STRING_VALUE&sub_transaction_type=SOME_STRING_VALUE&fee_codes=SOME_STRING_VALUE&assigned_to=SOME_STRING_VALUE&start_date=SOME_STRING_VALUE&end_date=SOME_STRING_VALUE&status=SOME_STRING_VALUE", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/fees/v1/setups?fee_calculation_entity=SOME_STRING_VALUE&fee_calculation_method=SOME_STRING_VALUE&sub_transaction_type=SOME_STRING_VALUE&fee_codes=SOME_STRING_VALUE&assigned_to=SOME_STRING_VALUE&start_date=SOME_STRING_VALUE&end_date=SOME_STRING_VALUE&status=SOME_STRING_VALUE") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/fees/v1/setups?fee_calculation_entity=SOME_STRING_VALUE&fee_calculation_method=SOME_STRING_VALUE&sub_transaction_type=SOME_STRING_VALUE&fee_codes=SOME_STRING_VALUE&assigned_to=SOME_STRING_VALUE&start_date=SOME_STRING_VALUE&end_date=SOME_STRING_VALUE&status=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/fees/v1/exemptions: get: tags: - Fees summary: Get Fee Exemptions (BETA) operationId: Fees_getExemptions security: - ApiSecretKey: [] description: >-

ⓘ This feature is currently in BETA mode

Returns the asset exclusions in the system for recurring fee computations set up at Investor, Financial Product and Portfolio levels. parameters: - description: >- Level at which the recurring fee sub transaction type is setup. Can give multiple fee exemption entities as comma separated values to be retrieved via the API.(Options - Investor,Financial Product,Portfolio) name: fee_exemption_entity schema: type: string in: query required: false - description: >- Fee Sub transaction type set up for the entity. Can give multiple Sub transaction types as comma separated values.(ex- Service fees,Platform fees) name: sub_transaction_type schema: type: string in: query required: false - description: >- Instances of the entity for which the fee sub transaction type is setup.(Options - All or a single instance ) name: assigned_to schema: type: string in: query required: false - description: >- Start date of the fee setup to be retrieved from the API. Should be on YYYY-MM-DD format. name: start_date schema: type: string format: date in: query required: false - description: >- End date of the fee setup to be retrieved from the API. Should be on YYYY-MM-DD format. name: end_date schema: type: string format: date in: query required: false - description: >- Status of the fee code to be retrieved from the API (Active, Inactive) name: status schema: type: string in: query required: false responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/FeesGetExemptionsResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/FeesGetExemptions400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/FeesGetExemptions401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/FeesGetExemptions403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/FeesGetExemptions404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/FeesGetExemptions429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/FeesGetExemptions500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url 'https://web_host_name/tenant/fees/v1/exemptions?fee_exemption_entity=SOME_STRING_VALUE&sub_transaction_type=SOME_STRING_VALUE&assigned_to=SOME_STRING_VALUE&start_date=SOME_STRING_VALUE&end_date=SOME_STRING_VALUE&status=SOME_STRING_VALUE' \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/fees/v1/exemptions?fee_exemption_entity=SOME_STRING_VALUE&sub_transaction_type=SOME_STRING_VALUE&assigned_to=SOME_STRING_VALUE&start_date=SOME_STRING_VALUE&end_date=SOME_STRING_VALUE&status=SOME_STRING_VALUE", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/fees/v1/exemptions?fee_exemption_entity=SOME_STRING_VALUE&sub_transaction_type=SOME_STRING_VALUE&assigned_to=SOME_STRING_VALUE&start_date=SOME_STRING_VALUE&end_date=SOME_STRING_VALUE&status=SOME_STRING_VALUE") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/fees/v1/exemptions?fee_exemption_entity=SOME_STRING_VALUE&sub_transaction_type=SOME_STRING_VALUE&assigned_to=SOME_STRING_VALUE&start_date=SOME_STRING_VALUE&end_date=SOME_STRING_VALUE&status=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/investors/v1/{investor_id}/fee-nominations: summary: Fee Nomination resource management post: tags: - Investors summary: Create Fee Nomination for an Investor (BETA) operationId: Investors_createFeeNominationForInvestor security: - ApiSecretKey: [] description: >-

ⓘ This feature is currently in BETA mode

This endpoint supports the creation of a Fee Nomination for an investor. A pot can be nominated to deduct all types of fees from all pots of an investor. parameters: - description: Investor Id in: path name: investor_id schema: type: string required: true requestBody: content: application/json: schema: $ref: >- #/components/schemas/InvestorsCreateFeeNominationForInvestorRequest required: true responses: '201': description: success content: application/json: schema: $ref: >- #/components/schemas/InvestorsCreateFeeNominationForInvestorResponse '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/InvestorsCreateFeeNominationForInvestor400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/InvestorsCreateFeeNominationForInvestor401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/InvestorsCreateFeeNominationForInvestor403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/InvestorsCreateFeeNominationForInvestor404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/InvestorsCreateFeeNominationForInvestor429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/InvestorsCreateFeeNominationForInvestor500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request POST \ --url https://web_host_name/tenant/investors/v1/%7Binvestor_id%7D/fee-nominations \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"nominations":[{"nominee_pot_id":"pot-UKW3452800"}]}' - lang: Node + Native source: >- var http = require("https"); var options = { "method": "POST", "hostname": "web_host_name", "port": null, "path": "/tenant/investors/v1/%7Binvestor_id%7D/fee-nominations", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({nominations: [{nominee_pot_id: 'pot-UKW3452800'}]})); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/investors/v1/%7Binvestor_id%7D/fee-nominations") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"nominations\":[{\"nominee_pot_id\":\"pot-UKW3452800\"}]}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/investors/v1/%7Binvestor_id%7D/fee-nominations\"\n\n\tpayload := strings.NewReader(\"{\\\"nominations\\\":[{\\\"nominee_pot_id\\\":\\\"pot-UKW3452800\\\"}]}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" get: tags: - Investors summary: Get Fee Nomination for an Investor (BETA) operationId: Investors_getFeeNomination security: - ApiSecretKey: [] description: >-

ⓘ This feature is currently in BETA mode

This endpoint returns the nominee pot set up for the investor to deduct fees. parameters: - description: Investor Id in: path name: investor_id schema: type: string required: true responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/InvestorsGetFeeNominationResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/InvestorsGetFeeNomination400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/InvestorsGetFeeNomination401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/InvestorsGetFeeNomination403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/InvestorsGetFeeNomination404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/InvestorsGetFeeNomination429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/InvestorsGetFeeNomination500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url https://web_host_name/tenant/investors/v1/%7Binvestor_id%7D/fee-nominations \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/investors/v1/%7Binvestor_id%7D/fee-nominations", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/investors/v1/%7Binvestor_id%7D/fee-nominations") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/investors/v1/%7Binvestor_id%7D/fee-nominations\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" patch: tags: - Investors summary: Update Fee Nomination for an Investor (BETA) operationId: Investors_updateFeeNomination security: - ApiSecretKey: [] description: >-

ⓘ This feature is currently in BETA mode

This endpoint supports the update of a Fee Nomination of an investor. parameters: - description: Investor Id in: path name: investor_id schema: type: string required: true requestBody: content: application/json: schema: $ref: '#/components/schemas/InvestorsUpdateFeeNominationRequest' required: true responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/InvestorsUpdateFeeNominationResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/InvestorsUpdateFeeNomination400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/InvestorsUpdateFeeNomination401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/InvestorsUpdateFeeNomination403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/InvestorsUpdateFeeNomination404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/InvestorsUpdateFeeNomination429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/InvestorsUpdateFeeNomination500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request PATCH \ --url https://web_host_name/tenant/investors/v1/%7Binvestor_id%7D/fee-nominations \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"nominations":[{"nominee_pot_id":"pot-UKW3452800"}],"reference_version":1}' - lang: Node + Native source: >- var http = require("https"); var options = { "method": "PATCH", "hostname": "web_host_name", "port": null, "path": "/tenant/investors/v1/%7Binvestor_id%7D/fee-nominations", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({nominations: [{nominee_pot_id: 'pot-UKW3452800'}], reference_version: 1})); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/investors/v1/%7Binvestor_id%7D/fee-nominations") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Patch.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"nominations\":[{\"nominee_pot_id\":\"pot-UKW3452800\"}],\"reference_version\":1}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/investors/v1/%7Binvestor_id%7D/fee-nominations\"\n\n\tpayload := strings.NewReader(\"{\\\"nominations\\\":[{\\\"nominee_pot_id\\\":\\\"pot-UKW3452800\\\"}],\\\"reference_version\\\":1}\")\n\n\treq, _ := http.NewRequest(\"PATCH\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" delete: tags: - Investors summary: Delete Fee Nomination for an Investor (BETA) operationId: Investors_deleteFeeNomination security: - ApiSecretKey: [] description: >-

ⓘ This feature is currently in BETA mode

This endpoint supports the deletion of a Fee Nomination. parameters: - description: Investor Id in: path name: investor_id schema: type: string required: true responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/InvestorsDeleteFeeNominationResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/InvestorsDeleteFeeNomination400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/InvestorsDeleteFeeNomination401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/InvestorsDeleteFeeNomination403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/InvestorsDeleteFeeNomination404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/InvestorsDeleteFeeNomination429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/InvestorsDeleteFeeNomination500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request DELETE \ --url https://web_host_name/tenant/investors/v1/%7Binvestor_id%7D/fee-nominations \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "DELETE", "hostname": "web_host_name", "port": null, "path": "/tenant/investors/v1/%7Binvestor_id%7D/fee-nominations", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/investors/v1/%7Binvestor_id%7D/fee-nominations") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Delete.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/investors/v1/%7Binvestor_id%7D/fee-nominations\"\n\n\treq, _ := http.NewRequest(\"DELETE\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/contributing-employers/v1: post: tags: - Contributing Employers summary: Create new contributing employer operationId: ContributingEmployers_createNewEmployer security: - ApiSecretKey: [] parameters: [] requestBody: content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersCreateNewEmployerRequest responses: '201': description: success content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersCreateNewEmployerResponse '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersCreateNewEmployer400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersCreateNewEmployer401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersCreateNewEmployer403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersCreateNewEmployer404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersCreateNewEmployer429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersCreateNewEmployer500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request POST \ --url https://web_host_name/tenant/contributing-employers/v1 \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"name":"Acme Ltd","investor_id":"inv-QXR38578","registration_number":"12345678","address":{"postal_code":"S2 2DF","address_line":"14","street_name":"Tottenham Court Road","city":"London","state":"England","country":"GBR"},"status":"active","bank_accounts":[{"account_name":"David Brown","default_account":"no","bank_account_number":"99005678","account_status":"active","sort_code":"778856","building_society_roll_number":"11332272"}]}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "POST", "hostname": "web_host_name", "port": null, "path": "/tenant/contributing-employers/v1", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ name: 'Acme Ltd', investor_id: 'inv-QXR38578', registration_number: '12345678', address: { postal_code: 'S2 2DF', address_line: '14', street_name: 'Tottenham Court Road', city: 'London', state: 'England', country: 'GBR' }, status: 'active', bank_accounts: [ { account_name: 'David Brown', default_account: 'no', bank_account_number: '99005678', account_status: 'active', sort_code: '778856', building_society_roll_number: '11332272' } ] })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/contributing-employers/v1") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"name\":\"Acme Ltd\",\"investor_id\":\"inv-QXR38578\",\"registration_number\":\"12345678\",\"address\":{\"postal_code\":\"S2 2DF\",\"address_line\":\"14\",\"street_name\":\"Tottenham Court Road\",\"city\":\"London\",\"state\":\"England\",\"country\":\"GBR\"},\"status\":\"active\",\"bank_accounts\":[{\"account_name\":\"David Brown\",\"default_account\":\"no\",\"bank_account_number\":\"99005678\",\"account_status\":\"active\",\"sort_code\":\"778856\",\"building_society_roll_number\":\"11332272\"}]}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/contributing-employers/v1\"\n\n\tpayload := strings.NewReader(\"{\\\"name\\\":\\\"Acme Ltd\\\",\\\"investor_id\\\":\\\"inv-QXR38578\\\",\\\"registration_number\\\":\\\"12345678\\\",\\\"address\\\":{\\\"postal_code\\\":\\\"S2 2DF\\\",\\\"address_line\\\":\\\"14\\\",\\\"street_name\\\":\\\"Tottenham Court Road\\\",\\\"city\\\":\\\"London\\\",\\\"state\\\":\\\"England\\\",\\\"country\\\":\\\"GBR\\\"},\\\"status\\\":\\\"active\\\",\\\"bank_accounts\\\":[{\\\"account_name\\\":\\\"David Brown\\\",\\\"default_account\\\":\\\"no\\\",\\\"bank_account_number\\\":\\\"99005678\\\",\\\"account_status\\\":\\\"active\\\",\\\"sort_code\\\":\\\"778856\\\",\\\"building_society_roll_number\\\":\\\"11332272\\\"}]}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" get: tags: - Contributing Employers summary: Retrieve all the contributing employers of a particular investor operationId: ContributingEmployers_getByInvestor security: - ApiSecretKey: [] parameters: - description: Valid Investor Id name: investor_id schema: type: string in: query responses: '200': description: success content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersGetByInvestorResponse '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersGetByInvestor400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersGetByInvestor401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersGetByInvestor403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersGetByInvestor404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersGetByInvestor429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersGetByInvestor500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url 'https://web_host_name/tenant/contributing-employers/v1?investor_id=SOME_STRING_VALUE' \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/contributing-employers/v1?investor_id=SOME_STRING_VALUE", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/contributing-employers/v1?investor_id=SOME_STRING_VALUE") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/contributing-employers/v1?investor_id=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/contributing-employers/v1/{contributing_employer_id}: get: tags: - Contributing Employers summary: Retrieve a particular contributing employer operationId: ContributingEmployers_getParticularEmployer security: - ApiSecretKey: [] parameters: - description: Contributing Employer Id in: path name: contributing_employer_id required: true schema: type: string responses: '200': description: success content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersGetParticularEmployerResponse '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersGetParticularEmployer400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersGetParticularEmployer401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersGetParticularEmployer403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersGetParticularEmployer404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersGetParticularEmployer429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersGetParticularEmployer500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url https://web_host_name/tenant/contributing-employers/v1/%7Bcontributing_employer_id%7D \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/contributing-employers/v1/%7Bcontributing_employer_id%7D", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/contributing-employers/v1/%7Bcontributing_employer_id%7D") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/contributing-employers/v1/%7Bcontributing_employer_id%7D\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" patch: tags: - Contributing Employers summary: Update a particular contributing employer operationId: ContributingEmployers_updateParticularEmployer security: - ApiSecretKey: [] parameters: - description: Contributing Employer Id in: path name: contributing_employer_id required: true schema: type: string requestBody: content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersUpdateParticularEmployerRequest responses: '200': description: success content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersUpdateParticularEmployerResponse '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersUpdateParticularEmployer400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersUpdateParticularEmployer401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersUpdateParticularEmployer403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersUpdateParticularEmployer404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersUpdateParticularEmployer429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/ContributingEmployersUpdateParticularEmployer500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request PATCH \ --url https://web_host_name/tenant/contributing-employers/v1/%7Bcontributing_employer_id%7D \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"name":"Acme Ltd","registration_number":"12345678","address":{"postal_code":"S2 2DF","address_line":"14","street_name":"Tottenham Court Road","city":"London","state":"England","country":"GBR"},"status":"active","reference_version":1}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "PATCH", "hostname": "web_host_name", "port": null, "path": "/tenant/contributing-employers/v1/%7Bcontributing_employer_id%7D", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ name: 'Acme Ltd', registration_number: '12345678', address: { postal_code: 'S2 2DF', address_line: '14', street_name: 'Tottenham Court Road', city: 'London', state: 'England', country: 'GBR' }, status: 'active', reference_version: 1 })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/contributing-employers/v1/%7Bcontributing_employer_id%7D") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Patch.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"name\":\"Acme Ltd\",\"registration_number\":\"12345678\",\"address\":{\"postal_code\":\"S2 2DF\",\"address_line\":\"14\",\"street_name\":\"Tottenham Court Road\",\"city\":\"London\",\"state\":\"England\",\"country\":\"GBR\"},\"status\":\"active\",\"reference_version\":1}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/contributing-employers/v1/%7Bcontributing_employer_id%7D\"\n\n\tpayload := strings.NewReader(\"{\\\"name\\\":\\\"Acme Ltd\\\",\\\"registration_number\\\":\\\"12345678\\\",\\\"address\\\":{\\\"postal_code\\\":\\\"S2 2DF\\\",\\\"address_line\\\":\\\"14\\\",\\\"street_name\\\":\\\"Tottenham Court Road\\\",\\\"city\\\":\\\"London\\\",\\\"state\\\":\\\"England\\\",\\\"country\\\":\\\"GBR\\\"},\\\"status\\\":\\\"active\\\",\\\"reference_version\\\":1}\")\n\n\treq, _ := http.NewRequest(\"PATCH\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/recurring-contributions/v1: get: tags: - Recurring Contributions summary: Get All Recurring Contributions operationId: RecurringContributions_getAllContributions security: - ApiSecretKey: [] description: >-

ⓘ This feature is currently in BETA mode

Returns all the recurring contributions set up for investors in an array. \ Recurring Contributions can be requested using filters `contribution_id`, `pot_id`, `investor_id`, `payment_type`, `sub_transaction_type`, `financial_product_id` and `status` or a combination of these filters. parameters: - description: Contribution Id in: query name: contribution_id schema: type: string required: false - description: Pot Id in: query name: pot_id schema: type: string required: false - description: Financial Product Id in: query name: financial_product_id schema: type: string required: false - description: Investor Id in: query name: investor_id schema: type: string required: false - description: Payment type of the payment to be retrieved from the API name: payment_type schema: type: string enum: - direct_debit in: query required: false - description: Sub Transaction Type of the recurring contribution name: sub_transaction_type schema: type: string enum: - Regular contribution - Regular contribution - non relievable - Regular contribution - Employer in: query required: false - description: Status of the recurring contribution name: status schema: type: string enum: - Pending - Active - Finished - Rejected - Paused - Cancelled in: query required: false - description: >- Page size for the query. This end-point has paginations capabilities. This value should be a positive integer value. If this is not provided or provided without page_number, both page_size and page_number will be defaulted to 1000 and 1. Max page size is 8000. Results are sorted decending order of the created date & time. name: page_size schema: type: string in: query required: false - description: >- Page number for the query. This end-point has paginations capabilities. This value should be a positive integer value. If this is not provided or provided without page_size, both page_size and page_number will be defaulted to 1000 and 1. Results are sorted decending order of the created date & time. name: page_number schema: type: string in: query required: false - description: Sorting order; results are sorted by creation time. name: sort schema: type: string default: desc enum: - asc - desc in: query required: false responses: '200': description: A paged array of Recurring Contributions content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsGetAllContributionsResponse '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsGetAllContributions400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsGetAllContributions401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsGetAllContributions403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsGetAllContributions404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsGetAllContributions429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsGetAllContributions500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url 'https://web_host_name/tenant/recurring-contributions/v1?contribution_id=SOME_STRING_VALUE&pot_id=SOME_STRING_VALUE&financial_product_id=SOME_STRING_VALUE&investor_id=SOME_STRING_VALUE&payment_type=SOME_STRING_VALUE&sub_transaction_type=SOME_STRING_VALUE&status=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE' \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/recurring-contributions/v1?contribution_id=SOME_STRING_VALUE&pot_id=SOME_STRING_VALUE&financial_product_id=SOME_STRING_VALUE&investor_id=SOME_STRING_VALUE&payment_type=SOME_STRING_VALUE&sub_transaction_type=SOME_STRING_VALUE&status=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/recurring-contributions/v1?contribution_id=SOME_STRING_VALUE&pot_id=SOME_STRING_VALUE&financial_product_id=SOME_STRING_VALUE&investor_id=SOME_STRING_VALUE&payment_type=SOME_STRING_VALUE&sub_transaction_type=SOME_STRING_VALUE&status=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/recurring-contributions/v1?contribution_id=SOME_STRING_VALUE&pot_id=SOME_STRING_VALUE&financial_product_id=SOME_STRING_VALUE&investor_id=SOME_STRING_VALUE&payment_type=SOME_STRING_VALUE&sub_transaction_type=SOME_STRING_VALUE&status=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" post: tags: - Recurring Contributions summary: Create Recurring Payment operationId: RecurringContributions_createPayment security: - ApiSecretKey: [] description: >-

ⓘ This feature is currently in BETA mode

Create a new recurring payment for an investors pot, which will be setup with the selected service provider to manage and trigger the payments on a pre-defined schedule. parameters: [] requestBody: content: application/json: schema: $ref: '#/components/schemas/RecurringContributionsCreatePaymentRequest' required: true responses: '201': description: Resource created content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsCreatePaymentResponse '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsCreatePayment400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsCreatePayment401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsCreatePayment403Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsCreatePayment429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsCreatePayment500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request POST \ --url https://web_host_name/tenant/recurring-contributions/v1 \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"request_id":"266ea41d-adf5-480b-af50-15b940c2b846","contribution_name":"Contributions to SIPP","pot_id":"pot-UKW34528503","investor_id":"inv-XUT11265","amount":"100.00","sub_transaction_type":"Regular contribution - Employer","currency":"GBP","payment_type":"direct_debit","service_provider":"gocardless","purpose":"invest","investment_instructions":[{"investment_product_id":"isa_1223931892","quantity":"300"},{"investment_product_id":"isa_9913091898","quantity":"500"}],"source_id":"cem-ASP43560","payment_schedule":{"interval_unit":"monthly","interval":2,"date":1,"start_date":"2023-04-02","end_date":"2023-11-02"}}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "POST", "hostname": "web_host_name", "port": null, "path": "/tenant/recurring-contributions/v1", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ request_id: '266ea41d-adf5-480b-af50-15b940c2b846', contribution_name: 'Contributions to SIPP', pot_id: 'pot-UKW34528503', investor_id: 'inv-XUT11265', amount: '100.00', sub_transaction_type: 'Regular contribution - Employer', currency: 'GBP', payment_type: 'direct_debit', service_provider: 'gocardless', purpose: 'invest', investment_instructions: [ {investment_product_id: 'isa_1223931892', quantity: '300'}, {investment_product_id: 'isa_9913091898', quantity: '500'} ], source_id: 'cem-ASP43560', payment_schedule: { interval_unit: 'monthly', interval: 2, date: 1, start_date: '2023-04-02', end_date: '2023-11-02' } })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/recurring-contributions/v1") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"request_id\":\"266ea41d-adf5-480b-af50-15b940c2b846\",\"contribution_name\":\"Contributions to SIPP\",\"pot_id\":\"pot-UKW34528503\",\"investor_id\":\"inv-XUT11265\",\"amount\":\"100.00\",\"sub_transaction_type\":\"Regular contribution - Employer\",\"currency\":\"GBP\",\"payment_type\":\"direct_debit\",\"service_provider\":\"gocardless\",\"purpose\":\"invest\",\"investment_instructions\":[{\"investment_product_id\":\"isa_1223931892\",\"quantity\":\"300\"},{\"investment_product_id\":\"isa_9913091898\",\"quantity\":\"500\"}],\"source_id\":\"cem-ASP43560\",\"payment_schedule\":{\"interval_unit\":\"monthly\",\"interval\":2,\"date\":1,\"start_date\":\"2023-04-02\",\"end_date\":\"2023-11-02\"}}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/recurring-contributions/v1\"\n\n\tpayload := strings.NewReader(\"{\\\"request_id\\\":\\\"266ea41d-adf5-480b-af50-15b940c2b846\\\",\\\"contribution_name\\\":\\\"Contributions to SIPP\\\",\\\"pot_id\\\":\\\"pot-UKW34528503\\\",\\\"investor_id\\\":\\\"inv-XUT11265\\\",\\\"amount\\\":\\\"100.00\\\",\\\"sub_transaction_type\\\":\\\"Regular contribution - Employer\\\",\\\"currency\\\":\\\"GBP\\\",\\\"payment_type\\\":\\\"direct_debit\\\",\\\"service_provider\\\":\\\"gocardless\\\",\\\"purpose\\\":\\\"invest\\\",\\\"investment_instructions\\\":[{\\\"investment_product_id\\\":\\\"isa_1223931892\\\",\\\"quantity\\\":\\\"300\\\"},{\\\"investment_product_id\\\":\\\"isa_9913091898\\\",\\\"quantity\\\":\\\"500\\\"}],\\\"source_id\\\":\\\"cem-ASP43560\\\",\\\"payment_schedule\\\":{\\\"interval_unit\\\":\\\"monthly\\\",\\\"interval\\\":2,\\\"date\\\":1,\\\"start_date\\\":\\\"2023-04-02\\\",\\\"end_date\\\":\\\"2023-11-02\\\"}}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/recurring-contributions/v1/{contribution_id}: patch: tags: - Recurring Contributions summary: Update Recurring Payment operationId: RecurringContributions_updateRecurringPayment security: - ApiSecretKey: [] description: >-

ⓘ This feature is currently in BETA mode

Update an active recurring payment that is set up in the system. parameters: - description: Contribution Id in: path name: contribution_id schema: type: string required: true requestBody: content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsUpdateRecurringPaymentRequest required: true responses: '200': description: success content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsUpdateRecurringPaymentResponse example: status: Active service_provider_params: status: Subscription created authorization_reference: MD000VDMMYGD0T contribution_reference: SB000A6A5EVJHE customer_reference: CU000Y5VVH7TDQ request_id: BRQ0004CZJA19GF reason: Paid out authorization_url: https://authexample.gocardless-sandbox.com next_payment_dates: - '2023-09-01' - '2023-10-01' contribution_name: New contributions to SIPP amount: '1500.00' contribution_id: RCB-GC-AB24DE7 pot_id: pot-UKW34528503 financial_product_id: sipp_accumulation investor_id: inv-XUT11265 sub_transaction_type: Regular contribution - Employer currency: GBP payment_type: direct_debit service_provider: gocardless purpose: cash source_id: cem-ASP43560 payment_schedule: interval_unit: monthly interval: 2 date: 1 start_date: '2023-04-02' end_date: '2023-11-02' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsUpdateRecurringPayment400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsUpdateRecurringPayment401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsUpdateRecurringPayment403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsUpdateRecurringPayment404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsUpdateRecurringPayment429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsUpdateRecurringPayment500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request PATCH \ --url https://web_host_name/tenant/recurring-contributions/v1/%7Bcontribution_id%7D \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"amount":"1500.00","contribution_name":"New contributions to SIPP"}' - lang: Node + Native source: >- var http = require("https"); var options = { "method": "PATCH", "hostname": "web_host_name", "port": null, "path": "/tenant/recurring-contributions/v1/%7Bcontribution_id%7D", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({amount: '1500.00', contribution_name: 'New contributions to SIPP'})); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/recurring-contributions/v1/%7Bcontribution_id%7D") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Patch.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"amount\":\"1500.00\",\"contribution_name\":\"New contributions to SIPP\"}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/recurring-contributions/v1/%7Bcontribution_id%7D\"\n\n\tpayload := strings.NewReader(\"{\\\"amount\\\":\\\"1500.00\\\",\\\"contribution_name\\\":\\\"New contributions to SIPP\\\"}\")\n\n\treq, _ := http.NewRequest(\"PATCH\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/recurring-contributions/v1/{contribution_id}/pause: post: tags: - Recurring Contributions summary: Pause Recurring Payment operationId: RecurringContributions_pausePaymentSetup security: - ApiSecretKey: [] description: >-

ⓘ This feature is currently in BETA mode

Pause a recurring payment setup in the system. Recurring payments with the status ‘Active' can be paused through this endpoint. parameters: - description: Contribution Id in: path name: contribution_id schema: type: string required: true requestBody: content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsPausePaymentSetupRequest responses: '200': description: Success content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsPausePaymentSetupResponse example: status: Paused service_provider_params: status: Subscription paused authorization_reference: MD000VDMMYGD0T contribution_reference: SB000A6A5EVJHE customer_reference: CU000Y5VVH7TDQ request_id: BRQ0004CZJA19GF reason: Paid out authorization_url: https://authexample.gocardless-sandbox.com next_payment_dates: - '2023-10-01' - '2023-11-01' contribution_id: RCB-GC-AB24DE7 contribution_name: Contributions to SIPP pot_id: pot-UKW34528503 financial_product_id: sipp_accumulation investor_id: inv-XUT11265 amount: '100.00' sub_transaction_type: Regular contribution - Employer currency: GBP payment_type: direct_debit service_provider: gocardless purpose: cash source_id: cem-ASP43560 payment_schedule: interval_unit: monthly interval: 2 date: 1 start_date: '2023-04-02' end_date: '2023-11-02' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsPausePaymentSetup400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsPausePaymentSetup401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsPausePaymentSetup403Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsPausePaymentSetup429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsPausePaymentSetup500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request POST \ --url https://web_host_name/tenant/recurring-contributions/v1/%7Bcontribution_id%7D/pause \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"pause_cycles":1}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "POST", "hostname": "web_host_name", "port": null, "path": "/tenant/recurring-contributions/v1/%7Bcontribution_id%7D/pause", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({pause_cycles: 1})); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/recurring-contributions/v1/%7Bcontribution_id%7D/pause") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"pause_cycles\":1}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/recurring-contributions/v1/%7Bcontribution_id%7D/pause\"\n\n\tpayload := strings.NewReader(\"{\\\"pause_cycles\\\":1}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/recurring-contributions/v1/{contribution_id}/resume: post: tags: - Recurring Contributions summary: Resume Recurring Payment operationId: RecurringContributions_resumeContribution security: - ApiSecretKey: [] description: >-

ⓘ This feature is currently in BETA mode

Resume a paused recurring payment that is set up in the system. Recurring payments with the status ‘Paused' can be resumed through this endpoint. parameters: - description: Contribution Id in: path name: contribution_id schema: type: string required: true requestBody: content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsResumeContributionRequest responses: '200': description: Success content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsResumeContributionResponse example: status: Active service_provider_params: status: Subscription resumed authorization_reference: MD000VDMMYGD0T contribution_reference: SB000A6A5EVJHE customer_reference: CU000Y5VVH7TDQ request_id: BRQ0004CZJA19GF reason: Paid out authorization_url: https://authexample.gocardless-sandbox.com next_payment_dates: - '2023-09-01' - '2023-10-01' contribution_id: RCB-GC-AB24DE7 contribution_name: Contributions to SIPP pot_id: pot-UKW34528503 financial_product_id: sipp_accumulation investor_id: inv-XUT11265 amount: '100.00' sub_transaction_type: Regular contribution - Employer currency: GBP payment_type: direct_debit service_provider: gocardless purpose: cash source_id: cem-ASP43560 payment_schedule: interval_unit: monthly interval: 2 date: 1 start_date: '2023-04-02' end_date: '2023-11-02' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsResumeContribution400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsResumeContribution401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsResumeContribution403Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsResumeContribution429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsResumeContribution500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request POST \ --url https://web_host_name/tenant/recurring-contributions/v1/%7Bcontribution_id%7D/resume \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "POST", "hostname": "web_host_name", "port": null, "path": "/tenant/recurring-contributions/v1/%7Bcontribution_id%7D/resume", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({})); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/recurring-contributions/v1/%7Bcontribution_id%7D/resume") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/recurring-contributions/v1/%7Bcontribution_id%7D/resume\"\n\n\tpayload := strings.NewReader(\"{}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/recurring-contributions/v1/{contribution_id}/cancel: post: tags: - Recurring Contributions summary: Cancel Recurring Payment operationId: RecurringContributions_cancelRecurringPayment security: - ApiSecretKey: [] description: >-

ⓘ This feature is currently in BETA mode

Cancel a recurring payment setup in the system. Recurring payments with the status ‘Active', ‘Resumed’ or 'Paused’ can be cancelled through this endpoint. Cancelled payments cannot be active again. parameters: - description: Contribution Id in: path name: contribution_id schema: type: string required: true requestBody: content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsCancelRecurringPaymentRequest responses: '200': description: Success content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsCancelRecurringPaymentResponse example: status: Cancelled service_provider_params: status: Subscription cancelled authorization_reference: MD000VDMMYGD0T contribution_reference: SB000A6A5EVJHE customer_reference: CU000Y5VVH7TDQ request_id: BRQ0004CZJA19GF reason: Paid out authorization_url: https://authexample.gocardless-sandbox.com next_payment_dates: [] contribution_id: RCB-GC-AB24DE7 contribution_name: Contributions to SIPP pot_id: pot-UKW34528503 financial_product_id: sipp_accumulation investor_id: inv-XUT11265 amount: '100.00' sub_transaction_type: Regular contribution - Employer currency: GBP payment_type: direct_debit service_provider: gocardless purpose: cash source_id: cem-ASP43560 payment_schedule: interval_unit: monthly interval: 2 date: 1 start_date: '2023-04-02' end_date: '2023-11-02' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsCancelRecurringPayment400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsCancelRecurringPayment401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsCancelRecurringPayment403Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsCancelRecurringPayment429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/RecurringContributionsCancelRecurringPayment500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request POST \ --url https://web_host_name/tenant/recurring-contributions/v1/%7Bcontribution_id%7D/cancel \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "POST", "hostname": "web_host_name", "port": null, "path": "/tenant/recurring-contributions/v1/%7Bcontribution_id%7D/cancel", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({})); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/recurring-contributions/v1/%7Bcontribution_id%7D/cancel") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/recurring-contributions/v1/%7Bcontribution_id%7D/cancel\"\n\n\tpayload := strings.NewReader(\"{}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/projections/v1/accumulate: post: tags: - Projections summary: Projection Accumulation (BETA) operationId: Projections_calculatePensionProjection security: - ApiSecretKey: [] description: >

ⓘ This feature is currently in BETA mode

This endpoint supports to project accumulation of a pension account. parameters: [] requestBody: content: application/json: schema: $ref: >- #/components/schemas/ProjectionsCalculatePensionProjectionRequest responses: '201': description: success content: application/json: schema: $ref: >- #/components/schemas/ProjectionsCalculatePensionProjectionResponse '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/ProjectionsCalculatePensionProjection400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/ProjectionsCalculatePensionProjection401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/ProjectionsCalculatePensionProjection403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/ProjectionsCalculatePensionProjection404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/ProjectionsCalculatePensionProjection429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/ProjectionsCalculatePensionProjection500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request POST \ --url https://web_host_name/tenant/projections/v1/accumulate \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"name":"David Brown","date_of_birth":"1963-07-19","intended_retirement_age":60,"current_pension_value":1000,"growth_rate":2.5,"recurring_contributions":[{"frequency":"Monthly","amount":600}],"one_off_payment":500,"transfer_in":500,"fees":[{"fee_type":"Management fee","frequency":"Monthly","amount":600}],"projection_coverage_years":[5]}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "POST", "hostname": "web_host_name", "port": null, "path": "/tenant/projections/v1/accumulate", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ name: 'David Brown', date_of_birth: '1963-07-19', intended_retirement_age: 60, current_pension_value: 1000, growth_rate: 2.5, recurring_contributions: [{frequency: 'Monthly', amount: 600}], one_off_payment: 500, transfer_in: 500, fees: [{fee_type: 'Management fee', frequency: 'Monthly', amount: 600}], projection_coverage_years: [5] })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/projections/v1/accumulate") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"name\":\"David Brown\",\"date_of_birth\":\"1963-07-19\",\"intended_retirement_age\":60,\"current_pension_value\":1000,\"growth_rate\":2.5,\"recurring_contributions\":[{\"frequency\":\"Monthly\",\"amount\":600}],\"one_off_payment\":500,\"transfer_in\":500,\"fees\":[{\"fee_type\":\"Management fee\",\"frequency\":\"Monthly\",\"amount\":600}],\"projection_coverage_years\":[5]}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/projections/v1/accumulate\"\n\n\tpayload := strings.NewReader(\"{\\\"name\\\":\\\"David Brown\\\",\\\"date_of_birth\\\":\\\"1963-07-19\\\",\\\"intended_retirement_age\\\":60,\\\"current_pension_value\\\":1000,\\\"growth_rate\\\":2.5,\\\"recurring_contributions\\\":[{\\\"frequency\\\":\\\"Monthly\\\",\\\"amount\\\":600}],\\\"one_off_payment\\\":500,\\\"transfer_in\\\":500,\\\"fees\\\":[{\\\"fee_type\\\":\\\"Management fee\\\",\\\"frequency\\\":\\\"Monthly\\\",\\\"amount\\\":600}],\\\"projection_coverage_years\\\":[5]}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/pots/v1/crystallisation: get: tags: - SIPP Crystallisation summary: Get All Crystallisation Requests operationId: SippCrystallisation_getAllRequests security: - ApiSecretKey: [] description: >-

ⓘ This feature is currently in BETA mode

Returns a paged array of crystallisation requests. parameters: - description: Crystallisation Id in: query name: crystallisation_id schema: type: string required: false - description: Investor Id in: query name: investor_id schema: type: string required: false - description: Status of crystallisation request name: status schema: type: string enum: - Accepted - Partially completed - Completed - Rejected - Failed in: query required: false - description: >- Page size for the query. This end-point has paginations capabilities. This value should be a positive integer value. If this is not provided or provided without page_number, both page_size and page_number will be defaulted to 1000 and 1. Max page size is 8000. Results are sorted decending order of the created date & time. name: page_size schema: type: string in: query required: false - description: >- Page number for the query. This end-point has paginations capabilities. This value should be a positive integer value. If this is not provided or provided without page_size, both page_size and page_number will be defaulted to 1000 and 1. Results are sorted decending order of the created date & time. name: page_number schema: type: string in: query required: false - description: Sorting order; results are sorted by creation time. name: sort schema: type: string default: desc enum: - asc - desc in: query required: false responses: '200': description: A paged array of crystallisation requests content: application/json: schema: $ref: '#/components/schemas/SippCrystallisationGetAllRequestsResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/SippCrystallisationGetAllRequests400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/SippCrystallisationGetAllRequests401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/SippCrystallisationGetAllRequests403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/SippCrystallisationGetAllRequests404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/SippCrystallisationGetAllRequests429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/SippCrystallisationGetAllRequests500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url 'https://web_host_name/tenant/pots/v1/crystallisation?crystallisation_id=SOME_STRING_VALUE&investor_id=SOME_STRING_VALUE&status=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE' \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/pots/v1/crystallisation?crystallisation_id=SOME_STRING_VALUE&investor_id=SOME_STRING_VALUE&status=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/pots/v1/crystallisation?crystallisation_id=SOME_STRING_VALUE&investor_id=SOME_STRING_VALUE&status=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/pots/v1/crystallisation?crystallisation_id=SOME_STRING_VALUE&investor_id=SOME_STRING_VALUE&status=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" post: tags: - SIPP Crystallisation summary: Create a crystallisation request operationId: SippCrystallisation_createRequest security: - ApiSecretKey: [] description: >-

ⓘ This feature is currently in BETA mode

Returns a response of crystallisation request. parameters: [] requestBody: content: application/json: schema: $ref: '#/components/schemas/SippCrystallisationCreateRequestRequest' responses: '201': description: success content: application/json: schema: $ref: '#/components/schemas/SippCrystallisationCreateRequestResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/SippCrystallisationCreateRequest400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/SippCrystallisationCreateRequest401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/SippCrystallisationCreateRequest403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/SippCrystallisationCreateRequest404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/SippCrystallisationCreateRequest429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/SippCrystallisationCreateRequest500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request POST \ --url https://web_host_name/tenant/pots/v1/crystallisation \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"request_id":"266ea41d-adf5-480b-af50-15b940c2b846","investor_id":"inv-XUT11265","bank_account_id":"ba-bc00c28f-b3fc-42b7","crystallisation_instructions":[{"pot_id":"pot-GYQ5423100","value":"1000"}],"drawdown_instructions":[{"pot_id":"pot-XWL3855774","purpose":"cash","percentage":"30"},{"pot_id":"pot-SDQ5009730","purpose":"invest","percentage":"70"}]}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "POST", "hostname": "web_host_name", "port": null, "path": "/tenant/pots/v1/crystallisation", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ request_id: '266ea41d-adf5-480b-af50-15b940c2b846', investor_id: 'inv-XUT11265', bank_account_id: 'ba-bc00c28f-b3fc-42b7', crystallisation_instructions: [{pot_id: 'pot-GYQ5423100', value: '1000'}], drawdown_instructions: [ {pot_id: 'pot-XWL3855774', purpose: 'cash', percentage: '30'}, {pot_id: 'pot-SDQ5009730', purpose: 'invest', percentage: '70'} ] })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/pots/v1/crystallisation") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"request_id\":\"266ea41d-adf5-480b-af50-15b940c2b846\",\"investor_id\":\"inv-XUT11265\",\"bank_account_id\":\"ba-bc00c28f-b3fc-42b7\",\"crystallisation_instructions\":[{\"pot_id\":\"pot-GYQ5423100\",\"value\":\"1000\"}],\"drawdown_instructions\":[{\"pot_id\":\"pot-XWL3855774\",\"purpose\":\"cash\",\"percentage\":\"30\"},{\"pot_id\":\"pot-SDQ5009730\",\"purpose\":\"invest\",\"percentage\":\"70\"}]}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/pots/v1/crystallisation\"\n\n\tpayload := strings.NewReader(\"{\\\"request_id\\\":\\\"266ea41d-adf5-480b-af50-15b940c2b846\\\",\\\"investor_id\\\":\\\"inv-XUT11265\\\",\\\"bank_account_id\\\":\\\"ba-bc00c28f-b3fc-42b7\\\",\\\"crystallisation_instructions\\\":[{\\\"pot_id\\\":\\\"pot-GYQ5423100\\\",\\\"value\\\":\\\"1000\\\"}],\\\"drawdown_instructions\\\":[{\\\"pot_id\\\":\\\"pot-XWL3855774\\\",\\\"purpose\\\":\\\"cash\\\",\\\"percentage\\\":\\\"30\\\"},{\\\"pot_id\\\":\\\"pot-SDQ5009730\\\",\\\"purpose\\\":\\\"invest\\\",\\\"percentage\\\":\\\"70\\\"}]}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/projections/v1/drawdown: post: tags: - Projections summary: Projection Drawdown (BETA) operationId: Projections_calculatePensionDrawdown security: - ApiSecretKey: [] description: >-

ⓘ This feature is currently in BETA mode

This endpoint supports to project drawdown of a pension account. parameters: [] requestBody: content: application/json: schema: $ref: '#/components/schemas/ProjectionsCalculatePensionDrawdownRequest' responses: '201': description: success content: application/json: schema: $ref: >- #/components/schemas/ProjectionsCalculatePensionDrawdownResponse '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/ProjectionsCalculatePensionDrawdown400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/ProjectionsCalculatePensionDrawdown401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/ProjectionsCalculatePensionDrawdown403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/ProjectionsCalculatePensionDrawdown404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/ProjectionsCalculatePensionDrawdown429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/ProjectionsCalculatePensionDrawdown500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request POST \ --url https://web_host_name/tenant/projections/v1/drawdown \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"name":"David Brown","date_of_birth":"1963-07-19","current_pension_value":1000,"growth_rate":2.5,"recurring_contributions":[{"frequency":"Monthly","amount":600}],"one_off_payment":500,"transfer_in":500,"fees":[{"fee_type":"Management fee","frequency":"Monthly","amount":600}],"one_off_withdrawal":500,"recurring_withdrawals":[{"frequency":"Monthly","amount":600}],"projection_coverage_years":[5]}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "POST", "hostname": "web_host_name", "port": null, "path": "/tenant/projections/v1/drawdown", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ name: 'David Brown', date_of_birth: '1963-07-19', current_pension_value: 1000, growth_rate: 2.5, recurring_contributions: [{frequency: 'Monthly', amount: 600}], one_off_payment: 500, transfer_in: 500, fees: [{fee_type: 'Management fee', frequency: 'Monthly', amount: 600}], one_off_withdrawal: 500, recurring_withdrawals: [{frequency: 'Monthly', amount: 600}], projection_coverage_years: [5] })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/projections/v1/drawdown") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"name\":\"David Brown\",\"date_of_birth\":\"1963-07-19\",\"current_pension_value\":1000,\"growth_rate\":2.5,\"recurring_contributions\":[{\"frequency\":\"Monthly\",\"amount\":600}],\"one_off_payment\":500,\"transfer_in\":500,\"fees\":[{\"fee_type\":\"Management fee\",\"frequency\":\"Monthly\",\"amount\":600}],\"one_off_withdrawal\":500,\"recurring_withdrawals\":[{\"frequency\":\"Monthly\",\"amount\":600}],\"projection_coverage_years\":[5]}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/projections/v1/drawdown\"\n\n\tpayload := strings.NewReader(\"{\\\"name\\\":\\\"David Brown\\\",\\\"date_of_birth\\\":\\\"1963-07-19\\\",\\\"current_pension_value\\\":1000,\\\"growth_rate\\\":2.5,\\\"recurring_contributions\\\":[{\\\"frequency\\\":\\\"Monthly\\\",\\\"amount\\\":600}],\\\"one_off_payment\\\":500,\\\"transfer_in\\\":500,\\\"fees\\\":[{\\\"fee_type\\\":\\\"Management fee\\\",\\\"frequency\\\":\\\"Monthly\\\",\\\"amount\\\":600}],\\\"one_off_withdrawal\\\":500,\\\"recurring_withdrawals\\\":[{\\\"frequency\\\":\\\"Monthly\\\",\\\"amount\\\":600}],\\\"projection_coverage_years\\\":[5]}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/investors/v1/tax-codes: summary: Investor Tax Codes resource management get: tags: - Investors summary: Get All Tax Codes operationId: Investors_getAllTaxCodes security: - ApiSecretKey: [] description: Returns all the tax codes in an array parameters: - description: Investor Id in: query name: investor_id schema: type: string required: false - description: >- Page size for the query. This end-point has paginations capabilities. This value should be a positive integer value. If this is not provided or provided without page_number, both page_size and page_number will be defaulted to 1000 and 1. Max page size is 4000. Results are sorted decending order of the created date & time. name: page_size schema: type: string in: query required: false - description: >- Page number for the query. This end-point has paginations capabilities. This value should be a positive integer value. If this is not provided or provided without page_size, both page_size and page_number will be defaulted to 1000 and 1. Results are sorted decending order of the created date & time. name: page_number schema: type: string in: query required: false - description: Sorting order; results are sorted by creation time. name: sort schema: type: string default: desc enum: - asc - desc in: query required: false responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/InvestorsGetAllTaxCodesResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/InvestorsGetAllTaxCodes400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/InvestorsGetAllTaxCodes401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/InvestorsGetAllTaxCodes403Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/InvestorsGetAllTaxCodes429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/InvestorsGetAllTaxCodes500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url 'https://web_host_name/tenant/investors/v1/tax-codes?investor_id=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE' \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/investors/v1/tax-codes?investor_id=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/investors/v1/tax-codes?investor_id=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/investors/v1/tax-codes?investor_id=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/recurring-withdrawals/v1: post: tags: - Recurring Withdrawals summary: Create Recurring Withdrawal operationId: RecurringWithdrawals_createNewWithdrawal security: - ApiSecretKey: [] description: >-

ⓘ This feature is currently in BETA mode

Create a new recurring withdrawal for an investor pot which will be run by the scheduler setup in the system. parameters: [] requestBody: content: application/json: schema: $ref: >- #/components/schemas/RecurringWithdrawalsCreateNewWithdrawalRequest required: true responses: '201': description: Resource created content: application/json: schema: $ref: >- #/components/schemas/RecurringWithdrawalsCreateNewWithdrawalResponse '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/RecurringWithdrawalsCreateNewWithdrawal400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/RecurringWithdrawalsCreateNewWithdrawal401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/RecurringWithdrawalsCreateNewWithdrawal403Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/RecurringWithdrawalsCreateNewWithdrawal429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/RecurringWithdrawalsCreateNewWithdrawal500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request POST \ --url https://web_host_name/tenant/recurring-withdrawals/v1 \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"request_id":"266ea41d-adf5-480b-af50-15b940c2b846","withdrawal_name":"Withdrawals to SIPP","investor_id":"inv-XUT11265","pot_id":"pot-GYQ5423100","bank_account_id":"ba-92yu982d-at6u-4242-9856-83","amount":"100.00","currency":"GBP","withdrawal_schedule":{"interval_unit":"monthly","interval":2,"date":1,"start_date":"2023-04-02","end_date":"2023-11-02"}}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "POST", "hostname": "web_host_name", "port": null, "path": "/tenant/recurring-withdrawals/v1", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ request_id: '266ea41d-adf5-480b-af50-15b940c2b846', withdrawal_name: 'Withdrawals to SIPP', investor_id: 'inv-XUT11265', pot_id: 'pot-GYQ5423100', bank_account_id: 'ba-92yu982d-at6u-4242-9856-83', amount: '100.00', currency: 'GBP', withdrawal_schedule: { interval_unit: 'monthly', interval: 2, date: 1, start_date: '2023-04-02', end_date: '2023-11-02' } })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/recurring-withdrawals/v1") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"request_id\":\"266ea41d-adf5-480b-af50-15b940c2b846\",\"withdrawal_name\":\"Withdrawals to SIPP\",\"investor_id\":\"inv-XUT11265\",\"pot_id\":\"pot-GYQ5423100\",\"bank_account_id\":\"ba-92yu982d-at6u-4242-9856-83\",\"amount\":\"100.00\",\"currency\":\"GBP\",\"withdrawal_schedule\":{\"interval_unit\":\"monthly\",\"interval\":2,\"date\":1,\"start_date\":\"2023-04-02\",\"end_date\":\"2023-11-02\"}}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/recurring-withdrawals/v1\"\n\n\tpayload := strings.NewReader(\"{\\\"request_id\\\":\\\"266ea41d-adf5-480b-af50-15b940c2b846\\\",\\\"withdrawal_name\\\":\\\"Withdrawals to SIPP\\\",\\\"investor_id\\\":\\\"inv-XUT11265\\\",\\\"pot_id\\\":\\\"pot-GYQ5423100\\\",\\\"bank_account_id\\\":\\\"ba-92yu982d-at6u-4242-9856-83\\\",\\\"amount\\\":\\\"100.00\\\",\\\"currency\\\":\\\"GBP\\\",\\\"withdrawal_schedule\\\":{\\\"interval_unit\\\":\\\"monthly\\\",\\\"interval\\\":2,\\\"date\\\":1,\\\"start_date\\\":\\\"2023-04-02\\\",\\\"end_date\\\":\\\"2023-11-02\\\"}}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" get: tags: - Recurring Withdrawals summary: Get All Recurring Withdrawals operationId: RecurringWithdrawals_listAll security: - ApiSecretKey: [] description: >-

ⓘ This feature is currently in BETA mode

Returns all the recurring withdrawals set up for investors in an array. \ Recurring Withdrawals can be requested using filters `withdrawal_id`, `pot_id`, `investor_id`, `financial_product_id` and `status` or a combination of these filters. parameters: - description: Withdrawal Id in: query name: withdrawal_id schema: type: string required: false - description: Pot Id in: query name: pot_id schema: type: string required: false - description: Financial Product Id in: query name: financial_product_id schema: type: string required: false - description: Investor Id in: query name: investor_id schema: type: string required: false - description: Status of the recurring withdrawal name: status schema: type: string enum: - active - cancelled in: query required: false - description: >- Page size for the query. This end-point has paginations capabilities. This value should be a positive integer value. If this is not provided or provided without page_number, both page_size and page_number will be defaulted to 1000 and 1. Max page size is 8000. Results are sorted decending order of the created date & time. name: page_size schema: type: string in: query required: false - description: >- Page number for the query. This end-point has paginations capabilities. This value should be a positive integer value. If this is not provided or provided without page_size, both page_size and page_number will be defaulted to 1000 and 1. Results are sorted decending order of the created date & time. name: page_number schema: type: string in: query required: false - description: Sorting order; results are sorted by creation time. name: sort schema: type: string default: desc enum: - asc - desc in: query required: false responses: '200': description: A paged array of Recurring Withdrawals content: application/json: schema: $ref: '#/components/schemas/RecurringWithdrawalsListAllResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/RecurringWithdrawalsListAll400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/RecurringWithdrawalsListAll401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/RecurringWithdrawalsListAll403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/RecurringWithdrawalsListAll404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/RecurringWithdrawalsListAll429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/RecurringWithdrawalsListAll500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url 'https://web_host_name/tenant/recurring-withdrawals/v1?withdrawal_id=SOME_STRING_VALUE&pot_id=SOME_STRING_VALUE&financial_product_id=SOME_STRING_VALUE&investor_id=SOME_STRING_VALUE&status=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE' \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/recurring-withdrawals/v1?withdrawal_id=SOME_STRING_VALUE&pot_id=SOME_STRING_VALUE&financial_product_id=SOME_STRING_VALUE&investor_id=SOME_STRING_VALUE&status=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/recurring-withdrawals/v1?withdrawal_id=SOME_STRING_VALUE&pot_id=SOME_STRING_VALUE&financial_product_id=SOME_STRING_VALUE&investor_id=SOME_STRING_VALUE&status=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/recurring-withdrawals/v1?withdrawal_id=SOME_STRING_VALUE&pot_id=SOME_STRING_VALUE&financial_product_id=SOME_STRING_VALUE&investor_id=SOME_STRING_VALUE&status=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/recurring-withdrawals/v1/{withdrawal_id}: patch: tags: - Recurring Withdrawals summary: Update Recurring Withdrawal operationId: RecurringWithdrawals_updateActiveWithdrawal security: - ApiSecretKey: [] description: >-

ⓘ This feature is currently in BETA mode

Update an active recurring withdrawal that is set up in the system. parameters: - description: Withdrawal Id in: path name: withdrawal_id schema: type: string required: true requestBody: content: application/json: schema: $ref: >- #/components/schemas/RecurringWithdrawalsUpdateActiveWithdrawalRequest required: true responses: '200': description: success content: application/json: schema: $ref: >- #/components/schemas/RecurringWithdrawalsUpdateActiveWithdrawalResponse example: status: active withdrawal_name: New withdrawals to SIPP amount: '1500.00' withdrawal_id: RCW-AB2AE86 pot_id: pot-GYQ5423100 financial_product_id: stocks_isa investor_id: inv-XUT11265 currency: GBP withdrawal_schedule: interval_unit: monthly interval: 2 date: 1 start_date: '2023-04-02' end_date: '2023-11-02' next_withdrawal_date: '2023-05-01T00:00:00.000Z' created_at: '2023-04-04T15:12:30.000Z' updated_at: '2023-04-04T15:12:30.000Z' reference_version: 1 '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/RecurringWithdrawalsUpdateActiveWithdrawal400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/RecurringWithdrawalsUpdateActiveWithdrawal401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/RecurringWithdrawalsUpdateActiveWithdrawal403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/RecurringWithdrawalsUpdateActiveWithdrawal404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/RecurringWithdrawalsUpdateActiveWithdrawal429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/RecurringWithdrawalsUpdateActiveWithdrawal500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request PATCH \ --url https://web_host_name/tenant/recurring-withdrawals/v1/%7Bwithdrawal_id%7D \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"amount":"1500.00","withdrawal_name":"New withdrawals to SIPP","end_date":"2024-10-30","reference_version":1}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "PATCH", "hostname": "web_host_name", "port": null, "path": "/tenant/recurring-withdrawals/v1/%7Bwithdrawal_id%7D", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ amount: '1500.00', withdrawal_name: 'New withdrawals to SIPP', end_date: '2024-10-30', reference_version: 1 })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/recurring-withdrawals/v1/%7Bwithdrawal_id%7D") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Patch.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"amount\":\"1500.00\",\"withdrawal_name\":\"New withdrawals to SIPP\",\"end_date\":\"2024-10-30\",\"reference_version\":1}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/recurring-withdrawals/v1/%7Bwithdrawal_id%7D\"\n\n\tpayload := strings.NewReader(\"{\\\"amount\\\":\\\"1500.00\\\",\\\"withdrawal_name\\\":\\\"New withdrawals to SIPP\\\",\\\"end_date\\\":\\\"2024-10-30\\\",\\\"reference_version\\\":1}\")\n\n\treq, _ := http.NewRequest(\"PATCH\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/recurring-withdrawals/v1/{withdrawal_id}/cancel: post: tags: - Recurring Withdrawals summary: Cancel Recurring Withdrawal operationId: RecurringWithdrawals_cancelRecurringWithdrawal security: - ApiSecretKey: [] description: >-

ⓘ This feature is currently in BETA mode

Cancel a recurring withdrawal setup in the system. Recurring withdrawals with the status ‘Active' can be cancelled through this endpoint. Cancelled withdrawals cannot be active again. parameters: - description: Withdrawal Id in: path name: withdrawal_id schema: type: string required: true requestBody: content: application/json: schema: $ref: >- #/components/schemas/RecurringWithdrawalsCancelRecurringWithdrawalRequest responses: '200': description: Success content: application/json: schema: $ref: >- #/components/schemas/RecurringWithdrawalsCancelRecurringWithdrawalResponse example: status: Cancelled withdrawal_id: RCW-AB2AE86 withdrawal_name: Withdrawals to SIPP pot_id: pot-GYQ5423100 financial_product_id: stocks_isa investor_id: inv-XUT11265 amount: '100.00' currency: GBP withdrawal_schedule: interval_unit: monthly interval: 2 date: 1 start_date: '2023-04-02' end_date: '2023-11-02' next_withdrawal_date: '2023-05-01T00:00:00.000Z' created_at: '2023-04-04T15:12:30.000Z' updated_at: '2023-04-04T15:12:30.000Z' reference_version: 1 '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/RecurringWithdrawalsCancelRecurringWithdrawal400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/RecurringWithdrawalsCancelRecurringWithdrawal401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/RecurringWithdrawalsCancelRecurringWithdrawal403Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/RecurringWithdrawalsCancelRecurringWithdrawal429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/RecurringWithdrawalsCancelRecurringWithdrawal500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request POST \ --url https://web_host_name/tenant/recurring-withdrawals/v1/%7Bwithdrawal_id%7D/cancel \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "POST", "hostname": "web_host_name", "port": null, "path": "/tenant/recurring-withdrawals/v1/%7Bwithdrawal_id%7D/cancel", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({})); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/recurring-withdrawals/v1/%7Bwithdrawal_id%7D/cancel") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/recurring-withdrawals/v1/%7Bwithdrawal_id%7D/cancel\"\n\n\tpayload := strings.NewReader(\"{}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/workplace-employers/v1: post: tags: - Workplace Employers summary: Create workplace employer (BETA) operationId: WorkplaceEmployers_createEmployer security: - ApiSecretKey: [] description: >- This endpoint will create a workplace contributing employer in the system. parameters: [] requestBody: content: application/json: schema: $ref: '#/components/schemas/WorkplaceEmployersCreateEmployerRequest' responses: '201': description: success content: application/json: schema: $ref: '#/components/schemas/WorkplaceEmployersCreateEmployerResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/WorkplaceEmployersCreateEmployer400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/WorkplaceEmployersCreateEmployer401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/WorkplaceEmployersCreateEmployer403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/WorkplaceEmployersCreateEmployer404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/WorkplaceEmployersCreateEmployer429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/WorkplaceEmployersCreateEmployer500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request POST \ --url https://web_host_name/tenant/workplace-employers/v1 \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"name":"Romayo Ltd","registration_number":"12345678","registered_address":{"postal_code":"S2 2DF","address_line":"14","street_name":"Tottenham Court Road","city":"London","state":"England","country":"GBR"},"correspondence_address":{"postal_code":"A3 2CF","address_line":"17","street_name":"Flower Road","city":"London","state":"England","country":"GBR"},"company_structure":"LLC","contact_details":{"name":"Adam Clark","email":"adamclark@gmail.com","phone_number":"+441234567890"},"kyb_aml_status":"clear","status":"active"}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "POST", "hostname": "web_host_name", "port": null, "path": "/tenant/workplace-employers/v1", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ name: 'Romayo Ltd', registration_number: '12345678', registered_address: { postal_code: 'S2 2DF', address_line: '14', street_name: 'Tottenham Court Road', city: 'London', state: 'England', country: 'GBR' }, correspondence_address: { postal_code: 'A3 2CF', address_line: '17', street_name: 'Flower Road', city: 'London', state: 'England', country: 'GBR' }, company_structure: 'LLC', contact_details: { name: 'Adam Clark', email: 'adamclark@gmail.com', phone_number: '+441234567890' }, kyb_aml_status: 'clear', status: 'active' })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/workplace-employers/v1") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"name\":\"Romayo Ltd\",\"registration_number\":\"12345678\",\"registered_address\":{\"postal_code\":\"S2 2DF\",\"address_line\":\"14\",\"street_name\":\"Tottenham Court Road\",\"city\":\"London\",\"state\":\"England\",\"country\":\"GBR\"},\"correspondence_address\":{\"postal_code\":\"A3 2CF\",\"address_line\":\"17\",\"street_name\":\"Flower Road\",\"city\":\"London\",\"state\":\"England\",\"country\":\"GBR\"},\"company_structure\":\"LLC\",\"contact_details\":{\"name\":\"Adam Clark\",\"email\":\"adamclark@gmail.com\",\"phone_number\":\"+441234567890\"},\"kyb_aml_status\":\"clear\",\"status\":\"active\"}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/workplace-employers/v1\"\n\n\tpayload := strings.NewReader(\"{\\\"name\\\":\\\"Romayo Ltd\\\",\\\"registration_number\\\":\\\"12345678\\\",\\\"registered_address\\\":{\\\"postal_code\\\":\\\"S2 2DF\\\",\\\"address_line\\\":\\\"14\\\",\\\"street_name\\\":\\\"Tottenham Court Road\\\",\\\"city\\\":\\\"London\\\",\\\"state\\\":\\\"England\\\",\\\"country\\\":\\\"GBR\\\"},\\\"correspondence_address\\\":{\\\"postal_code\\\":\\\"A3 2CF\\\",\\\"address_line\\\":\\\"17\\\",\\\"street_name\\\":\\\"Flower Road\\\",\\\"city\\\":\\\"London\\\",\\\"state\\\":\\\"England\\\",\\\"country\\\":\\\"GBR\\\"},\\\"company_structure\\\":\\\"LLC\\\",\\\"contact_details\\\":{\\\"name\\\":\\\"Adam Clark\\\",\\\"email\\\":\\\"adamclark@gmail.com\\\",\\\"phone_number\\\":\\\"+441234567890\\\"},\\\"kyb_aml_status\\\":\\\"clear\\\",\\\"status\\\":\\\"active\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" get: tags: - Workplace Employers summary: Get all workplace employers (BETA) operationId: WorkplaceEmployers_getAllEmployers security: - ApiSecretKey: [] description: >- This endpoint will retrieve all workplace contributing employers in the system. parameters: - description: >- Page size for the query. This end-point has paginations capabilities. This value should be a positive integer value. If this is not provided or provided without page_number, both page_size and page_number will be defaulted to 1000 and 1. Max page size is 8000. name: page_size schema: type: string in: query required: false - description: >- Page number for the query. This end-point has paginations capabilities. This value should be a positive integer value. If this is not provided or provided without page_size, both page_size and page_number will be defaulted to 1000 and 1. name: page_number schema: type: string in: query required: false - description: Sorting order; results are sorted by creation time. name: sort schema: type: string default: desc enum: - asc - desc in: query required: false responses: '200': description: A paged array of Workplace Employers content: application/json: schema: $ref: '#/components/schemas/WorkplaceEmployersGetAllEmployersResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/WorkplaceEmployersGetAllEmployers400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/WorkplaceEmployersGetAllEmployers401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/WorkplaceEmployersGetAllEmployers403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/WorkplaceEmployersGetAllEmployers404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/WorkplaceEmployersGetAllEmployers429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/WorkplaceEmployersGetAllEmployers500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url 'https://web_host_name/tenant/workplace-employers/v1?page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE' \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/workplace-employers/v1?page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/workplace-employers/v1?page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/workplace-employers/v1?page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/workplace-employers/v1/{workplace_employer_id}: get: tags: - Workplace Employers summary: Get existing workplace employer (BETA) operationId: WorkplaceEmployers_getDetails security: - ApiSecretKey: [] description: >- This endpoint will retrieve details of a particular workplace employer in the system. parameters: - description: Workplace Employer Id in: path name: workplace_employer_id required: true schema: type: string responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/WorkplaceEmployersGetDetailsResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/WorkplaceEmployersGetDetails400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/WorkplaceEmployersGetDetails401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/WorkplaceEmployersGetDetails403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/WorkplaceEmployersGetDetails404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/WorkplaceEmployersGetDetails429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/WorkplaceEmployersGetDetails500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url https://web_host_name/tenant/workplace-employers/v1/%7Bworkplace_employer_id%7D \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/workplace-employers/v1/%7Bworkplace_employer_id%7D", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/workplace-employers/v1/%7Bworkplace_employer_id%7D") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/workplace-employers/v1/%7Bworkplace_employer_id%7D\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" patch: tags: - Workplace Employers summary: Update workplace employer (BETA) operationId: WorkplaceEmployers_updateEmployerDetails security: - ApiSecretKey: [] description: >- This endpoint will update certain fields of a workplace employer in the system. parameters: - description: Workplace Employer Id in: path name: workplace_employer_id required: true schema: type: string requestBody: content: application/json: schema: $ref: >- #/components/schemas/WorkplaceEmployersUpdateEmployerDetailsRequest responses: '200': description: success content: application/json: schema: $ref: >- #/components/schemas/WorkplaceEmployersUpdateEmployerDetailsResponse '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/WorkplaceEmployersUpdateEmployerDetails400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/WorkplaceEmployersUpdateEmployerDetails401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/WorkplaceEmployersUpdateEmployerDetails403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/WorkplaceEmployersUpdateEmployerDetails404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/WorkplaceEmployersUpdateEmployerDetails429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/WorkplaceEmployersUpdateEmployerDetails500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request PATCH \ --url https://web_host_name/tenant/workplace-employers/v1/%7Bworkplace_employer_id%7D \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"name":"Romayo Ltd","registration_number":"12345678","registered_address":{"postal_code":"D2 2DF","address_line":"14","street_name":"Court Road","city":"London","state":"England","country":"GBR"},"correspondence_address":{"postal_code":"B3 2CF","address_line":"17","street_name":"Church Road","city":"London","state":"England","country":"GBR"},"company_structure":"LLC","contact_details":{"name":"Clark Kent","email":"clarkkent@gmail.com","phone_number":"+441234567890"},"kyb_aml_status":"clear","status":"active","reference_version":1}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "PATCH", "hostname": "web_host_name", "port": null, "path": "/tenant/workplace-employers/v1/%7Bworkplace_employer_id%7D", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ name: 'Romayo Ltd', registration_number: '12345678', registered_address: { postal_code: 'D2 2DF', address_line: '14', street_name: 'Court Road', city: 'London', state: 'England', country: 'GBR' }, correspondence_address: { postal_code: 'B3 2CF', address_line: '17', street_name: 'Church Road', city: 'London', state: 'England', country: 'GBR' }, company_structure: 'LLC', contact_details: { name: 'Clark Kent', email: 'clarkkent@gmail.com', phone_number: '+441234567890' }, kyb_aml_status: 'clear', status: 'active', reference_version: 1 })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/workplace-employers/v1/%7Bworkplace_employer_id%7D") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Patch.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"name\":\"Romayo Ltd\",\"registration_number\":\"12345678\",\"registered_address\":{\"postal_code\":\"D2 2DF\",\"address_line\":\"14\",\"street_name\":\"Court Road\",\"city\":\"London\",\"state\":\"England\",\"country\":\"GBR\"},\"correspondence_address\":{\"postal_code\":\"B3 2CF\",\"address_line\":\"17\",\"street_name\":\"Church Road\",\"city\":\"London\",\"state\":\"England\",\"country\":\"GBR\"},\"company_structure\":\"LLC\",\"contact_details\":{\"name\":\"Clark Kent\",\"email\":\"clarkkent@gmail.com\",\"phone_number\":\"+441234567890\"},\"kyb_aml_status\":\"clear\",\"status\":\"active\",\"reference_version\":1}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/workplace-employers/v1/%7Bworkplace_employer_id%7D\"\n\n\tpayload := strings.NewReader(\"{\\\"name\\\":\\\"Romayo Ltd\\\",\\\"registration_number\\\":\\\"12345678\\\",\\\"registered_address\\\":{\\\"postal_code\\\":\\\"D2 2DF\\\",\\\"address_line\\\":\\\"14\\\",\\\"street_name\\\":\\\"Court Road\\\",\\\"city\\\":\\\"London\\\",\\\"state\\\":\\\"England\\\",\\\"country\\\":\\\"GBR\\\"},\\\"correspondence_address\\\":{\\\"postal_code\\\":\\\"B3 2CF\\\",\\\"address_line\\\":\\\"17\\\",\\\"street_name\\\":\\\"Church Road\\\",\\\"city\\\":\\\"London\\\",\\\"state\\\":\\\"England\\\",\\\"country\\\":\\\"GBR\\\"},\\\"company_structure\\\":\\\"LLC\\\",\\\"contact_details\\\":{\\\"name\\\":\\\"Clark Kent\\\",\\\"email\\\":\\\"clarkkent@gmail.com\\\",\\\"phone_number\\\":\\\"+441234567890\\\"},\\\"kyb_aml_status\\\":\\\"clear\\\",\\\"status\\\":\\\"active\\\",\\\"reference_version\\\":1}\")\n\n\treq, _ := http.NewRequest(\"PATCH\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/workplace-employers/v1/{workplace_employer_id}/investors: get: tags: - Workplace Employers summary: Get all investors of a workplace employer (BETA) operationId: WorkplaceEmployers_getAllInvestors security: - ApiSecretKey: [] description: >- This endpoint will provide investor details attached to a certain workplace employer. parameters: - description: Workplace Employer Id in: path name: workplace_employer_id required: true schema: type: string responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/WorkplaceEmployersGetAllInvestorsResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/WorkplaceEmployersGetAllInvestors400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/WorkplaceEmployersGetAllInvestors401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/WorkplaceEmployersGetAllInvestors403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/WorkplaceEmployersGetAllInvestors404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/WorkplaceEmployersGetAllInvestors429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/WorkplaceEmployersGetAllInvestors500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url https://web_host_name/tenant/workplace-employers/v1/%7Bworkplace_employer_id%7D/investors \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/workplace-employers/v1/%7Bworkplace_employer_id%7D/investors", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/workplace-employers/v1/%7Bworkplace_employer_id%7D/investors") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/workplace-employers/v1/%7Bworkplace_employer_id%7D/investors\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/payments/v1: get: tags: - Payments summary: Get All Payments operationId: Payments_getAll security: - ApiSecretKey: [] description: > Returns all the Payments setup for the tenant in an array.\ Payments can be filtered by the `pot_id`, `payment_type`, `purpose` and `service_provider` when retrieving payments. parameters: - description: >- Payment type of the payment to be retrieved from the API (electronic_fund_transfer, card, direct_debit) name: payment_type schema: type: string in: query required: false - description: >- Service provider of the payment to be retrieved from the API (truelayer, stripe, gocardless, none) name: service_provider schema: type: string in: query required: false - description: Purpose of the payment to be retrieved from the API (cash, invest) name: purpose schema: type: string in: query required: false - description: >- Sub transaction types of the payments to be retrieved from the API. Can give multiple sub transaction types as comma separated values. (ex- Lump sum,Regular contribution) name: sub_transaction_type schema: type: string in: query required: false - description: >- investor_id of the payments to be retrieved from the API. Can give multiple investor ids as comma separated values. (ex- inv-XLZ8990,inv-RFT6758) name: investor_id schema: type: string in: query required: false - description: >- status of the payments to be retrieved from the API. Can give multiple statuses as comma separated values. (ex- succeeded,pending_confirmation) name: status schema: type: string in: query required: false - description: >- source_id of the payments to be retrieved from the API. Can give multiple source ids as comma separated values. (ex- cem-BGJ20491,cem-TGY90961) name: source_id schema: type: string in: query required: false - description: >- contribution_id of the payments to be retrieved from the API. Can give multiple contribution ids as comma separated values. (ex- BCV-GH-BUH2965,RCB-GC-RGH2065) name: contribution_id schema: type: string in: query required: false - description: >- Page size for the query. This end-point has paginations capabilities. This value should be a positive integer value. If this is not provided or provided without page_number, both page_size and page_number will be defaulted to 1000 and 1. Max page size is 8000. Results are sorted decending order of the created date & time. name: page_size schema: type: string in: query required: false - description: >- Page number for the query. This end-point has paginations capabilities. This value should be a positive integer value. If this is not provided or provided without page_size, both page_size and page_number will be defaulted to 1000 and 1. Results are sorted decending order of the created date & time. name: page_number schema: type: string in: query required: false - description: Pot Id in: query name: pot_id schema: type: string required: false - description: 'Sorting order; results are sorted by creation time. ' name: sort schema: type: string default: desc enum: - asc - desc in: query required: false responses: '200': description: A paged array of Payments content: application/json: schema: $ref: '#/components/schemas/PaymentsGetAllResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/PaymentsGetAll400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/PaymentsGetAll401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/PaymentsGetAll403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/PaymentsGetAll404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/PaymentsGetAll429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/PaymentsGetAll500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url 'https://web_host_name/tenant/payments/v1/?payment_type=SOME_STRING_VALUE&service_provider=SOME_STRING_VALUE&purpose=SOME_STRING_VALUE&sub_transaction_type=SOME_STRING_VALUE&investor_id=SOME_STRING_VALUE&status=SOME_STRING_VALUE&source_id=SOME_STRING_VALUE&contribution_id=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&pot_id=SOME_STRING_VALUE&sort=SOME_STRING_VALUE' \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/payments/v1/?payment_type=SOME_STRING_VALUE&service_provider=SOME_STRING_VALUE&purpose=SOME_STRING_VALUE&sub_transaction_type=SOME_STRING_VALUE&investor_id=SOME_STRING_VALUE&status=SOME_STRING_VALUE&source_id=SOME_STRING_VALUE&contribution_id=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&pot_id=SOME_STRING_VALUE&sort=SOME_STRING_VALUE", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/payments/v1/?payment_type=SOME_STRING_VALUE&service_provider=SOME_STRING_VALUE&purpose=SOME_STRING_VALUE&sub_transaction_type=SOME_STRING_VALUE&investor_id=SOME_STRING_VALUE&status=SOME_STRING_VALUE&source_id=SOME_STRING_VALUE&contribution_id=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&pot_id=SOME_STRING_VALUE&sort=SOME_STRING_VALUE") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/payments/v1/?payment_type=SOME_STRING_VALUE&service_provider=SOME_STRING_VALUE&purpose=SOME_STRING_VALUE&sub_transaction_type=SOME_STRING_VALUE&investor_id=SOME_STRING_VALUE&status=SOME_STRING_VALUE&source_id=SOME_STRING_VALUE&contribution_id=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&pot_id=SOME_STRING_VALUE&sort=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" post: tags: - Payments summary: Create Single Payment Intent operationId: Payments_createPaymentIntent security: - ApiSecretKey: [] description: >- Create a new Single Payment Intent for the given `amount` and `currency`. If successful, a new Payment Intent will be created with `pending_confirmation` status and the API will return the `client_secret` and `publishable_key` as response. parameters: [] requestBody: content: application/json: schema: $ref: '#/components/schemas/PaymentsCreatePaymentIntentRequest' required: true responses: '201': description: Resource created content: application/json: schema: $ref: '#/components/schemas/PaymentsCreatePaymentIntentResponse' '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: '#/components/schemas/PaymentsCreatePaymentIntent400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/PaymentsCreatePaymentIntent401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/PaymentsCreatePaymentIntent403Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/PaymentsCreatePaymentIntent429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/PaymentsCreatePaymentIntent500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request POST \ --url https://web_host_name/tenant/payments/v1/ \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"request_id":"266ea41d-adf5-480b-af50-15b940c2b846","amount":"100.00","pot_id":"pot-UKW3452850","payment_type":"electronic_fund_transfer","service_provider":"truelayer","service_provider_params":{"bank_account_id":"ba-bc00c28f-b3fc-42b7"},"currency":"GBP","sub_transaction_type":"Lump sum","source_id":"cem-ASP43560","purpose":"invest","investment_instructions":[{"investment_product_id":"isa_1223931892","quantity":"300"},{"investment_product_id":"isa_9913091898","quantity":"500"}]}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "POST", "hostname": "web_host_name", "port": null, "path": "/tenant/payments/v1/", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ request_id: '266ea41d-adf5-480b-af50-15b940c2b846', amount: '100.00', pot_id: 'pot-UKW3452850', payment_type: 'electronic_fund_transfer', service_provider: 'truelayer', service_provider_params: {bank_account_id: 'ba-bc00c28f-b3fc-42b7'}, currency: 'GBP', sub_transaction_type: 'Lump sum', source_id: 'cem-ASP43560', purpose: 'invest', investment_instructions: [ {investment_product_id: 'isa_1223931892', quantity: '300'}, {investment_product_id: 'isa_9913091898', quantity: '500'} ] })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/payments/v1/") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"request_id\":\"266ea41d-adf5-480b-af50-15b940c2b846\",\"amount\":\"100.00\",\"pot_id\":\"pot-UKW3452850\",\"payment_type\":\"electronic_fund_transfer\",\"service_provider\":\"truelayer\",\"service_provider_params\":{\"bank_account_id\":\"ba-bc00c28f-b3fc-42b7\"},\"currency\":\"GBP\",\"sub_transaction_type\":\"Lump sum\",\"source_id\":\"cem-ASP43560\",\"purpose\":\"invest\",\"investment_instructions\":[{\"investment_product_id\":\"isa_1223931892\",\"quantity\":\"300\"},{\"investment_product_id\":\"isa_9913091898\",\"quantity\":\"500\"}]}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/payments/v1/\"\n\n\tpayload := strings.NewReader(\"{\\\"request_id\\\":\\\"266ea41d-adf5-480b-af50-15b940c2b846\\\",\\\"amount\\\":\\\"100.00\\\",\\\"pot_id\\\":\\\"pot-UKW3452850\\\",\\\"payment_type\\\":\\\"electronic_fund_transfer\\\",\\\"service_provider\\\":\\\"truelayer\\\",\\\"service_provider_params\\\":{\\\"bank_account_id\\\":\\\"ba-bc00c28f-b3fc-42b7\\\"},\\\"currency\\\":\\\"GBP\\\",\\\"sub_transaction_type\\\":\\\"Lump sum\\\",\\\"source_id\\\":\\\"cem-ASP43560\\\",\\\"purpose\\\":\\\"invest\\\",\\\"investment_instructions\\\":[{\\\"investment_product_id\\\":\\\"isa_1223931892\\\",\\\"quantity\\\":\\\"300\\\"},{\\\"investment_product_id\\\":\\\"isa_9913091898\\\",\\\"quantity\\\":\\\"500\\\"}]}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/portfolio-templates/v1: get: tags: - Portfolio Templates summary: Get all the Portfolio templates operationId: PortfolioTemplates_getAllTemplates security: - ApiSecretKey: [] description: Get all the portfolio templates parameters: [] responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/PortfolioTemplatesGetAllTemplatesResponse' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/PortfolioTemplatesGetAllTemplates401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/PortfolioTemplatesGetAllTemplates403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/PortfolioTemplatesGetAllTemplates404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/PortfolioTemplatesGetAllTemplates429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/PortfolioTemplatesGetAllTemplates500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url https://web_host_name/tenant/portfolio-templates/v1/ \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/portfolio-templates/v1/", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: |- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/portfolio-templates/v1/") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/portfolio-templates/v1/\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" post: tags: - Portfolio Templates summary: Create new Portfolio Template operationId: PortfolioTemplates_createNewTemplate security: - ApiSecretKey: [] parameters: [] requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/PortfolioTemplatesCreateNewTemplateRequest' responses: '201': description: success content: application/json: schema: $ref: >- #/components/schemas/PortfolioTemplatesCreateNewTemplateResponse '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/PortfolioTemplatesCreateNewTemplate400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/PortfolioTemplatesCreateNewTemplate401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/PortfolioTemplatesCreateNewTemplate403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/PortfolioTemplatesCreateNewTemplate404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/PortfolioTemplatesCreateNewTemplate429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/PortfolioTemplatesCreateNewTemplate500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request POST \ --url https://web_host_name/tenant/portfolio-templates/v1/ \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"portfolio_name":"PFT5689","ratios":[{"investment_product_id":"ETF069GBP","ratio":"60"},{"investment_product_id":"BND058GBP","ratio":"40"}]}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "POST", "hostname": "web_host_name", "port": null, "path": "/tenant/portfolio-templates/v1/", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ portfolio_name: 'PFT5689', ratios: [ {investment_product_id: 'ETF069GBP', ratio: '60'}, {investment_product_id: 'BND058GBP', ratio: '40'} ] })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/portfolio-templates/v1/") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"portfolio_name\":\"PFT5689\",\"ratios\":[{\"investment_product_id\":\"ETF069GBP\",\"ratio\":\"60\"},{\"investment_product_id\":\"BND058GBP\",\"ratio\":\"40\"}]}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/portfolio-templates/v1/\"\n\n\tpayload := strings.NewReader(\"{\\\"portfolio_name\\\":\\\"PFT5689\\\",\\\"ratios\\\":[{\\\"investment_product_id\\\":\\\"ETF069GBP\\\",\\\"ratio\\\":\\\"60\\\"},{\\\"investment_product_id\\\":\\\"BND058GBP\\\",\\\"ratio\\\":\\\"40\\\"}]}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/transactions/v1: get: tags: - Transactions summary: Retrieve All Transactions operationId: Transactions_getAll security: - ApiSecretKey: [] description: >- The "Retrieve All Transactions” endpoint enables users to retrieve any transaction as per their specific requirements. Users have the flexibility to filter and obtain a particular transaction by providing a transaction ID / parent transaction ID/ aggregated transaction id or filter out a specific set of transactions based on various criteria such as the sub transaction type, investor, account, pot, status, or creation within a specified time period. parameters: - description: Unique identifier for the transaction in: query name: transaction_id required: false schema: type: string - description: Unique identifier for parent transaction in: query name: parent_transaction_id required: false schema: type: string - description: Unique identifier for the aggregated transaction in: query name: aggregated_transaction_id required: false schema: type: string - description: Investor ID in: query name: investor_id required: false schema: type: string - description: Account ID in: query name: account_id required: false schema: type: string - description: Pot ID in: query name: pot_id required: false schema: type: string - description: Sub transaction type in: query name: sub_transaction_type required: false schema: type: string - description: >- Status of the transaction. Multiple statuses as comma separated string can be entered in: query name: sub_type required: false schema: type: string - description: >- The start date of the withdrawal charges to be retrieved from the API. Should be on YYYY-MM-DD format in: query name: start_date required: false schema: type: string - description: >- The end date of the withdrawal charges to be retrieved from the API. Should be on YYYY-MM-DD format in: query name: end_date required: false schema: type: string - description: >- Page size for the query. This end-point has paginations capabilities. This value should be a positive integer value. If this is not provided or provided without page_number, both page_size and page_number will be defaulted to 1000 and 1. Max page size is [4000]. Results are sorted descending order of the created date & time in: query name: page_size required: false schema: type: string - description: >- Page number for the query. This end-point has paginations capabilities. This value should be a positive integer value. If this is not provided or provided without page_size, both page_size and page_number will be defaulted to 1000 and 1. Results are sorted descending order of the created date & time in: query name: page_number required: false schema: type: string - description: Sorting order; results are sorted by creation time. in: query name: sort required: false schema: type: string enum: - asc - desc responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/TransactionsGetAllResponse' '400': description: Request is not complete and may have one or more validations errors content: application/json: schema: $ref: '#/components/schemas/TransactionsGetAll400Response' '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: '#/components/schemas/TransactionsGetAll401Response' '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: '#/components/schemas/TransactionsGetAll403Response' '404': description: The specified resource was not found content: application/json: schema: $ref: '#/components/schemas/TransactionsGetAll404Response' '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: '#/components/schemas/TransactionsGetAll429Response' '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: '#/components/schemas/TransactionsGetAll500Response' x-codeSamples: - lang: Shell + Curl source: |- curl --request GET \ --url 'https://web_host_name/tenant/transactions/v1/?transaction_id=SOME_STRING_VALUE&parent_transaction_id=SOME_STRING_VALUE&aggregated_transaction_id=SOME_STRING_VALUE&investor_id=SOME_STRING_VALUE&account_id=SOME_STRING_VALUE&pot_id=SOME_STRING_VALUE&sub_transaction_type=SOME_STRING_VALUE&sub_type=SOME_STRING_VALUE&start_date=SOME_STRING_VALUE&end_date=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE' \ --header 'x-api-key: REPLACE_KEY_VALUE' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "GET", "hostname": "web_host_name", "port": null, "path": "/tenant/transactions/v1/?transaction_id=SOME_STRING_VALUE&parent_transaction_id=SOME_STRING_VALUE&aggregated_transaction_id=SOME_STRING_VALUE&investor_id=SOME_STRING_VALUE&account_id=SOME_STRING_VALUE&pot_id=SOME_STRING_VALUE&sub_transaction_type=SOME_STRING_VALUE&sub_type=SOME_STRING_VALUE&start_date=SOME_STRING_VALUE&end_date=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE", "headers": { "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/transactions/v1/?transaction_id=SOME_STRING_VALUE&parent_transaction_id=SOME_STRING_VALUE&aggregated_transaction_id=SOME_STRING_VALUE&investor_id=SOME_STRING_VALUE&account_id=SOME_STRING_VALUE&pot_id=SOME_STRING_VALUE&sub_transaction_type=SOME_STRING_VALUE&sub_type=SOME_STRING_VALUE&start_date=SOME_STRING_VALUE&end_date=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Get.new(url) request["x-api-key"] = 'REPLACE_KEY_VALUE' response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/transactions/v1/?transaction_id=SOME_STRING_VALUE&parent_transaction_id=SOME_STRING_VALUE&aggregated_transaction_id=SOME_STRING_VALUE&investor_id=SOME_STRING_VALUE&account_id=SOME_STRING_VALUE&pot_id=SOME_STRING_VALUE&sub_transaction_type=SOME_STRING_VALUE&sub_type=SOME_STRING_VALUE&start_date=SOME_STRING_VALUE&end_date=SOME_STRING_VALUE&page_size=SOME_STRING_VALUE&page_number=SOME_STRING_VALUE&sort=SOME_STRING_VALUE\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" /tenant/withdrawals/v1: summary: Withdrawal resource management post: tags: - Withdrawals summary: Create Single Withdrawal operationId: Withdrawals_createSingleWithdrawal security: - ApiSecretKey: [] description: >- This endpoint supports the creation of a single withdrawal from an investor's pot. A sucessful withdrawal creation will result in the creation of a withdrawal transaction and updates to holdings. parameters: [] requestBody: content: application/json: schema: $ref: '#/components/schemas/WithdrawalsCreateSingleWithdrawalRequest1' required: true responses: '201': description: success content: application/json: schema: $ref: >- #/components/schemas/WithdrawalsCreateSingleWithdrawal201Response '400': description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: $ref: >- #/components/schemas/WithdrawalsCreateSingleWithdrawal400Response '401': description: You do not have permissions to access this resource. content: application/json: schema: $ref: >- #/components/schemas/WithdrawalsCreateSingleWithdrawal401Response '403': description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: $ref: >- #/components/schemas/WithdrawalsCreateSingleWithdrawal403Response '404': description: The specified resource was not found content: application/json: schema: $ref: >- #/components/schemas/WithdrawalsCreateSingleWithdrawal404Response '429': description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: $ref: >- #/components/schemas/WithdrawalsCreateSingleWithdrawal429Response '500': description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: $ref: >- #/components/schemas/WithdrawalsCreateSingleWithdrawal500Response x-codeSamples: - lang: Shell + Curl source: |- curl --request POST \ --url https://web_host_name/tenant/withdrawals/v1/ \ --header 'content-type: application/json' \ --header 'x-api-key: REPLACE_KEY_VALUE' \ --data '{"request_id":"266ea41d-adf5-480b-af50-15b940c2b846","pot_id":"pot-SDQ5659730","currency":"USD","transaction_value":"123.45","sub_transaction_type":"Withdrawal","bank_account_id":"ba-example-bank-account"}' - lang: Node + Native source: |- var http = require("https"); var options = { "method": "POST", "hostname": "web_host_name", "port": null, "path": "/tenant/withdrawals/v1/", "headers": { "content-type": "application/json", "x-api-key": "REPLACE_KEY_VALUE" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ request_id: '266ea41d-adf5-480b-af50-15b940c2b846', pot_id: 'pot-SDQ5659730', currency: 'USD', transaction_value: '123.45', sub_transaction_type: 'Withdrawal', bank_account_id: 'ba-example-bank-account' })); req.end(); - lang: Ruby + Native source: >- require 'uri' require 'net/http' require 'openssl' url = URI("https://web_host_name/tenant/withdrawals/v1/") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE request = Net::HTTP::Post.new(url) request["content-type"] = 'application/json' request["x-api-key"] = 'REPLACE_KEY_VALUE' request.body = "{\"request_id\":\"266ea41d-adf5-480b-af50-15b940c2b846\",\"pot_id\":\"pot-SDQ5659730\",\"currency\":\"USD\",\"transaction_value\":\"123.45\",\"sub_transaction_type\":\"Withdrawal\",\"bank_account_id\":\"ba-example-bank-account\"}" response = http.request(request) puts response.read_body - lang: Go + Native source: "package main\n\nimport (\n\t\"fmt\"\n\t\"strings\"\n\t\"net/http\"\n\t\"io/ioutil\"\n)\n\nfunc main() {\n\n\turl := \"https://web_host_name/tenant/withdrawals/v1/\"\n\n\tpayload := strings.NewReader(\"{\\\"request_id\\\":\\\"266ea41d-adf5-480b-af50-15b940c2b846\\\",\\\"pot_id\\\":\\\"pot-SDQ5659730\\\",\\\"currency\\\":\\\"USD\\\",\\\"transaction_value\\\":\\\"123.45\\\",\\\"sub_transaction_type\\\":\\\"Withdrawal\\\",\\\"bank_account_id\\\":\\\"ba-example-bank-account\\\"}\")\n\n\treq, _ := http.NewRequest(\"POST\", url, payload)\n\n\treq.Header.Add(\"content-type\", \"application/json\")\n\treq.Header.Add(\"x-api-key\", \"REPLACE_KEY_VALUE\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := ioutil.ReadAll(res.Body)\n\n\tfmt.Println(res)\n\tfmt.Println(string(body))\n\n}" components: responses: Success: description: Success Created: description: Resource created BadRequest: description: >- Request is not complete and may have one or more validations errors. Please check the error message and the code content: application/json: schema: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object Forbidden: description: >- Your authentication information is missing or invalid. Please check the keys are properly set and its correct content: application/json: schema: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string NotFound: description: The specified resource was not found content: application/json: schema: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string Unauthorized: description: You do not have permissions to access this resource. content: application/json: schema: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string TooManyRequestsError: description: >- You have sent too many requests to the system. Please retry later. If you need to increase your throtteling limits, please contact WOS support content: application/json: schema: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string SystemError: description: System error. Retry later. If the error persist, contact WOS support content: application/json: schema: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string MultipleBadRequest: description: Request is not complete and may have one or more validations errors content: application/json: schema: properties: error_code: description: Optional error code type: string message: description: >- Human readable description of the error. Will be populated when a high level validation fails type: string results: description: >- Will be populated when validations fail for creation instructions type: array items: description: >- WARNING: Missing items property in array schema. Missing items property has been filled with this AnyType schema. status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object DefaultError: description: Default error content: application/json: schema: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string schemas: DefaultError: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string BadRequestError: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object MultipleBadRequestError: properties: error_code: description: Optional error code type: string message: description: >- Human readable description of the error. Will be populated when a high level validation fails type: string results: description: Will be populated when validations fail for creation instructions type: array items: description: >- WARNING: Missing items property in array schema. Missing items property has been filled with this AnyType schema. status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object Investor: title: Root Type for Investor description: JSON for the Investor resource type required: - investor_id - first_name - last_name - nationality - tax_id - address - tax_residency_compliant - date_of_birth - kyc_aml_status - dealing_status - kyc_aml_status_last_updated - status - reference_version - created_at - updated_at properties: title: type: string example: Mr. investor_id: type: string maxLength: 64 example: inv-XUT11265 gender: type: string example: male first_name: type: string maxLength: 100 example: David last_name: type: string minLength: 2 maxLength: 100 example: Brown status: type: string enum: - kyc_pending - kyc_failed - inactive - active readOnly: true example: kyc_pending email: type: string maxLength: 100 example: davidbrown@gmail.com mobile_number: type: string maxLength: 16 example: '+441234567890' home_number: type: string maxLength: 16 example: '+441234587830' office_number: type: string maxLength: 16 example: '+442072343456' nationality: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR tax_id: type: string example: AB123456C kyc_aml_status: type: string enum: - submitted - kyc_failed_error - pending - clear - not_started default: not_started example: not_started dealing_status: type: string enum: - inactive - active default: inactive example: inactive id_numbers: type: array items: type: object properties: id_type: type: string id_number: type: string required: - id_type - id_number example: - id_type: passport id_number: '2324839048381' address: type: object properties: postal_code: type: string example: S2 2DF address_line: type: string nullable: true example: '14' street_name: type: string nullable: true example: Tottenham Court Road city: type: string nullable: true example: London state: type: string nullable: true example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country mifid_tax_id: type: string example: '2382392274' tax_residency_compliant: type: boolean example: true date_of_birth: description: YYYY-MM-DD type: string format: date example: '1990-12-20' kyc_aml_status_last_updated: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' bank_accounts: description: Array of bank account IDs type: array items: type: string example: ba-bc00c28f-b3fc-42b7 retirement_age: description: Intended retirement age of the investor type: number example: 60 tax_residence: description: >- Residence of the investor for tax purposes. (for example, to claim relief at source) GB-ENG=England GB-NIR=Northern Ireland GB-SCT=Scotland GB-WLS=Wales type: string enum: - GB-ENG - GB-NIR - GB-SCT - GB-WLS example: GB-ENG employment_status: description: Status of an investor best describes their personal circumstances. type: string enum: - employed - self_employed - pensioner - child_under_16 - in_full_time_education - unemployed - caring_for_a_person_over_16 - caring_for_a_person_under_16 - other example: employed mpaa_triggered: description: >- Whether the investor has triggered the Money Purchase Annual Allowance. type: boolean example: true mpaa_triggered_date: description: >- Date of triggering the Money Purchase Annual Allowance. It is required if mpaa_triggered is true. type: string format: date example: '2023-01-30' workplace_employers: description: >- Unique IDs of workplace employers who are contributing to the workplace pension of the investor. type: array items: type: string example: wem-AHY58878 lta_protection_details: description: >- Additional details of the lifetime allowance protections of the investor type: array items: type: object properties: lta_protection_type: type: string enum: - primary - enhanced - fp12 - fp14 - ip14 - fp16 - ip16 lta_primary_protection_factor: description: Required only when the lta_protection_type is primary type: string lta_individual_protection_amount: description: Required when the lta_protection_type is ip14 or ip16. type: string lta_protection_notification_number: description: Required when the lta_protection_type is fp16 or ip16. type: string lta_protection_scheme_administrator_reference: description: Required when the lta_protection_type is fp16 or ip16. type: string required: - lta_protection_type example: - lta_protection_type: primary lta_primary_protection_factor: '20.00' - lta_protection_type: fp14 expression_of_wish: description: Beneficiary and nominee list of the expression of wish. type: object properties: sipp_beneficiaries: type: array items: type: object properties: title: type: string first_name: type: string maxLength: 100 last_name: type: string minLength: 2 maxLength: 100 address: type: string tax_id: type: string phone_number: type: string email: type: string percentage: type: string required: - first_name - last_name - address - percentage example: - title: Mr. first_name: William last_name: Smith address: 13 Park Row,Edinburgh, United Kingdom tax_id: AB123956P phone_number: '+441332960321' email: davidbrown@gmail.com percentage: '75.00' - title: Miss. first_name: Jessica last_name: Smith address: 14 Park Row,Edinburgh, United Kingdom tax_id: KL123956M phone_number: '+441630960345' email: jessicasmith@gmail.com percentage: '25.00' sipp_nominees: type: array items: type: object properties: title: type: string first_name: type: string maxLength: 100 last_name: type: string minLength: 2 maxLength: 100 address: type: string tax_id: type: string phone_number: type: string email: type: string percentage: type: string required: - first_name - last_name - address - percentage example: - title: Mr. first_name: James last_name: Brown address: 87 Colorado Way,Richmond, United Kingdom tax_id: XY123956Z phone_number: '+441630960322' email: jamesbrown@gmail.com percentage: '50.00' - title: Mrs. first_name: Emily last_name: Brown address: 4 Baldock Street, Newtown, United Kingdom tax_id: SY123956P phone_number: '+441615960345' email: emilybrown@gmail.com percentage: '50.00' reference_version: type: integer example: 1 readOnly: true created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' Greeting: required: - tenant - message - members properties: tenant: type: string members: type: array items: type: string message: type: string example: tenant: wos members: - Leonardo - Michelangelo - Donatello - Raphael message: Welcome to WOS world schemas-Investor: title: Root Type for Investor description: JSON for the Investor resource type required: - investor_id - first_name - last_name - nationality - tax_id - address - tax_residency_compliant - date_of_birth - kyc_aml_status - dealing_status - kyc_aml_status_last_updated - status - reference_version - created_at - updated_at properties: title: type: string example: Mr. investor_id: type: string maxLength: 64 example: inv-XUT11265 gender: type: string example: male first_name: type: string maxLength: 100 example: David last_name: type: string minLength: 2 maxLength: 100 example: Brown status: type: string enum: - kyc_pending - kyc_failed - inactive - active readOnly: true example: kyc_pending email: type: string maxLength: 100 example: davidbrown@gmail.com mobile_number: type: string maxLength: 16 example: '+441234567890' home_number: type: string maxLength: 16 example: '+441234587830' office_number: type: string maxLength: 16 example: '+442072343456' nationality: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR tax_id: type: string example: AB123456C kyc_aml_status: type: string enum: - submitted - kyc_failed_error - pending - clear - not_started default: not_started example: not_started dealing_status: type: string enum: - inactive - active default: inactive example: inactive id_numbers: type: array items: type: object properties: id_type: type: string id_number: type: string required: - id_type - id_number example: - id_type: passport id_number: '2324839048381' address: type: object properties: postal_code: type: string example: S2 2DF address_line: type: string nullable: true example: '14' street_name: type: string nullable: true example: Tottenham Court Road city: type: string nullable: true example: London state: type: string nullable: true example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country mifid_tax_id: type: string example: '2382392274' tax_residency_compliant: type: boolean example: true date_of_birth: description: YYYY-MM-DD type: string format: date example: '1990-12-20' kyc_aml_status_last_updated: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' bank_accounts: description: Array of bank account IDs type: array items: type: string example: ba-bc00c28f-b3fc-42b7 retirement_age: description: Intended retirement age of the investor type: number example: 60 tax_residence: description: >- Residence of the investor for tax purposes. (for example, to claim relief at source) GB-ENG=England GB-NIR=Northern Ireland GB-SCT=Scotland GB-WLS=Wales type: string enum: - GB-ENG - GB-NIR - GB-SCT - GB-WLS example: GB-ENG employment_status: description: Status of an investor best describes their personal circumstances. type: string enum: - employed - self_employed - pensioner - child_under_16 - in_full_time_education - unemployed - caring_for_a_person_over_16 - caring_for_a_person_under_16 - other example: employed mpaa_triggered: description: >- Whether the investor has triggered the Money Purchase Annual Allowance. type: boolean example: true mpaa_triggered_date: description: >- Date of triggering the Money Purchase Annual Allowance. It is required if mpaa_triggered is true. type: string format: date example: '2023-01-30' workplace_employers: description: >- Unique IDs of workplace employers who are contributing to the workplace pension of the investor. type: array items: type: string example: wem-AHY58878 lta_protection_details: description: >- Additional details of the lifetime allowance protections of the investor type: array items: type: object properties: lta_protection_type: type: string enum: - primary - enhanced - fp12 - fp14 - ip14 - fp16 - ip16 lta_primary_protection_factor: description: Required only when the lta_protection_type is primary type: string lta_individual_protection_amount: description: Required when the lta_protection_type is ip14 or ip16. type: string lta_protection_notification_number: description: Required when the lta_protection_type is fp16 or ip16. type: string lta_protection_scheme_administrator_reference: description: Required when the lta_protection_type is fp16 or ip16. type: string required: - lta_protection_type example: - lta_protection_type: primary lta_primary_protection_factor: '20.00' - lta_protection_type: fp14 expression_of_wish: description: Beneficiary and nominee list of the expression of wish. type: object properties: sipp_beneficiaries: type: array items: type: object properties: title: type: string first_name: type: string maxLength: 100 last_name: type: string minLength: 2 maxLength: 100 address: type: string tax_id: type: string phone_number: type: string email: type: string percentage: type: string required: - first_name - last_name - address - percentage example: - title: Mr. first_name: William last_name: Smith address: 13 Park Row,Edinburgh, United Kingdom tax_id: AB123956P phone_number: '+441332960321' email: davidbrown@gmail.com percentage: '75.00' - title: Miss. first_name: Jessica last_name: Smith address: 14 Park Row,Edinburgh, United Kingdom tax_id: KL123956M phone_number: '+441630960345' email: jessicasmith@gmail.com percentage: '25.00' sipp_nominees: type: array items: type: object properties: title: type: string first_name: type: string maxLength: 100 last_name: type: string minLength: 2 maxLength: 100 address: type: string tax_id: type: string phone_number: type: string email: type: string percentage: type: string required: - first_name - last_name - address - percentage example: - title: Mr. first_name: James last_name: Brown address: 87 Colorado Way,Richmond, United Kingdom tax_id: XY123956Z phone_number: '+441630960322' email: jamesbrown@gmail.com percentage: '50.00' - title: Mrs. first_name: Emily last_name: Brown address: 4 Baldock Street, Newtown, United Kingdom tax_id: SY123956P phone_number: '+441615960345' email: emilybrown@gmail.com percentage: '50.00' reference_version: type: integer example: 1 readOnly: true created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' Investors: description: Array of investors required: - investors - next_page_available type: object properties: investors: type: array items: title: Root Type for Investor description: JSON for the Investor resource type required: - investor_id - first_name - last_name - nationality - tax_id - address - tax_residency_compliant - date_of_birth - kyc_aml_status - dealing_status - kyc_aml_status_last_updated - status - reference_version - created_at - updated_at properties: title: type: string example: Mr. investor_id: type: string maxLength: 64 example: inv-XUT11265 gender: type: string example: male first_name: type: string maxLength: 100 example: David last_name: type: string minLength: 2 maxLength: 100 example: Brown status: type: string enum: - kyc_pending - kyc_failed - inactive - active readOnly: true example: kyc_pending email: type: string maxLength: 100 example: davidbrown@gmail.com mobile_number: type: string maxLength: 16 example: '+441234567890' home_number: type: string maxLength: 16 example: '+441234587830' office_number: type: string maxLength: 16 example: '+442072343456' nationality: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR tax_id: type: string example: AB123456C kyc_aml_status: type: string enum: - submitted - kyc_failed_error - pending - clear - not_started default: not_started example: not_started dealing_status: type: string enum: - inactive - active default: inactive example: inactive id_numbers: type: array items: type: object properties: id_type: type: string id_number: type: string required: - id_type - id_number example: - id_type: passport id_number: '2324839048381' address: type: object properties: postal_code: type: string example: S2 2DF address_line: type: string nullable: true example: '14' street_name: type: string nullable: true example: Tottenham Court Road city: type: string nullable: true example: London state: type: string nullable: true example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country mifid_tax_id: type: string example: '2382392274' tax_residency_compliant: type: boolean example: true date_of_birth: description: YYYY-MM-DD type: string format: date example: '1990-12-20' kyc_aml_status_last_updated: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' bank_accounts: description: Array of bank account IDs type: array items: type: string example: ba-bc00c28f-b3fc-42b7 retirement_age: description: Intended retirement age of the investor type: number example: 60 tax_residence: description: >- Residence of the investor for tax purposes. (for example, to claim relief at source) GB-ENG=England GB-NIR=Northern Ireland GB-SCT=Scotland GB-WLS=Wales type: string enum: - GB-ENG - GB-NIR - GB-SCT - GB-WLS example: GB-ENG employment_status: description: >- Status of an investor best describes their personal circumstances. type: string enum: - employed - self_employed - pensioner - child_under_16 - in_full_time_education - unemployed - caring_for_a_person_over_16 - caring_for_a_person_under_16 - other example: employed mpaa_triggered: description: >- Whether the investor has triggered the Money Purchase Annual Allowance. type: boolean example: true mpaa_triggered_date: description: >- Date of triggering the Money Purchase Annual Allowance. It is required if mpaa_triggered is true. type: string format: date example: '2023-01-30' workplace_employers: description: >- Unique IDs of workplace employers who are contributing to the workplace pension of the investor. type: array items: type: string example: wem-AHY58878 lta_protection_details: description: >- Additional details of the lifetime allowance protections of the investor type: array items: type: object properties: lta_protection_type: type: string enum: - primary - enhanced - fp12 - fp14 - ip14 - fp16 - ip16 lta_primary_protection_factor: description: Required only when the lta_protection_type is primary type: string lta_individual_protection_amount: description: Required when the lta_protection_type is ip14 or ip16. type: string lta_protection_notification_number: description: Required when the lta_protection_type is fp16 or ip16. type: string lta_protection_scheme_administrator_reference: description: Required when the lta_protection_type is fp16 or ip16. type: string required: - lta_protection_type example: - lta_protection_type: primary lta_primary_protection_factor: '20.00' - lta_protection_type: fp14 expression_of_wish: description: Beneficiary and nominee list of the expression of wish. type: object properties: sipp_beneficiaries: type: array items: type: object properties: title: type: string first_name: type: string maxLength: 100 last_name: type: string minLength: 2 maxLength: 100 address: type: string tax_id: type: string phone_number: type: string email: type: string percentage: type: string required: - first_name - last_name - address - percentage example: - title: Mr. first_name: William last_name: Smith address: 13 Park Row,Edinburgh, United Kingdom tax_id: AB123956P phone_number: '+441332960321' email: davidbrown@gmail.com percentage: '75.00' - title: Miss. first_name: Jessica last_name: Smith address: 14 Park Row,Edinburgh, United Kingdom tax_id: KL123956M phone_number: '+441630960345' email: jessicasmith@gmail.com percentage: '25.00' sipp_nominees: type: array items: type: object properties: title: type: string first_name: type: string maxLength: 100 last_name: type: string minLength: 2 maxLength: 100 address: type: string tax_id: type: string phone_number: type: string email: type: string percentage: type: string required: - first_name - last_name - address - percentage example: - title: Mr. first_name: James last_name: Brown address: 87 Colorado Way,Richmond, United Kingdom tax_id: XY123956Z phone_number: '+441630960322' email: jamesbrown@gmail.com percentage: '50.00' - title: Mrs. first_name: Emily last_name: Brown address: 4 Baldock Street, Newtown, United Kingdom tax_id: SY123956P phone_number: '+441615960345' email: emilybrown@gmail.com percentage: '50.00' reference_version: type: integer example: 1 readOnly: true created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' next_page_available: description: This indicates the availability of the next page type: boolean readOnly: true BankAccount: required: - account_name - default_account - bank_account_number properties: account_name: type: string maxLength: 100 example: David Brown default_account: description: Only one account should be the default type: string enum: - 'yes' - 'no' example: 'yes' bank_account_number: description: Unique for the investor type: string minLength: 6 maxLength: 8 example: '12345678' account_status: description: If not populated, will be defaulted to inactive type: string enum: - active - inactive example: active sort_code: description: Mandatory if region is UK type: string minLength: 6 maxLength: 8 example: '123456' building_society_roll_number: type: string minLength: 1 maxLength: 18 example: '12345672' InvestorRequest: title: Root Type for Investor creation request description: JSON for the Investor creation request resource type required: - first_name - last_name - nationality - tax_id - address - tax_residency_compliant - date_of_birth properties: title: type: string example: Mr. gender: type: string example: male first_name: type: string maxLength: 100 example: David last_name: type: string minLength: 2 maxLength: 100 example: Brown status: type: string enum: - kyc_pending - kyc_failed - inactive - active readOnly: true example: kyc_pending email: type: string maxLength: 100 example: davidbrown@gmail.com mobile_number: type: string maxLength: 16 example: '+441234567890' home_number: type: string maxLength: 16 example: '+441234587830' office_number: type: string maxLength: 16 example: '+442072343456' nationality: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR tax_id: type: string example: AB123456C kyc_aml_status: type: string enum: - submitted - kyc_failed_error - pending - clear - not_started default: not_started example: not_started dealing_status: type: string enum: - inactive - active default: inactive example: inactive id_numbers: type: array items: type: object properties: id_type: type: string id_number: type: string required: - id_type - id_number example: - id_type: passport id_number: '2324839048381' address: type: object properties: postal_code: type: string example: S2 2DF address_line: type: string nullable: true example: '14' street_name: type: string nullable: true example: Tottenham Court Road city: type: string nullable: true example: London state: type: string nullable: true example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country mifid_tax_id: type: string example: '2382392274' tax_residency_compliant: type: boolean example: true date_of_birth: description: YYYY-MM-DD type: string format: date example: '1990-12-20' retirement_age: description: Intended retirement age of the investor. type: number example: 60 tax_residence: description: >- Residence of the investor for tax purposes. (for example, to claim relief at source) GB-ENG=England GB-NIR=Northern Ireland GB-SCT=Scotland GB-WLS=Wales. type: string enum: - GB-ENG - GB-NIR - GB-SCT - GB-WLS example: GB-ENG employment_status: description: Status of an investor best describes their personal circumstances. type: string enum: - employed - self_employed - pensioner - child_under_16 - in_full_time_education - unemployed - caring_for_a_person_over_16 - caring_for_a_person_under_16 - other example: employed mpaa_triggered: description: >- Whether the investor has triggered the Money Purchase Annual Allowance. type: boolean example: true mpaa_triggered_date: description: >- Date of triggering the Money Purchase Annual Allowance. This is only required if mpaa_triggered is true.The date format should be YYYY-MM-DD. type: string format: date example: '2023-01-30' workplace_employers: description: >- Unique IDs of workplace employers who are contributing to the workplace pension of the investor. type: array items: type: string example: wem-AHY58878 lta_protection_details: description: >- Additional details of the lifetime allowance protections of the investor. type: array items: type: object properties: lta_protection_type: description: >- primary=Primary protection, enhanced=Enhanced protection, fp12=Fixed protection 2012, fp14=Fixed protection 2014, fp16=Fixed protection 2016, ip14=Individual protection 2014, ip16=Individual protection 2016 type: string enum: - primary - enhanced - fp12 - fp14 - ip14 - fp16 - ip16 lta_primary_protection_factor: description: >- Primary protection factor of the investor. Required only when the lta_protection_type is primary. type: string lta_individual_protection_amount: description: >- Protected lifetime allowance of the investor. Required when the lta_protection_type is ip14 or ip16. type: string lta_protection_notification_number: description: >- Protection notification number issued by HMRC. Required for protection from 2016 onwards. Required when the lta_protection_type is fp16 or ip16. type: string lta_protection_scheme_administrator_reference: description: >- Scheme administrator reference issued by HMRC. Required for protection from 2016 onwards. Required when the lta_protection_type is fp16 or ip16. type: string required: - lta_protection_type example: - lta_protection_type: primary lta_primary_protection_factor: '20.00' - lta_protection_type: fp14 expression_of_wish: description: Beneficiary and nominee list of the expression of wish. type: object properties: sipp_beneficiaries: description: Beneficiaries list of the expression of wish type: array items: type: object properties: title: type: string first_name: type: string maxLength: 100 last_name: type: string minLength: 2 maxLength: 100 address: type: string tax_id: type: string phone_number: type: string email: type: string percentage: description: >- Percentage of assets that will be allocated to the beneficiary type: string required: - first_name - last_name - address - percentage example: - title: Mr. first_name: William last_name: Smith address: 13 Park Row,Edinburgh, United Kingdom tax_id: AB123956P phone_number: '+441332960321' email: davidbrown@gmail.com percentage: '75.00' - title: Miss. first_name: Jessica last_name: Smith address: 14 Park Row,Edinburgh, United Kingdom tax_id: KL123956M phone_number: '+441630960345' email: jessicasmith@gmail.com percentage: '25.00' sipp_nominees: description: Nominees list of the expression of wish type: array items: type: object properties: title: type: string first_name: type: string maxLength: 100 last_name: type: string minLength: 2 maxLength: 100 address: type: string tax_id: type: string phone_number: type: string email: type: string percentage: description: Percentage of assets that will be allocated to the nominee type: string required: - first_name - last_name - address - percentage example: - title: Mr. first_name: James last_name: Brown address: 87 Colorado Way,Richmond, United Kingdom tax_id: XY123956Z phone_number: '+441630960322' email: jamesbrown@gmail.com percentage: '50.00' - title: Mrs. first_name: Emily last_name: Brown address: 4 Baldock Street, Newtown, United Kingdom tax_id: SY123956P phone_number: '+441615960345' email: emilybrown@gmail.com percentage: '50.00' bank_accounts: description: Allow to create only one bank account when creating a new investor. type: array items: required: - account_name - default_account - bank_account_number properties: account_name: type: string maxLength: 100 example: David Brown default_account: description: Only one account should be the default type: string enum: - 'yes' - 'no' example: 'yes' bank_account_number: description: Unique for the investor type: string minLength: 6 maxLength: 8 example: '12345678' account_status: description: If not populated, will be defaulted to inactive type: string enum: - active - inactive example: active sort_code: description: Mandatory if region is UK type: string minLength: 6 maxLength: 8 example: '123456' building_society_roll_number: type: string minLength: 1 maxLength: 18 example: '12345672' BankAccountResponse: required: - account_name - investor_id - default_account - bank_account_number properties: bank_account_id: description: system generated id type: string readOnly: true maxLength: 100 example: ba-bc00c28f-b3fc-42b7 investor_id: type: string example: inv-XUT11265 account_name: type: string maxLength: 100 example: David Brown bank_account_type: type: string enum: - investor - contributing_employer example: contributing_employer default_account: description: Only one account should be the default type: string enum: - 'yes' - 'no' example: 'yes' bank_account_number: description: Unique for the investor type: string minLength: 6 maxLength: 8 example: '****5678' account_status: description: If not populated, will be defaulted to inactive type: string enum: - active - inactive example: active sort_code: type: string minLength: 6 maxLength: 8 example: '****56' building_society_roll_number: type: string minLength: 1 maxLength: 18 example: '******72' status: type: string enum: - failed - success example: failed error_message: description: If the bank account creation failed type: string example: Only one bank account can be set as the default account reference_version: type: integer readOnly: true example: 1 created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' InvestorResponse: title: Root Type for Investor creation response description: JSON for the Investor creation response resource type required: - investor_id - first_name - last_name - nationality - tax_id - address - tax_residency_compliant - date_of_birth - kyc_aml_status - dealing_status - kyc_aml_status_last_updated - status - reference_version - created_at - updated_at properties: title: type: string example: Mr. investor_id: type: string maxLength: 64 example: inv-XUT11265 gender: type: string example: male first_name: type: string maxLength: 100 example: David last_name: type: string minLength: 2 maxLength: 100 example: Brown status: type: string enum: - kyc_pending - kyc_failed - inactive - active readOnly: true example: kyc_pending email: type: string maxLength: 100 example: davidbrown@gmail.com mobile_number: type: string maxLength: 16 example: '+441234567890' home_number: type: string maxLength: 16 example: '+441234587830' office_number: type: string maxLength: 16 example: '+442072343456' nationality: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR tax_id: type: string example: AB123456C kyc_aml_status: type: string enum: - submitted - kyc_failed_error - pending - clear - not_started default: not_started example: not_started dealing_status: type: string enum: - inactive - active default: inactive example: inactive id_numbers: type: array items: type: object properties: id_type: type: string id_number: type: string required: - id_type - id_number example: - id_type: passport id_number: '2324839048381' address: type: object properties: postal_code: type: string example: S2 2DF address_line: type: string nullable: true example: '14' street_name: type: string nullable: true example: Tottenham Court Road city: type: string nullable: true example: London state: type: string nullable: true example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country mifid_tax_id: type: string example: '2382392274' tax_residency_compliant: type: boolean example: true date_of_birth: description: YYYY-MM-DD type: string format: date example: '1990-12-20' retirement_age: type: number example: 60 tax_residence: description: >- Residence of the investor for tax purposes. (for example, to claim relief at source) GB-ENG=England GB-NIR=Northern Ireland GB-SCT=Scotland GB-WLS=Wales type: string enum: - GB-ENG - GB-NIR - GB-SCT - GB-WLS example: GB-ENG employment_status: type: string enum: - employed - self_employed - pensioner - child_under_16 - in_full_time_education - unemployed - caring_for_a_person_over_16 - caring_for_a_person_under_16 - other example: employed mpaa_triggered: type: boolean example: true mpaa_triggered_date: type: string format: date example: '2023-01-30' workplace_employers: description: >- Unique IDs of workplace employers who are contributing to the workplace pension of the investor. type: array items: type: string example: wem-AHY58878 lta_protection_details: type: array items: type: object properties: lta_protection_type: type: string enum: - primary - enhanced - fp12 - fp14 - ip14 - fp16 - ip16 lta_primary_protection_factor: description: Required only when the lta_protection_type is primary type: string lta_individual_protection_amount: description: Required when the lta_protection_type is ip14 or ip16. type: string lta_protection_notification_number: description: Required when the lta_protection_type is fp16 or ip16. type: string lta_protection_scheme_administrator_reference: description: Required when the lta_protection_type is fp16 or ip16. type: string required: - lta_protection_type example: - lta_protection_type: primary lta_primary_protection_factor: '20.00' - lta_protection_type: fp14 expression_of_wish: type: object properties: sipp_beneficiaries: type: array items: type: object properties: title: type: string first_name: type: string maxLength: 100 last_name: type: string minLength: 2 maxLength: 100 address: type: string tax_id: type: string phone_number: type: string email: type: string percentage: type: string required: - first_name - last_name - address - percentage example: - title: Mr. first_name: William last_name: Smith address: 13 Park Row,Edinburgh, United Kingdom tax_id: AB123956P phone_number: '+441332960321' email: davidbrown@gmail.com percentage: '75.00' - title: Miss. first_name: Jessica last_name: Smith address: 14 Park Row,Edinburgh, United Kingdom tax_id: KL123956M phone_number: '+441630960345' email: jessicasmith@gmail.com percentage: '25.00' sipp_nominees: type: array items: type: object properties: title: type: string first_name: type: string maxLength: 100 last_name: type: string minLength: 2 maxLength: 100 address: type: string tax_id: type: string phone_number: type: string email: type: string percentage: type: string required: - first_name - last_name - address - percentage example: - title: Mr. first_name: James last_name: Brown address: 87 Colorado Way,Richmond, United Kingdom tax_id: XY123956Z phone_number: '+441630960322' email: jamesbrown@gmail.com percentage: '50.00' - title: Mrs. first_name: Emily last_name: Brown address: 4 Baldock Street, Newtown, United Kingdom tax_id: SY123956P phone_number: '+441615960345' email: emilybrown@gmail.com percentage: '50.00' kyc_aml_status_last_updated: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' bank_accounts: description: Allow to create only one bank account when creating a new investor. type: array items: required: - account_name - investor_id - default_account - bank_account_number properties: bank_account_id: description: system generated id type: string readOnly: true maxLength: 100 example: ba-bc00c28f-b3fc-42b7 investor_id: type: string example: inv-XUT11265 account_name: type: string maxLength: 100 example: David Brown bank_account_type: type: string enum: - investor - contributing_employer example: contributing_employer default_account: description: Only one account should be the default type: string enum: - 'yes' - 'no' example: 'yes' bank_account_number: description: Unique for the investor type: string minLength: 6 maxLength: 8 example: '****5678' account_status: description: If not populated, will be defaulted to inactive type: string enum: - active - inactive example: active sort_code: type: string minLength: 6 maxLength: 8 example: '****56' building_society_roll_number: type: string minLength: 1 maxLength: 18 example: '******72' status: type: string enum: - failed - success example: failed error_message: description: If the bank account creation failed type: string example: Only one bank account can be set as the default account reference_version: type: integer readOnly: true example: 1 created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' reference_version: type: integer example: 1 readOnly: true created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' UpdateInvestor: title: Update Request Body for Investor description: JSON for the Update Investor resource type required: - reference_version properties: title: type: string nullable: true example: Mr. gender: type: string nullable: true example: male first_name: type: string maxLength: 100 example: David last_name: type: string minLength: 2 maxLength: 100 example: Brown status: type: string enum: - kyc_pending - kyc_failed - inactive - active readOnly: true example: kyc_pending email: type: string nullable: true maxLength: 100 example: davidbrown@gmail.com mobile_number: type: string nullable: true maxLength: 16 example: '+441234567890' home_number: type: string maxLength: 16 nullable: true example: '+441234587830' office_number: type: string maxLength: 16 nullable: true example: '+442072343456' nationality: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR tax_id: type: string example: AB123456C kyc_aml_status: type: string enum: - submitted - kyc_failed_error - pending - clear - not_started example: not_started dealing_status: type: string enum: - inactive - active example: inactive id_numbers: description: Replaces the array in the server. type: array nullable: true items: type: object properties: id_type: type: string id_number: type: string example: - id_type: passport id_number: '2324839048381' address: type: object properties: postal_code: type: string example: S2 2DF address_line: type: string nullable: true example: '14' street_name: type: string nullable: true example: Tottenham Court Road city: type: string nullable: true example: London state: type: string nullable: true example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR mifid_tax_id: type: string nullable: true example: '2382392274' tax_residency_compliant: type: boolean example: true date_of_birth: description: YYYY-MM-DD type: string format: date example: '1990-12-20' retirement_age: description: Intended retirement age of the investor. type: number nullable: true example: 60 tax_residence: description: >- Residence of the investor for tax purposes. (for example, to claim relief at source) GB-ENG=England GB-NIR=Northern Ireland GB-SCT=Scotland GB-WLS=Wales type: string nullable: true enum: - GB-ENG - GB-NIR - GB-SCT - GB-WLS example: GB-ENG employment_status: description: Status of an investor best describes their personal circumstances. type: string enum: - employed - self_employed - pensioner - child_under_16 - in_full_time_education - unemployed - caring_for_a_person_over_16 - caring_for_a_person_under_16 - other example: employed mpaa_triggered: description: >- Whether the investor has triggered the Money Purchase Annual Allowance. type: boolean nullable: true example: true mpaa_triggered_date: description: >- Date of triggering the Money Purchase Annual Allowance. This is only required if mpaa_triggered is true. type: string nullable: true format: date example: '2023-01-30' workplace_employers: description: >- Unique IDs of workplace employers who are contributing to the workplace pensions. The incoming list of employers will replace the existing list of employers. type: array nullable: true items: type: string example: wem-AHY58878 lta_protection_details: description: >- Additional details of the lifetime allowance protections of the investor. type: array nullable: true items: type: object properties: lta_protection_type: description: >- primary=Primary protection, enhanced=Enhanced protection, fp12=Fixed protection 2012, fp14=Fixed protection 2014, fp16=Fixed protection 2016, ip14=Individual protection 2014, ip16=Individual protection 2016 type: string enum: - primary - enhanced - fp12 - fp14 - ip14 - fp16 - ip16 lta_primary_protection_factor: description: >- Primary protection factor of the investor. Required only when the lta_protection_type is primary. type: string lta_individual_protection_amount: description: >- Protected lifetime allowance of the investor. Required when the lta_protection_type is ip14 or ip16. type: string lta_protection_notification_number: description: >- Protection notification number issued by HMRC. Required for protection from 2016 onwards. Required when the lta_protection_type is fp16 or ip16. type: string lta_protection_scheme_administrator_reference: description: >- Scheme administrator reference issued by HMRC. Required for protection from 2016 onwards. Required when the lta_protection_type is fp16 or ip16. type: string required: - lta_protection_type example: - lta_protection_type: primary lta_primary_protection_factor: '20.00' - lta_protection_type: fp14 expression_of_wish: description: Beneficiary and nominee list of the expression of wish. type: object nullable: true properties: sipp_beneficiaries: description: Beneficiaries list of the expression of wish type: array nullable: true items: type: object properties: title: type: string first_name: type: string maxLength: 100 last_name: type: string minLength: 2 maxLength: 100 address: type: string tax_id: type: string phone_number: type: string email: type: string percentage: description: >- Percentage of assets that will be allocated to the beneficiary type: string required: - first_name - last_name - address - percentage example: - title: Mr. first_name: William last_name: Smith address: 13 Park Row,Edinburgh, United Kingdom tax_id: AB123956P phone_number: '+441332960321' email: davidbrown@gmail.com percentage: '75.00' - title: Miss. first_name: Jessica last_name: Smith address: 14 Park Row,Edinburgh, United Kingdom tax_id: KL123956M phone_number: '+441630960345' email: jessicasmith@gmail.com percentage: '25.00' sipp_nominees: description: Nominees list of the expression of wish type: array nullable: true items: type: object properties: title: type: string first_name: type: string maxLength: 100 last_name: type: string minLength: 2 maxLength: 100 address: type: string tax_id: type: string phone_number: type: string email: type: string percentage: description: Percentage of assets that will be allocated to the nominee type: string required: - first_name - last_name - address - percentage example: - title: Mr. first_name: James last_name: Brown address: 87 Colorado Way,Richmond, United Kingdom tax_id: XY123956Z phone_number: '+441630960322' email: jamesbrown@gmail.com percentage: '50.00' - title: Mrs. first_name: Emily last_name: Brown address: 4 Baldock Street, Newtown, United Kingdom tax_id: SY123956P phone_number: '+441615960345' email: emilybrown@gmail.com percentage: '50.00' kyc_aml_status_last_updated: type: string format: date-time readOnly: true example: '2020-08-12T07:36:05.884Z' reference_version: type: integer example: 1 created_at: type: string format: date-time readOnly: true example: '2020-08-12T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' deleted_at: type: string format: date-time readOnly: true example: null FinancialProduct: title: Root Type for Financial Products description: '' required: - product_type - financial_product_id - name - created_at - updated_at type: object properties: financial_product_id: type: string name: type: string maxLength: 50 availability: type: array items: type: string additional_cash_currencies: type: array items: type: string dividend_options: type: array items: type: string investment_preferences: type: object required: - minimum_one_off_investment properties: minimum_one_off_investment: type: string regular_investment_frequencies: type: array items: type: string lisa_bonus_percentage: description: >- The government-provided incentive rate applied to eligible contributions in a LISA. Can contain up to 2 decimal points. Applicable for LISA financial products. type: integer withdrawal_preferences: type: object required: - minimum_one_off_withdrawal properties: minimum_one_off_withdrawal: type: string minimum_regular_monthly_withdrawal: type: string regular_withdrawal_frequencies: type: array items: type: string regular_withdrawal_payment_dates: type: array items: type: string nullable: true withdrawal_notice_period: description: >- Specified number of days during which a withdrawal request remains pending, and at the end of this period, the withdrawal will be triggered. Applicable for LISA financial products. type: string withdrawal_charge_percentage: description: >- The government-imposed penalty percentage for unauthorized withdrawals executed by an investor from a LISA account. Can contain up to 2 decimal points. Applicable for LISA financial products. type: integer product_type: description: Financial product type type: string flexible: description: Whether the regulations allow a financial product to be flexible type: string enum: - 'YES' - 'NO' max_annual_ISA_subscription_limit: description: Max Annual ISA Subscription Limit. Applicable to ISA products type: string annual_product_subscription_limit: description: >- Annual limit for tax free contributions. Contributions up to this limit qualify for tax refund. Applicable to SIPP products type: string annual_subscription_reduced_limit: description: >- Annual limit for tax free contributions for minors and other individuals with limited income. Applicable to SIPP products type: string money_purchase_annual_allowance: description: >- Annual limit for tax free contributions when an investor has triggered a drawdown/crystallisation. Applicable to SIPP products type: string lifetime_allowance: description: Lifetime limit for tax free withdrawals. Applicable to SIPP products type: string minimum_age: description: >- Minimum age qualifying an individual to invest in a Pension Accumulation Plan or open a LISA investor account. Applicable for SIPP or LISA financial products. type: integer maximum_age: description: >- Maximum age qualifying an individual to open a LISA investor account. Applicable for LISA financial products. type: integer minimum_withdrawal_age: description: >- Minimum age at which an individual can make a penalty-free authorized withdrawal from a Lifetime ISA, excluding reasons like purchasing a first home, being terminally ill, or in case of death. Applicable for LISA financial products. type: integer maximum_contribution_age: description: >- Maximum age qualifying an individual to contribute in to a LISA account. Applicable for LISA financial products. type: integer annual_lisa_subscription_limit: description: >- Maximum Subscription Limit for an individual can contribute to a LISA in a tax year. Applicable for LISA financial products. type: integer created_at: type: string format: date-time readOnly: true updated_at: type: string format: date-time readOnly: true example: financial_product_id: stocks_isa product_type: stocks_isa name: Acorn ISA availability: - All clients additional_cash_currencies: - EUR - USD dividend_options: - Auto reinvest always - Offer reinvest option investment_preferences: minimum_one_off_investment: '1000' minimum_regular_monthly_investment: '100' regular_investment_frequencies: - Calendar monthly - Yearly on a predefined date regular_investment_dates: - 10th - 17th - 24th withdrawal_preferences: minimum_one_off_withdrawal: '1000' minimum_regular_monthly_withdrawal: '100' regular_withdrawal_frequencies: - Calendar monthly - Yearly on a predefined date regular_withdrawal_payment_dates: - 10th - 17th - 24th interest_preferences: pay_interest: 'Yes' interest_accrual_basis: Daily interest_payment_frequency: Daily max_annual_ISA_subscription_limit: '20000' flexible: 'NO' created_at: '2020-07-08T07:36:05.884Z' updated_at: '2020-07-10T07:36:05.884Z' FinancialProducts: required: - financial_products type: object properties: financial_products: type: array items: title: Root Type for Financial Products description: '' required: - product_type - financial_product_id - name - created_at - updated_at type: object properties: financial_product_id: type: string name: type: string maxLength: 50 availability: type: array items: type: string additional_cash_currencies: type: array items: type: string dividend_options: type: array items: type: string investment_preferences: type: object required: - minimum_one_off_investment properties: minimum_one_off_investment: type: string regular_investment_frequencies: type: array items: type: string lisa_bonus_percentage: description: >- The government-provided incentive rate applied to eligible contributions in a LISA. Can contain up to 2 decimal points. Applicable for LISA financial products. type: integer withdrawal_preferences: type: object required: - minimum_one_off_withdrawal properties: minimum_one_off_withdrawal: type: string minimum_regular_monthly_withdrawal: type: string regular_withdrawal_frequencies: type: array items: type: string regular_withdrawal_payment_dates: type: array items: type: string nullable: true withdrawal_notice_period: description: >- Specified number of days during which a withdrawal request remains pending, and at the end of this period, the withdrawal will be triggered. Applicable for LISA financial products. type: string withdrawal_charge_percentage: description: >- The government-imposed penalty percentage for unauthorized withdrawals executed by an investor from a LISA account. Can contain up to 2 decimal points. Applicable for LISA financial products. type: integer product_type: description: Financial product type type: string flexible: description: >- Whether the regulations allow a financial product to be flexible type: string enum: - 'YES' - 'NO' max_annual_ISA_subscription_limit: description: Max Annual ISA Subscription Limit. Applicable to ISA products type: string annual_product_subscription_limit: description: >- Annual limit for tax free contributions. Contributions up to this limit qualify for tax refund. Applicable to SIPP products type: string annual_subscription_reduced_limit: description: >- Annual limit for tax free contributions for minors and other individuals with limited income. Applicable to SIPP products type: string money_purchase_annual_allowance: description: >- Annual limit for tax free contributions when an investor has triggered a drawdown/crystallisation. Applicable to SIPP products type: string lifetime_allowance: description: >- Lifetime limit for tax free withdrawals. Applicable to SIPP products type: string minimum_age: description: >- Minimum age qualifying an individual to invest in a Pension Accumulation Plan or open a LISA investor account. Applicable for SIPP or LISA financial products. type: integer maximum_age: description: >- Maximum age qualifying an individual to open a LISA investor account. Applicable for LISA financial products. type: integer minimum_withdrawal_age: description: >- Minimum age at which an individual can make a penalty-free authorized withdrawal from a Lifetime ISA, excluding reasons like purchasing a first home, being terminally ill, or in case of death. Applicable for LISA financial products. type: integer maximum_contribution_age: description: >- Maximum age qualifying an individual to contribute in to a LISA account. Applicable for LISA financial products. type: integer annual_lisa_subscription_limit: description: >- Maximum Subscription Limit for an individual can contribute to a LISA in a tax year. Applicable for LISA financial products. type: integer created_at: type: string format: date-time readOnly: true updated_at: type: string format: date-time readOnly: true example: financial_product_id: stocks_isa product_type: stocks_isa name: Acorn ISA availability: - All clients additional_cash_currencies: - EUR - USD dividend_options: - Auto reinvest always - Offer reinvest option investment_preferences: minimum_one_off_investment: '1000' minimum_regular_monthly_investment: '100' regular_investment_frequencies: - Calendar monthly - Yearly on a predefined date regular_investment_dates: - 10th - 17th - 24th withdrawal_preferences: minimum_one_off_withdrawal: '1000' minimum_regular_monthly_withdrawal: '100' regular_withdrawal_frequencies: - Calendar monthly - Yearly on a predefined date regular_withdrawal_payment_dates: - 10th - 17th - 24th interest_preferences: pay_interest: 'Yes' interest_accrual_basis: Daily interest_payment_frequency: Daily max_annual_ISA_subscription_limit: '20000' flexible: 'NO' created_at: '2020-07-08T07:36:05.884Z' updated_at: '2020-07-10T07:36:05.884Z' InvestmentInstruction: required: - investment_product_id properties: investment_product_id: type: string quantity: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 332.34, 1050.0025). For `funds`, upto 4 decimal places. For `equities`, `bonds` and `etf`, 0 decimal places allowed. type: string value: description: >- Require if `quantity` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string Payment: title: Root Type for Payments required: - amount - currency - status - pot_id - payment_type - transaction_id - service_provider - purpose - origin properties: transaction_id: type: string investor_id: type: array items: type: string amount: type: string currency: type: string pot_id: type: string payment_type: type: string enum: - card - electronic_fund_transfer - direct_debit service_provider: type: string enum: - stripe - truelayer - gocardless - none sub_transaction_type: description: Type of contribution type: string enum: - Lump sum - Lump sum - non relievable - Employer contribution - Regular contribution - Regular contribution - non relievable - Regular contribution - Employer source_id: description: >- Required only for payments intents for employer contributions made towards SIPP Accumulation Products type: string service_provider_params: description: Custom parameters based on prerequisites of the selected provider type: object properties: bank_account_id: description: >- Bank account ID of Investor (include if service_provider="truelayer") type: string payment_reference: description: Recurring payment reference type: string created_at: description: Recurring payment created date type: string format: date-time desrciption: description: Recurring payment description type: string service_provider_status: description: >- Recurring payment status transitions depend on the service provider type: string authorization_reference: description: >- Recurring payment authorization reference ID provided by a service provider maintained under payment authorizations for an investor type: string purpose: type: string enum: - cash - invest investment_instructions: description: >- mandatory only if purpose:"invest" and pot does not have a portfolio template attached (e.g. An execution-only or direct-to-consumer wealth manager) type: array nullable: true items: required: - investment_product_id properties: investment_product_id: type: string quantity: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 332.34, 1050.0025). For `funds`, upto 4 decimal places. For `equities`, `bonds` and `etf`, 0 decimal places allowed. type: string value: description: >- Require if `quantity` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string status: description: >- Status of the payment - `pending_confirmation`: Payment is pending approvals and confirmation - `processing`: Payment is confirmed, and being processed. Depending on the payment method, this may be instantaneous (e.g. card) or take multiple days (e.g. cheque) - `succeeded`: Payment is successful. Cash is cleaned in account. - `cancelled`: Payment cancelled, and any held funds have been returned. - `failed`: Payment failed due to insufficient funds, invalid card details, network issues etc. type: string enum: - pending_confirmation - processing - succeeded - cancelled - failed origin: description: Origin of the payment type: string enum: - api - admin_ui settlement_date: description: Required if origin is admin_ui type: string format: date-time contribution_id: description: >- Required only for payments intents which created through a recurring contribution type: string reason: description: >- This field populated only when payment intent status is failed or cancelled, with reason for cancellation or failure type: string payment_reference: type: string example: transaction_id: 75d65d2b-60c6-45ad-979d-0e3e403e6c7e investor_id: - inv-XUT11265 amount: '20000' currency: GBP status: pending_confirmation pot_id: pot-UKW3452875 payment_type: electronic_fund_transfer service_provider: truelayer sub_transaction_type: Lump sum purpose: cash Payments: required: - payments - next_page_available type: object properties: pot_id: description: Pot Id type: string example: pot-UKW3452875 payments: type: array items: title: Root Type for Payments required: - amount - currency - status - pot_id - payment_type - transaction_id - service_provider - purpose - origin properties: transaction_id: type: string investor_id: type: array items: type: string amount: type: string currency: type: string pot_id: type: string payment_type: type: string enum: - card - electronic_fund_transfer - direct_debit service_provider: type: string enum: - stripe - truelayer - gocardless - none sub_transaction_type: description: Type of contribution type: string enum: - Lump sum - Lump sum - non relievable - Employer contribution - Regular contribution - Regular contribution - non relievable - Regular contribution - Employer source_id: description: >- Required only for payments intents for employer contributions made towards SIPP Accumulation Products type: string service_provider_params: description: >- Custom parameters based on prerequisites of the selected provider type: object properties: bank_account_id: description: >- Bank account ID of Investor (include if service_provider="truelayer") type: string payment_reference: description: Recurring payment reference type: string created_at: description: Recurring payment created date type: string format: date-time desrciption: description: Recurring payment description type: string service_provider_status: description: >- Recurring payment status transitions depend on the service provider type: string authorization_reference: description: >- Recurring payment authorization reference ID provided by a service provider maintained under payment authorizations for an investor type: string purpose: type: string enum: - cash - invest investment_instructions: description: >- mandatory only if purpose:"invest" and pot does not have a portfolio template attached (e.g. An execution-only or direct-to-consumer wealth manager) type: array nullable: true items: required: - investment_product_id properties: investment_product_id: type: string quantity: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 332.34, 1050.0025). For `funds`, upto 4 decimal places. For `equities`, `bonds` and `etf`, 0 decimal places allowed. type: string value: description: >- Require if `quantity` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string status: description: >- Status of the payment - `pending_confirmation`: Payment is pending approvals and confirmation - `processing`: Payment is confirmed, and being processed. Depending on the payment method, this may be instantaneous (e.g. card) or take multiple days (e.g. cheque) - `succeeded`: Payment is successful. Cash is cleaned in account. - `cancelled`: Payment cancelled, and any held funds have been returned. - `failed`: Payment failed due to insufficient funds, invalid card details, network issues etc. type: string enum: - pending_confirmation - processing - succeeded - cancelled - failed origin: description: Origin of the payment type: string enum: - api - admin_ui settlement_date: description: Required if origin is admin_ui type: string format: date-time contribution_id: description: >- Required only for payments intents which created through a recurring contribution type: string reason: description: >- This field populated only when payment intent status is failed or cancelled, with reason for cancellation or failure type: string payment_reference: type: string example: transaction_id: 75d65d2b-60c6-45ad-979d-0e3e403e6c7e investor_id: - inv-XUT11265 amount: '20000' currency: GBP status: pending_confirmation pot_id: pot-UKW3452875 payment_type: electronic_fund_transfer service_provider: truelayer sub_transaction_type: Lump sum purpose: cash next_page_available: description: This indicates the availability of the next page type: boolean readOnly: true PaymentIntentRequestSchema: required: - request_id - amount - pot_id - payment_type - purpose - service_provider properties: request_id: description: 'Unique request id to ensure idempotency. (ex: UUID)' type: string format: uuid amount: description: >- Amount as a numeral string with two decimal points. (ex: 1500.00). Minimum allowed amount is 1.00 type: string example: '100.00' pot_id: type: string example: pot-UKW3452850 payment_type: type: string example: electronic_fund_transfer enum: - card - electronic_fund_transfer service_provider: type: string example: truelayer enum: - stripe - truelayer - none service_provider_params: description: Parameters based on prerequisites of the selected provider type: object properties: bank_account_id: description: >- Bank account ID of Investor (mandatory only if service_provider="truelayer") type: string example: ba-bc00c28f-b3fc-42b7 currency: description: Must be a currency configured for the Pot type: string example: GBP sub_transaction_type: description: >- Type of contribution. "Lump sum", "Lump sum - non relievable", "Employer contribution" is enabled for SIPP and is required to be sent in the request. "Lump sum" is enabled for all other financial products and need not be specified. If the sub transaction type is not specified for other financial products it will be defaulted to "Lump sum" . type: string example: Lump sum enum: - Lump sum - Lump sum - non relievable - Employer Contribution source_id: description: >- Required only for payments intents for employer contributions made towards SIPP Accumulation Products type: string example: cem-ASP43560 purpose: type: string example: invest enum: - cash - invest investment_instructions: description: >- Mandatory only if purpose:"invest" and pot does not have a portfolio template attached (e.g. An execution-only or direct-to-consumer wealth manager). type: array items: required: - investment_product_id properties: investment_product_id: type: string quantity: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 332.34, 1050.0025). For `funds`, upto 4 decimal places. For `equities`, `bonds` and `etf`, 0 decimal places allowed. type: string value: description: >- Require if `quantity` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string example: - investment_product_id: isa_1223931892 quantity: '300' - investment_product_id: isa_9913091898 quantity: '500' PaymentIntentResponseSchema: required: - amount - currency - status - pot_id - payment_type - transaction_id - service_provider - purpose properties: transaction_id: type: string amount: type: string currency: type: string status: type: string enum: - pending_confirmation - processing - succeeded pot_id: type: string payment_type: type: string enum: - card - electronic_fund_transfer sub_transaction_type: description: Type of contribution. type: string enum: - Lump sum - Lump sum - non relievable - Employer contribution source_id: description: >- Only for payments intents for employer contributions made towards SIPP Accumulation Products type: string service_provider: type: string enum: - stripe - truelayer - none service_provider_params: description: Parameters based on prerequisites of the selected provider type: object properties: bank_account_id: description: >- Bank account ID of Investor (include if service_provider="truelayer") type: string hpp_url: description: >- URL for Hosted Payment Page (include if service_provider="truelayer") type: string payment_intent_id: description: >- Payment intent ID (include if service_provider="truelayer" or service_provider="stripe") type: string client_secret: description: Client secret (include if service_provider="stripe") type: string publishable_key: description: Publishable key (include if service_provider="stripe") type: string purpose: type: string enum: - cash - invest investment_instructions: description: >- mandatory only if purpose:"invest" and pot does not have a portfolio template attached (e.g. An execution-only or direct-to-consumer wealth manager) type: array items: required: - investment_product_id properties: investment_product_id: type: string quantity: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 332.34, 1050.0025). For `funds`, upto 4 decimal places. For `equities`, `bonds` and `etf`, 0 decimal places allowed. type: string value: description: >- Require if `quantity` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string example: transaction_id: 5badc696-5591-485f-9d7f-428b9b8460c2 amount: '100.00' currency: GBP status: pending_confirmation pot_id: pot-UKW3452850 payment_type: electronic_fund_transfer service_provider: truelayer sub_transaction_type: Lump sum source_id: cem-ASP43560 service_provider_params: bank_account_id: ba-bc00c28f-b3fc-42b7 hpp_url: https://paymentexample.truelayer-sandbox.com/payments#example purpose: invest investment_instructions: - investment_product_id: isa_1223931892 quantity: '300' - investment_product_id: isa_9913091898 quantity: '500' Pot: title: Single required: - pot_id - pot_name - investor_id - financial_product_id - pot_currency - status - reference_version - created_at - updated_at properties: pot_id: description: system generated id type: string example: pot-GYQ5423100 readOnly: true maxLength: 64 investor_id: type: array items: type: string example: inv-XUT11265 pot_name: type: string minLength: 1 maxLength: 50 example: Retirement Pot financial_product_id: type: string example: general_investment_product portfolio_template_id: type: string example: pft-c60c9472-6668-4f7a-aa69 pot_currency: description: >- If not populated, will be defaulted to tenancy currency.
Currency should be enabled for Financial Product. Tenancy currency is allowed by default, additional currencies enabled for a product can be identified using the “Get all financial products” end point. type: string enum: - GBP - CAD - USD status: type: string enum: - active - inactive reference_version: type: integer readOnly: true example: 1 account_id: type: string example: SSISA0000000001 created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' Pots: required: - pot_name - status properties: pot_name: type: string minLength: 1 maxLength: 50 portfolio_template_id: type: string pot_currency: description: >- If not populated, will be defaulted to tenancy currency.
Currency should be enabled for Financial Product. Tenancy currency is allowed by default, additional currencies enabled for a product can be identified using the “Get all financial products” end point type: string enum: - GBP - CAD - USD status: type: string enum: - active - inactive CreatePotsRequest: title: Multiple type: object required: - request_id - investor_id - financial_product_id - pots properties: request_id: description: 'Unique request id to ensure idempotency. (ex: UUID)' type: string format: uuid investor_id: type: array items: type: string example: inv-XUT11265 financial_product_id: type: string example: sipp_accumulation pots: description: Maximum of five pots type: array items: required: - pot_name - status properties: pot_name: type: string minLength: 1 maxLength: 50 portfolio_template_id: type: string pot_currency: description: >- If not populated, will be defaulted to tenancy currency.
Currency should be enabled for Financial Product. Tenancy currency is allowed by default, additional currencies enabled for a product can be identified using the “Get all financial products” end point type: string enum: - GBP - CAD - USD status: type: string enum: - active - inactive example: - pot_name: Retirement Pot 1 portfolio_template_id: pft-c60c9472-6668-4f7a-aa69 pot_currency: GBP status: active - pot_name: Retirement Pot 2 portfolio_template_id: pft-c60c9472-6668-4f7a-aa69 pot_currency: CHF status: active PotsResponse: required: - pot_id - pot_name - status - pot_currency - reference_version - success - created_at - updated_at properties: pot_id: description: system generated id type: string readOnly: true maxLength: 64 pot_name: type: string portfolio_template_id: type: string account_id: type: string example: SSISA0000000001 pot_currency: description: >- If not populated, will be defaulted to tenancy currency.
Currency should be enabled for Financial Product. Tenancy currency is allowed by default, additional currencies enabled for a product can be identified using the “Get all financial products” end point type: string enum: - GBP - CAD - USD status: type: string enum: - active - inactive reference_version: type: integer readOnly: true example: 1 success: type: boolean message: description: Reason for failure if success = false type: string created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' CreatePotsReponse: title: Multiple type: object required: - status - investor_id - financial_product_id - results properties: status: description: >- status of the multi pot creation request . `success`: All pots created successfully . `partially_successful`: Some (but not all) pots were created successfully type: string example: partially_successful enum: - success - partially_successful investor_id: type: array items: type: string example: inv-XUT11265 financial_product_id: type: string example: sipp_accumulation results: description: >- Array of successes and failures. Failures will include a reason for the error type: array items: items: required: - pot_id - pot_name - status - pot_currency - reference_version - success - created_at - updated_at properties: pot_id: description: system generated id type: string readOnly: true maxLength: 64 pot_name: type: string portfolio_template_id: type: string account_id: type: string example: SSISA0000000001 pot_currency: description: >- If not populated, will be defaulted to tenancy currency.
Currency should be enabled for Financial Product. Tenancy currency is allowed by default, additional currencies enabled for a product can be identified using the “Get all financial products” end point type: string enum: - GBP - CAD - USD status: type: string enum: - active - inactive reference_version: type: integer readOnly: true example: 1 success: type: boolean message: description: Reason for failure if success = false type: string created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' example: - pot_id: pot-GYQ5423100 pot_name: Retirement Pot 1 portfolio_template_id: pft-c60c9472-6668-4f7a-aa69 pot_currency: GBP account_id: SSISA0000000001 status: active reference_version: 1 created_at: '2020-07-08T07:36:05.884Z' updated_at: '2020-07-08T07:36:05.884Z' success: true - success: false message: Value [CHF] for [pot_currency] is not valid RebalanceRequest: title: Request body for the rebalance request description: Definition of a rebalance request body required: - request_id - type - values type: object properties: request_id: description: 'Unique request id to ensure idempotency. (eg: UUID)' type: string format: uuid type: description: >- Rebalance request triggering type. This describe the types of elements included in the values field type: string example: pot enum: - pot - investor - portfolio values: description: >- List of unique Ids from the mentioned type to trigger the rebalance process type: array items: type: string example: - pot-UKW3452850 - pot-SDQ5239730 RebalanceEvaluationRequestResponse: title: This is the return object for rebalance evaluation request description: Contains rebalance request id and status required: - rebalance_request_id - status - created_at type: object properties: rebalance_request_id: description: Unique identifier of the rebalance instruction type: string example: re-d3b39bc2-0ff5-40c0-9575-f5139b959c1b status: description: Status of the rebalance evaluation process type: string enum: - processing example: processing created_at: description: Date and time of evaluation request created type: string format: date-time PotDetailsForRebalanceEvaluation: title: each pot detail of the Rebalance Evaluation request description: Each individual pot details on the rebalance evaluation request type: object required: - pot_id - rebalance_eligibility_status - investor_id properties: pot_id: description: Identifier of pot triggered for rebalance type: string example: pot-GYA4736947 rebalance_eligibility_status: description: Status of whether a pot is capable of rebalance or not type: string example: eligible enum: - eligible - ineligible - no_portfolio_attached - negative_holdings - no_holdings investor_id: description: Unique ID of the Investors attached to the pot type: array items: type: string example: inv-QXR38578 portfolio_template_id: description: portfolio_template_id in used by the relevent pot type: string example: pft-5472de57-d291-4914-930e-0bbf5cb0cc47 portfolio_deviation: description: Portfolio deviation for the pot type: string example: '50' RebalanceEvaluationStatusResponse: title: this is the return object with evaluation per pot description: contains array for pot details required: - rebalanceEvaluation - next_page_available properties: rebalanceEvaluation: type: object required: - rebalance_request_id - status - created_at - updated_at properties: rebalance_request_id: description: Unique identifier of the rebalance instruction type: string example: fh584838fff status: description: Status of the rebalance evaluation process type: string enum: - processing - in_progress - completed - failed example: completed pot_details: description: Details of the each pot related to the rebalance instruction type: array items: title: each pot detail of the Rebalance Evaluation request description: >- Each individual pot details on the rebalance evaluation request type: object required: - pot_id - rebalance_eligibility_status - investor_id properties: pot_id: description: Identifier of pot triggered for rebalance type: string example: pot-GYA4736947 rebalance_eligibility_status: description: Status of whether a pot is capable of rebalance or not type: string example: eligible enum: - eligible - ineligible - no_portfolio_attached - negative_holdings - no_holdings investor_id: description: Unique ID of the Investors attached to the pot type: array items: type: string example: inv-QXR38578 portfolio_template_id: description: portfolio_template_id in used by the relevent pot type: string example: pft-5472de57-d291-4914-930e-0bbf5cb0cc47 portfolio_deviation: description: Portfolio deviation for the pot type: string example: '50' reason: description: Reason for failure type: string warning: description: >- List of instance IDs experiencing errors resulting in failed evaluation type: string example: >- The following ids were not found [pot-PXO9735796, pot-LPO9735006] created_at: description: Date and time of evaluation request created type: string format: date-time updated_at: description: Date and time of evaluation request updated type: string format: date-time next_page_available: description: This indicates the availability of the next page type: boolean readOnly: true RebalanceExecutionResponse: title: This is the response object for rebalance request description: Containes the response for the rebalance request required: - rebalance_request_id - created_at - status type: object properties: rebalance_request_id: description: Unique identifier of the rebalance instruction type: string example: fh584838fff status: description: Status of the rebalance execution process type: string enum: - processing example: processing created_at: description: Date and time of execution request created type: string format: date-time SwitchInstruction: title: each buy or sell instruction of the Switch request description: Each individual buy side and sell side instruction of the Switch request required: - investment_product_id - mode - value type: object properties: investment_product_id: description: >- Identifier of the investment product sold or bought. If the instruction is to use a cash holding (relevant only for sell instruction) this must be `cash` type: string mode: description: >- Mode of the instruction. If investment_product_id is `cash` mode can only be set to `value` or `percentage` type: string enum: - percentage - unit - value value: description: >- value according to the mode. e.g. mode `percentage` and value `10` implies 10% type: string SwitchRequestStatus: required: - investment_product_id - status - side - transaction_id - created_at properties: investment_product_id: description: Identifier of investment product that is bought or sold. type: string status: type: string enum: - instructed - priced - settled - rejected side: description: Side of the transaction type: string enum: - buy - sell transaction_id: description: Unique identifier of the transaction type: string quantity: description: quantity (in units) type: string price: description: Executed price of the transaction type: string value: description: Monetary value of the transaction type: string created_at: description: Date and time of transaction creation type: string format: date-time updated_at: description: Date and time of transaction update type: string format: date-time example: investment_product_id: F0654GBP1 status: instructed side: sell transaction_id: 066e9ac1-30fe-434a-856a-91deea3ea7b1 value: '1000' created_at: '2023-01-30T08:21:24.260Z' updated_at: '2023-01-30T08:21:24.260Z' PotDetailsForGet: title: each pot instruction of the Rebalance request description: Each individual pot details on the rebalance request required: - pot_id - status - portfolio_template_id - portfolio_deviation - investor_id type: object properties: pot_id: description: Identifier of pot triggered for rebalance type: string example: pot-UKW3452850 status: description: Current status of the rebalance on the specific pot_id type: string example: in_progress enum: - failed - processing - initiated - sell_in_progress - buy_in_progress - completed portfolio_template_id: description: portfolio_template_id in used by the relevent pot type: string example: pft-5472de57-d291-4914-930e-0bbf5cb0cc47 investor_id: type: array items: type: string example: inv-XUT11265 portfolio_deviation: description: Portfolio deviation for the pot type: string example: '50' reason: description: if the status is rejected then the reason for it. type: string instruction_id: description: switch instruction ID type: string example: d4c55e5e-c827-47ed-8811-b312f0cef2d2 sell_instructions: type: array items: title: each buy or sell instruction of the Switch request description: >- Each individual buy side and sell side instruction of the Switch request example: investment_product_id: F0654GBP1 mode: value value: '1000' required: - investment_product_id - mode - value type: object properties: investment_product_id: description: >- Identifier of the investment product sold or bought. If the instruction is to use a cash holding (relevant only for sell instruction) this must be `cash` type: string mode: description: >- Mode of the instruction. If investment_product_id is `cash` mode can only be set to `value` or `percentage` type: string enum: - percentage - unit - value value: description: >- value according to the mode. e.g. mode `percentage` and value `10` implies 10% type: string buy_instructions: type: array items: title: each buy or sell instruction of the Switch request description: >- Each individual buy side and sell side instruction of the Switch request example: investment_product_id: F1573GBP2 mode: percentage value: '100' required: - investment_product_id - mode - value type: object properties: investment_product_id: description: >- Identifier of the investment product sold or bought. If the instruction is to use a cash holding (relevant only for sell instruction) this must be `cash` type: string mode: description: >- Mode of the instruction. If investment_product_id is `cash` mode can only be set to `value` or `percentage` type: string enum: - percentage - unit - value value: description: >- value according to the mode. e.g. mode `percentage` and value `10` implies 10% type: string transactions: description: Array with status of all buy and sell transactions. type: array items: required: - investment_product_id - status - side - transaction_id - created_at properties: investment_product_id: description: Identifier of investment product that is bought or sold. type: string status: type: string enum: - instructed - priced - settled - rejected side: description: Side of the transaction type: string enum: - buy - sell transaction_id: description: Unique identifier of the transaction type: string quantity: description: quantity (in units) type: string price: description: Executed price of the transaction type: string value: description: Monetary value of the transaction type: string created_at: description: Date and time of transaction creation type: string format: date-time updated_at: description: Date and time of transaction update type: string format: date-time example: investment_product_id: F0654GBP1 status: instructed side: sell transaction_id: 066e9ac1-30fe-434a-856a-91deea3ea7b1 value: '1000' created_at: '2023-01-30T08:21:24.260Z' updated_at: '2023-01-30T08:21:24.260Z' GetRebalanceResponse: required: - rebalanceExecution - next_page_available properties: rebalanceExecution: type: object required: - rebalance_request_id - status - pot_details - created_at - updated_at properties: rebalance_request_id: description: Unique identifier of the rebalance instruction type: string example: fh584838fff status: description: Status of the rebalance instruction type: string enum: - processing - in_progress - completed - failed example: completed pot_details: description: Details of the each pot related to the rebalance instruction type: array items: title: each pot instruction of the Rebalance request description: Each individual pot details on the rebalance request required: - pot_id - status - portfolio_template_id - portfolio_deviation - investor_id type: object properties: pot_id: description: Identifier of pot triggered for rebalance type: string example: pot-UKW3452850 status: description: Current status of the rebalance on the specific pot_id type: string example: in_progress enum: - failed - processing - initiated - sell_in_progress - buy_in_progress - completed portfolio_template_id: description: portfolio_template_id in used by the relevent pot type: string example: pft-5472de57-d291-4914-930e-0bbf5cb0cc47 investor_id: type: array items: type: string example: inv-XUT11265 portfolio_deviation: description: Portfolio deviation for the pot type: string example: '50' reason: description: if the status is rejected then the reason for it. type: string instruction_id: description: switch instruction ID type: string example: d4c55e5e-c827-47ed-8811-b312f0cef2d2 sell_instructions: type: array items: title: each buy or sell instruction of the Switch request description: >- Each individual buy side and sell side instruction of the Switch request example: investment_product_id: F0654GBP1 mode: value value: '1000' required: - investment_product_id - mode - value type: object properties: investment_product_id: description: >- Identifier of the investment product sold or bought. If the instruction is to use a cash holding (relevant only for sell instruction) this must be `cash` type: string mode: description: >- Mode of the instruction. If investment_product_id is `cash` mode can only be set to `value` or `percentage` type: string enum: - percentage - unit - value value: description: >- value according to the mode. e.g. mode `percentage` and value `10` implies 10% type: string buy_instructions: type: array items: title: each buy or sell instruction of the Switch request description: >- Each individual buy side and sell side instruction of the Switch request example: investment_product_id: F1573GBP2 mode: percentage value: '100' required: - investment_product_id - mode - value type: object properties: investment_product_id: description: >- Identifier of the investment product sold or bought. If the instruction is to use a cash holding (relevant only for sell instruction) this must be `cash` type: string mode: description: >- Mode of the instruction. If investment_product_id is `cash` mode can only be set to `value` or `percentage` type: string enum: - percentage - unit - value value: description: >- value according to the mode. e.g. mode `percentage` and value `10` implies 10% type: string transactions: description: Array with status of all buy and sell transactions. type: array items: required: - investment_product_id - status - side - transaction_id - created_at properties: investment_product_id: description: >- Identifier of investment product that is bought or sold. type: string status: type: string enum: - instructed - priced - settled - rejected side: description: Side of the transaction type: string enum: - buy - sell transaction_id: description: Unique identifier of the transaction type: string quantity: description: quantity (in units) type: string price: description: Executed price of the transaction type: string value: description: Monetary value of the transaction type: string created_at: description: Date and time of transaction creation type: string format: date-time updated_at: description: Date and time of transaction update type: string format: date-time example: investment_product_id: F0654GBP1 status: instructed side: sell transaction_id: 066e9ac1-30fe-434a-856a-91deea3ea7b1 value: '1000' created_at: '2023-01-30T08:21:24.260Z' updated_at: '2023-01-30T08:21:24.260Z' reason: description: Reason for failure type: string warning: description: >- List of instance IDs experiencing errors resulting in failed rebalance type: string example: >- The following ids were not found [pot-PXO9735796, pot-LPO9735006] created_at: description: Date and time of Rebalance request created type: string format: date-time updated_at: description: Date and time of Rebalance request updated type: string format: date-time next_page_available: description: This indicates the availability of the next page type: boolean readOnly: true ValueSumForSameCurrencyPots: required: - pot_currency - total_value - total_free_value - total_locked_value - total_cash_value - total_free_cash_value - total_locked_cash_value - total_settled_cash_position properties: pot_currency: description: Currency of the pots type: string example: GBP total_value: description: Total value of the group of pots type: string example: '400' total_free_value: description: Total free value of the group of pots type: string example: '250' total_locked_value: description: Total locked value of the group of pots type: string example: '150' total_cash_value: description: Total cash value of the group of pots type: string example: '300' total_free_cash_value: description: Total free cash value of the group of pots type: string example: '200' total_locked_cash_value: description: Total locked cash value of the group of pots type: string example: '100' total_settled_cash_position: description: Total settled cash value of the group of pots type: string example: '504.79' pots: description: Pot ids of the pots belonging to the group type: array items: required: - pot_id properties: pot_id: type: string example: pot-UKW3452850 PotsOfInvestor: required: - total_values properties: total_values: type: array items: required: - pot_currency - total_value - total_free_value - total_locked_value - total_cash_value - total_free_cash_value - total_locked_cash_value - total_settled_cash_position properties: pot_currency: description: Currency of the pots type: string example: GBP total_value: description: Total value of the group of pots type: string example: '400' total_free_value: description: Total free value of the group of pots type: string example: '250' total_locked_value: description: Total locked value of the group of pots type: string example: '150' total_cash_value: description: Total cash value of the group of pots type: string example: '300' total_free_cash_value: description: Total free cash value of the group of pots type: string example: '200' total_locked_cash_value: description: Total locked cash value of the group of pots type: string example: '100' total_settled_cash_position: description: Total settled cash value of the group of pots type: string example: '504.79' pots: description: Pot ids of the pots belonging to the group type: array items: required: - pot_id properties: pot_id: type: string example: pot-UKW3452850 PotHolding: required: - investment_product_id - currency - total_value - free_value - locked_value properties: investment_product_id: description: >- Investment product id of the holding. Will be 'cash' for cash holdings type: string readOnly: true example: F0573GBP1 investment_product_name: description: >- Investment product name of the holding. Will be empty for cash holdings type: string readOnly: true example: VG 500 price: description: >- Last price available for the investment product. Will be empty for the cash holding type: string readOnly: true example: '257.7856' price_date: description: >- Last price updated date for the investment product. Will be empty for the cash holding type: string format: date readOnly: true example: '2022-12-29' currency: description: Currency of the pot type: string readOnly: true example: GBP total_quantity: description: >- Total quantity of the investment product holding. Will be empty for the cash holding type: string readOnly: true example: '300' total_value: description: Total value of the holding type: string readOnly: true example: '534.87' free_quantity: description: >- Free quantity of the investment product holding. Will be empty for the cash holding type: string readOnly: true example: '30' free_value: description: Free value of the holding type: string readOnly: true example: '34' locked_quantity: description: >- Locked quantity of the investment product holding. Will be empty for the cash holding type: string readOnly: true example: '270' locked_value: description: Locked value of the holding type: string readOnly: true example: '500.87' average_book_cost: description: >- Per-unit book cost for a particular holding (applicable for investment product holdings only) type: string readOnly: true example: '34.89' cost_of_holding: description: >- Total book cost for the total units currently held within the pot (applicable for investment product holdings only) type: string readOnly: true example: '876.98' settled_cash_position: description: >- Settled cash amount within the pot (applicable for cash holdings only) type: string readOnly: true example: '56.90' additional_external_details: description: >- Additional external details of the holding. This may be populated in reconciliation process type: object readOnly: true PotHoldings: required: - pot_id - holdings properties: pot_id: type: string example: pot-GYQ5423100 readOnly: true holdings: description: Array of holdings belonging to a respective pot type: array readOnly: true items: required: - investment_product_id - currency - total_value - free_value - locked_value properties: investment_product_id: description: >- Investment product id of the holding. Will be 'cash' for cash holdings type: string readOnly: true example: F0573GBP1 investment_product_name: description: >- Investment product name of the holding. Will be empty for cash holdings type: string readOnly: true example: VG 500 price: description: >- Last price available for the investment product. Will be empty for the cash holding type: string readOnly: true example: '257.7856' price_date: description: >- Last price updated date for the investment product. Will be empty for the cash holding type: string format: date readOnly: true example: '2022-12-29' currency: description: Currency of the pot type: string readOnly: true example: GBP total_quantity: description: >- Total quantity of the investment product holding. Will be empty for the cash holding type: string readOnly: true example: '300' total_value: description: Total value of the holding type: string readOnly: true example: '534.87' free_quantity: description: >- Free quantity of the investment product holding. Will be empty for the cash holding type: string readOnly: true example: '30' free_value: description: Free value of the holding type: string readOnly: true example: '34' locked_quantity: description: >- Locked quantity of the investment product holding. Will be empty for the cash holding type: string readOnly: true example: '270' locked_value: description: Locked value of the holding type: string readOnly: true example: '500.87' average_book_cost: description: >- Per-unit book cost for a particular holding (applicable for investment product holdings only) type: string readOnly: true example: '34.89' cost_of_holding: description: >- Total book cost for the total units currently held within the pot (applicable for investment product holdings only) type: string readOnly: true example: '876.98' settled_cash_position: description: >- Settled cash amount within the pot (applicable for cash holdings only) type: string readOnly: true example: '56.90' additional_external_details: description: >- Additional external details of the holding. This may be populated in reconciliation process type: object readOnly: true UpdatePot: title: Update Request Body for pot description: JSON for the Update pot resource type required: - reference_version properties: pot_name: type: string minLength: 1 maxLength: 50 example: Retirement Pot portfolio_template_id: type: string nullable: true example: pft-c60c9472-6668-4f7a-aa69 status: type: string enum: - active - inactive reference_version: type: integer example: 1 ValueSumForSameCurrencyPot: required: - pot_id - pot_currency - total_value - total_free_value - total_locked_value - total_cash_value - total_free_cash_value - total_locked_cash_value - settled_cash_position properties: pot_id: description: Unique id of the pot type: string example: pot-UKW3452850 pot_currency: description: Currency of the pot type: string example: GBP total_value: description: Total value of holdings of the pot type: string example: '600' total_free_value: description: Total free value of holdings of the pot type: string example: '300' total_locked_value: description: Total locked value of holdings of the pot type: string example: '300' total_cash_value: description: Total cash value of holdings of the pot type: string example: '250' total_free_cash_value: description: Total free cash value of holdings of the pot type: string example: '50' total_locked_cash_value: description: Total locked cash value of holdings of the pot type: string example: '200' settled_cash_position: description: Total settled cash value of holdings of the pot type: string example: '334.87' PotTransaction: required: - transaction_id - created_at - updated_at - primary_transaction_type - sub_transaction_type - investment_product_id - currency - direction - type - sub_type - origin properties: parent_transaction_id: description: Unique identifier for the parent transaction type: string readOnly: true transaction_id: description: Unique identifier for the transaction type: string readOnly: true aggregated_transaction_id: description: >- Unique identifier for the aggregated transaction. Only applicable for Switch Buy, Switch Sell, Rebalance Buy, Rebalance Sell, Tax Relief and Bonus Claim transactions type: string readOnly: true external_transaction_reference: description: External Transaction Reference type: string readOnly: true created_at: description: Indicates the transaction creation date/time format: date-time readOnly: true updated_at: description: Indicates the last updated date/time of the transaction format: date-time readOnly: true primary_transaction_type: description: Primary transaction type type: string readOnly: true enum: - Fees - Buy - Sell - Transfers - Income - Tax - Contribution - Withdrawal - Corporate actions sub_transaction_type: description: Sub transaction type type: string readOnly: true enum: - Dividend Reinvestment - Interest Reinvestment - Reinvestment - Buy - Sell Cancel - Switch Buy - Sell - Buy Cancel - Switch Sell - Lump sum - Lump sum - non relievable - Employer contribution - Employee contribution - Regular contribution - Regular contribution - non relievable - Regular contribution - Employer - Payment in for fees - Internal Transfer - Cash In - Internal Transfer - Stock In - Internal Transfer - Cash Out - Internal Transfer - Stock Out - Stock Transfer In - Cash Transfer In - Stock Transfer Out - Cash Transfer Out - Commission - Ancillary fee - Management fee - Fee credit - Fee rebate - Advisor ongoing fee - One-off advisor fee - Commission rebate - Custody fees - Service fees - Product administration fees - Portfolio management fees - Platform fees - Dividends - Distributions - Interest - Other income - Takeovers, Mergers & Name Changes - Create - Takeovers, Mergers & Name Changes - Extinguish - Rights Expiry - Rights Exercise - Warrant Exercise - Fixed Income Maturity - Receive Capital - Fixed Income Maturity - Extinguish Bond Units - Fund Merger - Create New Fund Units - Fund Merger - Extinguish Old Fund Units - Rights Issue - Stock Dividend - Spin-Off - Warrant Issue - Stock Split - Fee Tax - Tax Relief - GST - HST - PST - QST - Withholding Tax - PAYE Tax - Non-resident Tax - Penalty - Contribution Refund - Income Withdrawal - Reversal - Withdrawal - Miscellaneous Corporate Action Exercise - PCLS Withdrawal - Withdrawal Charge - Contribution Bonus investment_product_id: description: >- Investment product id of the transaction. Will be 'cash' for cash transaction type: string readOnly: true fee_origin_pot: description: (optional) Fee originated pot for the fee transactions type: string readOnly: true client_order_id: description: (optional) Order identifier assigned by the wealth manager type: string maxLength: 20 transaction_quantity: description: >- Quantity of the investment product transaction. Will be empty for the cash transactions. type: string readOnly: true transaction_value: description: Value of the transaction. Up to 2 decimal values type: string readOnly: true execution_price: description: Executed price of the buy, sell transaction type: string readOnly: true trade_date: description: Date the transaction was effected type: string format: date readOnly: true settlement_date: description: >- Intended settlement date of the pending transaction or actual the settled day of the transaction type: string format: date readOnly: true currency: description: Currency of the transaction type: string readOnly: true direction: description: >- in = cash payment or pending buy transaction, out = cash out or pending sell transaction. type: string readOnly: true enum: - in - out type: description: State of the transaction type: string readOnly: true enum: - pending - archived sub_type: description: >- Sub state of the transaction. instructed, confirmed, priced sub_types applicable for pending state and rejected, cancelled, settled sub_types applicable for archived state type: string readOnly: true enum: - instructed - confirmed - priced - rejected - settled - cancelled - scheduled - failed external_status: description: Externel status of the transaction type: string readOnly: true enum: - Submitted to HMRC - Submission pending - HMRC submission failed - HMRC resubmission failed - HMRC update failed - Pending - Paid - Cancelled - Void - Due - Collected - Superseded additional_external_details: description: >- Additional external details of the transaction, This may be populated in reconciliation process type: object readOnly: true origin: description: Origin of the transaction type: string readOnly: true enum: - api - admin_ui - file_upload - system source_id: description: >- Required only for transactions created for payments intents - employer contributions for SIPP Accumulation Products type: string reason: description: >- This field populated only when status is failed or cancelled, with reason for cancellation or failure type: string withdrawal_charge_applicable: description: >- Mandatory for LISA financial products only. Flag to indicate if a withdrawal charge is applicable on the gross withdrawal amount type: boolean readOnly: true enum: - true - false withdrawal_charge: description: >- Applicable for LISA financial products only. Mandatory only if the withdrawal_charge_applicable = true. Value of the withdrawal charge applicable for the unauthorized withdrawal type: string example: transaction_id: 80784c92-8f9d-4150-b83c-dc6d217a8155 created_at: '2023-01-27T05:45:56.839Z' updated_at: '2023-01-27T05:45:56.839Z' primary_transaction_type: Contribution sub_transaction_type: Lump sum investment_product_id: cash transaction_value: '20000' settlement_date: '2023-01-27' currency: GBP direction: in type: archived sub_type: settled origin: api PotTransactions: required: - pot_id - transactions - next_page_available properties: pot_id: type: string readOnly: true example: pot-UKW3452850 transactions: type: array readOnly: true items: required: - transaction_id - created_at - updated_at - primary_transaction_type - sub_transaction_type - investment_product_id - currency - direction - type - sub_type - origin properties: parent_transaction_id: description: Unique identifier for the parent transaction type: string readOnly: true transaction_id: description: Unique identifier for the transaction type: string readOnly: true aggregated_transaction_id: description: >- Unique identifier for the aggregated transaction. Only applicable for Switch Buy, Switch Sell, Rebalance Buy, Rebalance Sell, Tax Relief and Bonus Claim transactions type: string readOnly: true external_transaction_reference: description: External Transaction Reference type: string readOnly: true created_at: description: Indicates the transaction creation date/time format: date-time readOnly: true updated_at: description: Indicates the last updated date/time of the transaction format: date-time readOnly: true primary_transaction_type: description: Primary transaction type type: string readOnly: true enum: - Fees - Buy - Sell - Transfers - Income - Tax - Contribution - Withdrawal - Corporate actions sub_transaction_type: description: Sub transaction type type: string readOnly: true enum: - Dividend Reinvestment - Interest Reinvestment - Reinvestment - Buy - Sell Cancel - Switch Buy - Sell - Buy Cancel - Switch Sell - Lump sum - Lump sum - non relievable - Employer contribution - Employee contribution - Regular contribution - Regular contribution - non relievable - Regular contribution - Employer - Payment in for fees - Internal Transfer - Cash In - Internal Transfer - Stock In - Internal Transfer - Cash Out - Internal Transfer - Stock Out - Stock Transfer In - Cash Transfer In - Stock Transfer Out - Cash Transfer Out - Commission - Ancillary fee - Management fee - Fee credit - Fee rebate - Advisor ongoing fee - One-off advisor fee - Commission rebate - Custody fees - Service fees - Product administration fees - Portfolio management fees - Platform fees - Dividends - Distributions - Interest - Other income - Takeovers, Mergers & Name Changes - Create - Takeovers, Mergers & Name Changes - Extinguish - Rights Expiry - Rights Exercise - Warrant Exercise - Fixed Income Maturity - Receive Capital - Fixed Income Maturity - Extinguish Bond Units - Fund Merger - Create New Fund Units - Fund Merger - Extinguish Old Fund Units - Rights Issue - Stock Dividend - Spin-Off - Warrant Issue - Stock Split - Fee Tax - Tax Relief - GST - HST - PST - QST - Withholding Tax - PAYE Tax - Non-resident Tax - Penalty - Contribution Refund - Income Withdrawal - Reversal - Withdrawal - Miscellaneous Corporate Action Exercise - PCLS Withdrawal - Withdrawal Charge - Contribution Bonus investment_product_id: description: >- Investment product id of the transaction. Will be 'cash' for cash transaction type: string readOnly: true fee_origin_pot: description: (optional) Fee originated pot for the fee transactions type: string readOnly: true client_order_id: description: (optional) Order identifier assigned by the wealth manager type: string maxLength: 20 transaction_quantity: description: >- Quantity of the investment product transaction. Will be empty for the cash transactions. type: string readOnly: true transaction_value: description: Value of the transaction. Up to 2 decimal values type: string readOnly: true execution_price: description: Executed price of the buy, sell transaction type: string readOnly: true trade_date: description: Date the transaction was effected type: string format: date readOnly: true settlement_date: description: >- Intended settlement date of the pending transaction or actual the settled day of the transaction type: string format: date readOnly: true currency: description: Currency of the transaction type: string readOnly: true direction: description: >- in = cash payment or pending buy transaction, out = cash out or pending sell transaction. type: string readOnly: true enum: - in - out type: description: State of the transaction type: string readOnly: true enum: - pending - archived sub_type: description: >- Sub state of the transaction. instructed, confirmed, priced sub_types applicable for pending state and rejected, cancelled, settled sub_types applicable for archived state type: string readOnly: true enum: - instructed - confirmed - priced - rejected - settled - cancelled - scheduled - failed external_status: description: Externel status of the transaction type: string readOnly: true enum: - Submitted to HMRC - Submission pending - HMRC submission failed - HMRC resubmission failed - HMRC update failed - Pending - Paid - Cancelled - Void - Due - Collected - Superseded additional_external_details: description: >- Additional external details of the transaction, This may be populated in reconciliation process type: object readOnly: true origin: description: Origin of the transaction type: string readOnly: true enum: - api - admin_ui - file_upload - system source_id: description: >- Required only for transactions created for payments intents - employer contributions for SIPP Accumulation Products type: string reason: description: >- This field populated only when status is failed or cancelled, with reason for cancellation or failure type: string withdrawal_charge_applicable: description: >- Mandatory for LISA financial products only. Flag to indicate if a withdrawal charge is applicable on the gross withdrawal amount type: boolean readOnly: true enum: - true - false withdrawal_charge: description: >- Applicable for LISA financial products only. Mandatory only if the withdrawal_charge_applicable = true. Value of the withdrawal charge applicable for the unauthorized withdrawal type: string example: transaction_id: 80784c92-8f9d-4150-b83c-dc6d217a8155 created_at: '2023-01-27T05:45:56.839Z' updated_at: '2023-01-27T05:45:56.839Z' primary_transaction_type: Contribution sub_transaction_type: Lump sum investment_product_id: cash transaction_value: '20000' settlement_date: '2023-01-27' currency: GBP direction: in type: archived sub_type: settled origin: api next_page_available: description: This indicates the availability of the next page type: boolean readOnly: true InvestmentProducts: required: - investment_products - next_page_available type: object properties: investment_products: type: array items: required: - investment_product_id - asset_type - status - created_at - updated_at properties: investment_product_id: description: Unique identifier of an investment product type: string readOnly: true example: MAX2854 asset_type: description: Category of the investment product type: string readOnly: true enum: - funds status: description: Status of the investment product type: string readOnly: true enum: - active - inactive name: description: Investment product name type: string readOnly: true example: Canada Life Canadian Growth T5 created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' next_page_available: description: This indicates the availability of the next page type: boolean readOnly: true InvestmentProductPrice: required: - investment_product_id - current_price - currency - price_on_date properties: investment_product_id: type: string readOnly: true example: FUND345 current_price: description: Numeral string with two decimal point precision type: string readOnly: true example: '45.78' currency: description: Currency of the current price type: string readOnly: true example: GBP price_on_date: type: string format: date readOnly: true example: '2019-08-24' InvestmentProductPrices: required: - investment_product_unit_prices - next_page_available type: object properties: investment_product_unit_prices: type: array items: required: - investment_product_id - current_price - currency - price_on_date properties: investment_product_id: type: string readOnly: true example: FUND345 current_price: description: Numeral string with two decimal point precision type: string readOnly: true example: '45.78' currency: description: Currency of the current price type: string readOnly: true example: GBP price_on_date: type: string format: date readOnly: true example: '2019-08-24' next_page_available: description: This indicates the availability of the next page type: boolean readOnly: true InvestmentProduct: required: - investment_product_id - id_type - asset_type - pricing_method - additional_provider_details - currency - applicable_financial_products - settlement_date_offset - status - close_price - close_price_on_date - created_at - updated_at properties: investment_product_id: description: Unique identifier of an investment product type: string readOnly: true example: MAX2854 id_type: description: The type of id that is populated as investment_product_id type: string readOnly: true enum: - ISIN - CUSIP - FundServID name: description: Investment product name type: string readOnly: true example: Canada Life Canadian Growth T5 asset_type: description: Category of the investment product type: string readOnly: true enum: - funds asset_sub_type: description: Sub-category of the investment product type: string readOnly: true example: Canadian Open End currency: description: currency of the investment product in ISO 4217 format type: string readOnly: true example: CAD pricing_method: description: Method used to calculate the investment product price type: string readOnly: true example: NAV fund_asset_type: description: >- Sub-type of investment product. Relevant for investment products of type fund only type: string readOnly: true example: Mutual Funds fund_code: description: Fund code identifier. Relevant for investment products of type fund type: string readOnly: true example: MAX2854 applicable_financial_products: description: Financial products this investment product is applicable for type: array readOnly: true items: type: string enum: - gia - isa - pension settlement_date_offset: description: settlement date offset of investment product type: number readOnly: true example: 3 status: description: Status of the investment product type: string readOnly: true enum: - active - inactive close_price: description: The final price for the day of the investment product type: string readOnly: true example: '12.745' close_price_on_date: description: Exact day the close_price was recorded for the investment product type: string format: date readOnly: true example: '2021-09-03' additional_provider_details: description: Supplies additional custom information of an investment product type: object readOnly: true created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' PortfolioRatio: required: - investment_product_id - ratio properties: investment_product_id: description: must be an investment product id or 'cash' type: string ratio: description: 'must be in correct pattern (eg: 25.00, 33.34, 50.25, 100.00)' type: string Portfolio: required: - portfolio_template_id - reference_version - portfolio_name - ratios - owner - created_at - updated_at properties: portfolio_template_id: description: system generated id type: string readOnly: true maxLength: 64 example: pft-c60c9472-6668-4f7a-aa69 portfolio_name: type: string minLength: 3 maxLength: 50 example: PFT5689 reference_version: type: integer readOnly: true example: 1 owner: type: string readOnly: true example: SYSTEM ratios: type: array items: required: - investment_product_id - ratio properties: investment_product_id: description: must be an investment product id or 'cash' type: string ratio: description: 'must be in correct pattern (eg: 25.00, 33.34, 50.25, 100.00)' type: string example: - investment_product_id: ETF069GBP ratio: '60' - investment_product_id: BND058GBP ratio: '40' created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' PortfolioRequest: required: - portfolio_template_id - reference_version - portfolio_name - ratios properties: portfolio_template_id: description: system generated id type: string readOnly: true maxLength: 64 example: pft-c60c9472-6668-4f7a-aa69 portfolio_name: type: string example: PFT5689 owner: type: string readOnly: true example: SYSTEM ratios: type: array items: required: - investment_product_id - ratio properties: investment_product_id: description: must be an investment product id or 'cash' type: string ratio: description: 'must be in correct pattern (eg: 25.00, 33.34, 50.25, 100.00)' type: string example: - investment_product_id: ETF069GBP ratio: '60' - investment_product_id: BND058GBP ratio: '40' UpdatePortfolio: required: - reference_version properties: portfolio_name: type: string minLength: 3 maxLength: 50 example: PFT5689 ratios: description: Replaces the array in the server. type: array items: required: - investment_product_id - ratio properties: investment_product_id: description: must be an investment product id or 'cash' type: string ratio: description: 'must be in correct pattern (eg: 25.00, 33.34, 50.25, 100.00)' type: string reference_version: description: Must match with the reference version in the server type: integer example: 1 TransactionsResponse: required: - transaction_id - created_at - updated_at - primary_transaction_type - sub_transaction_type - investment_product_id - direction - type - sub_type - origin properties: parent_transaction_id: description: Unique identifier for the parent transaction type: string readOnly: true transaction_id: description: Unique identifier for the transaction type: string readOnly: true aggregated_transaction_id: description: >- Unique identifier for the aggregated transaction. Only applicable for Switch Buy, Switch Sell, Rebalance Buy, Rebalance Sell, Tax Relief and Bonus Claim transactions type: string readOnly: true external_transaction_reference: description: External Transaction Reference type: string readOnly: true created_at: description: Indicates the transaction creation date/time type: string readOnly: true updated_at: description: Indicates the last updated date/time of the transaction type: string readOnly: true primary_transaction_type: description: Primary transaction type type: string readOnly: true enum: - Fees - Buy - Sell - Transfers - Income - Tax - Contribution - Withdrawal - Corporate actions sub_transaction_type: description: Sub transaction type type: string readOnly: true enum: - Dividend Reinvestment - Interest Reinvestment - Reinvestment - Buy - Sell Cancel - Switch Buy - Sell - Buy Cancel - Switch Sell - Lump sum - Lump sum - non relievable - Employer contribution - Employee contribution - Regular contribution - Regular contribution - non relievable - Regular contribution - Employer - Payment in for fees - Internal Transfer - Cash In - Internal Transfer - Stock In - Internal Transfer - Cash Out - Internal Transfer - Stock Out - Stock Transfer In - Cash Transfer In - Stock Transfer Out - Cash Transfer Out - Commission - Ancillary fee - Management fee - Fee credit - Fee rebate - Advisor ongoing fee - One-off advisor fee - Commission rebate - Custody fees - Service fees - Product administration fees - Portfolio management fees - Platform fees - Dividends - Distributions - Interest - Other income - Takeovers, Mergers & Name Changes - Create - Takeovers, Mergers & Name Changes - Extinguish - Rights Expiry - Rights Exercise - Warrant Exercise - Fixed Income Maturity - Receive Capital - Fixed Income Maturity - Extinguish Bond Units - Fund Merger - Create New Fund Units - Fund Merger - Extinguish Old Fund Units - Rights Issue - Stock Dividend - Spin-Off - Warrant Issue - Stock Split - Fee Tax - Tax Relief - GST - HST - PST - QST - Withholding Tax - PAYE Tax - Non-resident Tax - Penalty - Contribution Refund - Income Withdrawal - Reversal - Withdrawal - Miscellaneous Corporate Action Exercise - PCLS Withdrawal - Withdrawal Charge investment_product_id: description: >- Investment product id of the transaction. Will be 'cash' for cash transaction type: string readOnly: true fee_origin_pot: description: (optional) Fee originated pot for the fee transactions type: string readOnly: true client_order_id: description: (optional) Order identifier assigned by the wealth manager type: string maxLength: 20 transaction_quantity: description: >- Quantity of the investment product transaction. Will be empty for the cash transactions type: string readOnly: true transaction_value: description: Value of the transaction. Up to 2 decimal values type: number readOnly: true execution_price: description: Executed price of the buy, sell transaction type: string readOnly: true trade_date: description: Date the transaction was effected type: string readOnly: true settlement_date: description: >- Intended settlement date of the pending transaction or actual the settled day of the transaction type: string readOnly: true currency: description: Currency of the transaction type: string readOnly: true direction: description: >- in = cash payment or pending buy transaction, out = cash out or pending sell transaction. type: string readOnly: true enum: - in - out type: description: State of the transaction type: string readOnly: true enum: - pending - archived sub_type: description: >- Sub state of the transaction. instructed, confirmed, priced sub_types applicable for pending state and rejected, cancelled, settled sub_types applicable for archived state type: string readOnly: true enum: - instructed - confirmed - priced - rejected - settled - cancelled - scheduled - failed external_status: description: Externel status of the transaction type: string readOnly: true enum: - Submitted to HMRC - Submission pending - HMRC submission failed - HMRC resubmission failed - HMRC update failed - Pending - Paid - Cancelled - Void - Due - Collected - Superseded - Successful - Failed additional_external_details: description: >- Additional external details of the transaction, This may be populated in reconciliation process type: object readOnly: true origin: description: Origin of the transaction type: string readOnly: true enum: - api - admin_ui - file_upload - system source_id: description: >- Required only for transactions created for payments intents - employer contributions for SIPP Accumulation Products type: string reason: description: >- This field populated only when status is failed or cancelled, with reason for cancellation or failure type: string withdrawal_charge_applicable: description: >- Mandatory for LISA financial products only. Flag to indicate if a withdrawal charge is applicable on the gross withdrawal amount type: boolean readOnly: true enum: - true - false withdrawal_charge: description: >- Applicable for LISA financial products only. Mandatory only if the withdrawal_charge_applicable = true. Value of the withdrawal charge applicable for the unauthorized withdrawal type: string example: transaction_id: 80784c92-8f9d-4150-b83c-dc6d217a8155 created_at: '2023-01-27T05:45:56.839Z' updated_at: '2023-01-27T05:45:56.839Z' primary_transaction_type: Contribution sub_transaction_type: Lump sum investment_product_id: cash transaction_value: '20000' settlement_date: '2023-01-27' currency: GBP direction: in type: archived sub_type: settled origin: api GetAllTransactionResponse: required: - transactions - next_page_available properties: transactions: type: array readOnly: true items: required: - transaction_id - created_at - updated_at - primary_transaction_type - sub_transaction_type - investment_product_id - direction - type - sub_type - origin properties: parent_transaction_id: description: Unique identifier for the parent transaction type: string readOnly: true transaction_id: description: Unique identifier for the transaction type: string readOnly: true aggregated_transaction_id: description: >- Unique identifier for the aggregated transaction. Only applicable for Switch Buy, Switch Sell, Rebalance Buy, Rebalance Sell, Tax Relief and Bonus Claim transactions type: string readOnly: true external_transaction_reference: description: External Transaction Reference type: string readOnly: true created_at: description: Indicates the transaction creation date/time type: string readOnly: true updated_at: description: Indicates the last updated date/time of the transaction type: string readOnly: true primary_transaction_type: description: Primary transaction type type: string readOnly: true enum: - Fees - Buy - Sell - Transfers - Income - Tax - Contribution - Withdrawal - Corporate actions sub_transaction_type: description: Sub transaction type type: string readOnly: true enum: - Dividend Reinvestment - Interest Reinvestment - Reinvestment - Buy - Sell Cancel - Switch Buy - Sell - Buy Cancel - Switch Sell - Lump sum - Lump sum - non relievable - Employer contribution - Employee contribution - Regular contribution - Regular contribution - non relievable - Regular contribution - Employer - Payment in for fees - Internal Transfer - Cash In - Internal Transfer - Stock In - Internal Transfer - Cash Out - Internal Transfer - Stock Out - Stock Transfer In - Cash Transfer In - Stock Transfer Out - Cash Transfer Out - Commission - Ancillary fee - Management fee - Fee credit - Fee rebate - Advisor ongoing fee - One-off advisor fee - Commission rebate - Custody fees - Service fees - Product administration fees - Portfolio management fees - Platform fees - Dividends - Distributions - Interest - Other income - Takeovers, Mergers & Name Changes - Create - Takeovers, Mergers & Name Changes - Extinguish - Rights Expiry - Rights Exercise - Warrant Exercise - Fixed Income Maturity - Receive Capital - Fixed Income Maturity - Extinguish Bond Units - Fund Merger - Create New Fund Units - Fund Merger - Extinguish Old Fund Units - Rights Issue - Stock Dividend - Spin-Off - Warrant Issue - Stock Split - Fee Tax - Tax Relief - GST - HST - PST - QST - Withholding Tax - PAYE Tax - Non-resident Tax - Penalty - Contribution Refund - Income Withdrawal - Reversal - Withdrawal - Miscellaneous Corporate Action Exercise - PCLS Withdrawal - Withdrawal Charge investment_product_id: description: >- Investment product id of the transaction. Will be 'cash' for cash transaction type: string readOnly: true fee_origin_pot: description: (optional) Fee originated pot for the fee transactions type: string readOnly: true client_order_id: description: (optional) Order identifier assigned by the wealth manager type: string maxLength: 20 transaction_quantity: description: >- Quantity of the investment product transaction. Will be empty for the cash transactions type: string readOnly: true transaction_value: description: Value of the transaction. Up to 2 decimal values type: number readOnly: true execution_price: description: Executed price of the buy, sell transaction type: string readOnly: true trade_date: description: Date the transaction was effected type: string readOnly: true settlement_date: description: >- Intended settlement date of the pending transaction or actual the settled day of the transaction type: string readOnly: true currency: description: Currency of the transaction type: string readOnly: true direction: description: >- in = cash payment or pending buy transaction, out = cash out or pending sell transaction. type: string readOnly: true enum: - in - out type: description: State of the transaction type: string readOnly: true enum: - pending - archived sub_type: description: >- Sub state of the transaction. instructed, confirmed, priced sub_types applicable for pending state and rejected, cancelled, settled sub_types applicable for archived state type: string readOnly: true enum: - instructed - confirmed - priced - rejected - settled - cancelled - scheduled - failed external_status: description: Externel status of the transaction type: string readOnly: true enum: - Submitted to HMRC - Submission pending - HMRC submission failed - HMRC resubmission failed - HMRC update failed - Pending - Paid - Cancelled - Void - Due - Collected - Superseded - Successful - Failed additional_external_details: description: >- Additional external details of the transaction, This may be populated in reconciliation process type: object readOnly: true origin: description: Origin of the transaction type: string readOnly: true enum: - api - admin_ui - file_upload - system source_id: description: >- Required only for transactions created for payments intents - employer contributions for SIPP Accumulation Products type: string reason: description: >- This field populated only when status is failed or cancelled, with reason for cancellation or failure type: string withdrawal_charge_applicable: description: >- Mandatory for LISA financial products only. Flag to indicate if a withdrawal charge is applicable on the gross withdrawal amount type: boolean readOnly: true enum: - true - false withdrawal_charge: description: >- Applicable for LISA financial products only. Mandatory only if the withdrawal_charge_applicable = true. Value of the withdrawal charge applicable for the unauthorized withdrawal type: string example: transaction_id: 80784c92-8f9d-4150-b83c-dc6d217a8155 created_at: '2023-01-27T05:45:56.839Z' updated_at: '2023-01-27T05:45:56.839Z' primary_transaction_type: Contribution sub_transaction_type: Lump sum investment_product_id: cash transaction_value: '20000' settlement_date: '2023-01-27' currency: GBP direction: in type: archived sub_type: settled origin: api next_page_available: description: This indicates the availability of the next page type: boolean readOnly: true TransactionRequest: type: object required: - request_id - pot_id properties: request_id: description: 'Unique request id to ensure idempotency. (ex: UUID)' type: string format: uuid pot_id: type: string example: pot-UKW3452850 TransactionInstruction: title: Instruction(buy|sell) description: Definition of an single instruction(buy|sell) required: - investment_product_id type: object properties: investment_product_id: type: string quantity: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 332.34, 1050.0025). For `funds`, upto 4 decimal places. For `equities`, `bonds` and `etf`, 0 decimal places allowed. type: string value: description: >- Require if `quantity` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string client_order_id: description: (Optional) Order identifier assigned by the wealth manager type: string maxLength: 20 BuyTransactionRequest: title: Buy Transaction Request description: Definition of an buy transaction request allOf: - type: object required: - request_id - pot_id properties: request_id: description: 'Unique request id to ensure idempotency. (ex: UUID)' type: string format: uuid pot_id: type: string example: pot-UKW3452850 - type: object required: - investment_instructions properties: investment_instructions: type: array items: title: Instruction(buy|sell) description: Definition of an single instruction(buy|sell) required: - investment_product_id type: object properties: investment_product_id: type: string quantity: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 332.34, 1050.0025). For `funds`, upto 4 decimal places. For `equities`, `bonds` and `etf`, 0 decimal places allowed. type: string value: description: >- Require if `quantity` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string client_order_id: description: (Optional) Order identifier assigned by the wealth manager type: string maxLength: 20 example: - investment_product_id: EPCCTST7 quantity: '10' client_order_id: cl-02456s42sd3 - investment_product_id: EPCCTST9 quantity: '-10' TransactionResponse: type: object required: - status - pot_id properties: status: description: >- status of the transaction request . `success`: All requested transactions success . `partially_success`: Some (but not all) requested transactions success type: string enum: - success - partially_success example: partially_success pot_id: type: string readOnly: true example: pot-UKW3452850 TransactionRequestStatus: type: object required: - transaction_id - created_at - updated_at - primary_transaction_type - sub_transaction_type - investment_product_id - currency - direction - type - sub_type - origin - success properties: success: type: boolean enum: - true - false message: description: Reason for failure if success = false type: string parent_transaction_id: description: parent_transaction_id type: string transaction_id: description: transaction_id of successful transaction type: string external_transaction_reference: description: External Transaction Reference type: string readOnly: true created_at: description: Will indicate the date where this record was created type: string format: date-time readOnly: true updated_at: description: Will indicate the date where this record was last changed type: string format: date-time readOnly: true primary_transaction_type: type: string sub_transaction_type: type: string investment_product_id: description: Investment product id of the transaction type: string readOnly: true client_order_id: description: (optional) Order identifier assigned by the wealth manager type: string maxLength: 20 transaction_quantity: description: >- (optional) quantity of the investment product, required for unit based orders type: string transaction_value: description: >- (optional) value of the investment product, required for value based orders type: string execution_price: type: string trade_date: description: Date the transaction was effected type: string format: date readOnly: true settlement_date: description: >- Intended settlement date of the pending transaction or actual the settled day of the transaction type: string format: date readOnly: true currency: description: Currency of the transaction type: string readOnly: true direction: type: string type: description: State of the transaction type: string readOnly: true enum: - pending - archived sub_type: description: >- Sub state of the transaction. instructed, confirmed, priced and scheduled sub_types are applicable for pending state and rejected, cancelled, settled sub_types applicable for archived state type: string readOnly: true enum: - instructed - confirmed - priced - rejected - settled - cancelled - scheduled additional_external_details: description: >- Additional external details of the transaction, This may be populated in reconciliation process type: object readOnly: true origin: description: Origin of the transaction type: string readOnly: true enum: - api BuyTransactionRequestStatus: allOf: - type: object required: - transaction_id - created_at - updated_at - primary_transaction_type - sub_transaction_type - investment_product_id - currency - direction - type - sub_type - origin - success properties: success: type: boolean enum: - true - false message: description: Reason for failure if success = false type: string parent_transaction_id: description: parent_transaction_id type: string transaction_id: description: transaction_id of successful transaction type: string external_transaction_reference: description: External Transaction Reference type: string readOnly: true created_at: description: Will indicate the date where this record was created type: string format: date-time readOnly: true updated_at: description: Will indicate the date where this record was last changed type: string format: date-time readOnly: true primary_transaction_type: type: string sub_transaction_type: type: string investment_product_id: description: Investment product id of the transaction type: string readOnly: true client_order_id: description: (optional) Order identifier assigned by the wealth manager type: string maxLength: 20 transaction_quantity: description: >- (optional) quantity of the investment product, required for unit based orders type: string transaction_value: description: >- (optional) value of the investment product, required for value based orders type: string execution_price: type: string trade_date: description: Date the transaction was effected type: string format: date readOnly: true settlement_date: description: >- Intended settlement date of the pending transaction or actual the settled day of the transaction type: string format: date readOnly: true currency: description: Currency of the transaction type: string readOnly: true direction: type: string type: description: State of the transaction type: string readOnly: true enum: - pending - archived sub_type: description: >- Sub state of the transaction. instructed, confirmed, priced and scheduled sub_types are applicable for pending state and rejected, cancelled, settled sub_types applicable for archived state type: string readOnly: true enum: - instructed - confirmed - priced - rejected - settled - cancelled - scheduled additional_external_details: description: >- Additional external details of the transaction, This may be populated in reconciliation process type: object readOnly: true origin: description: Origin of the transaction type: string readOnly: true enum: - api - type: object properties: primary_transaction_type: readOnly: true enum: - Buy type: string sub_transaction_type: description: Sub transaction type readOnly: true enum: - Buy type: string execution_price: description: Executed price of the buy transaction readOnly: true direction: description: pending buy transaction readOnly: true enum: - in type: string BuyTransactionResponse: allOf: - type: object required: - status - pot_id properties: status: description: >- status of the transaction request . `success`: All requested transactions success . `partially_success`: Some (but not all) requested transactions success type: string enum: - success - partially_success example: partially_success pot_id: type: string readOnly: true example: pot-UKW3452850 - type: object properties: results: description: >- Array of successes and failures. Failures will include a reason for the error type: array items: allOf: - type: object required: - transaction_id - created_at - updated_at - primary_transaction_type - sub_transaction_type - investment_product_id - currency - direction - type - sub_type - origin - success properties: success: type: boolean enum: - true - false message: description: Reason for failure if success = false type: string parent_transaction_id: description: parent_transaction_id type: string transaction_id: description: transaction_id of successful transaction type: string external_transaction_reference: description: External Transaction Reference type: string readOnly: true created_at: description: Will indicate the date where this record was created type: string format: date-time readOnly: true updated_at: description: >- Will indicate the date where this record was last changed type: string format: date-time readOnly: true primary_transaction_type: type: string sub_transaction_type: type: string investment_product_id: description: Investment product id of the transaction type: string readOnly: true client_order_id: description: >- (optional) Order identifier assigned by the wealth manager type: string maxLength: 20 transaction_quantity: description: >- (optional) quantity of the investment product, required for unit based orders type: string transaction_value: description: >- (optional) value of the investment product, required for value based orders type: string execution_price: type: string trade_date: description: Date the transaction was effected type: string format: date readOnly: true settlement_date: description: >- Intended settlement date of the pending transaction or actual the settled day of the transaction type: string format: date readOnly: true currency: description: Currency of the transaction type: string readOnly: true direction: type: string type: description: State of the transaction type: string readOnly: true enum: - pending - archived sub_type: description: >- Sub state of the transaction. instructed, confirmed, priced and scheduled sub_types are applicable for pending state and rejected, cancelled, settled sub_types applicable for archived state type: string readOnly: true enum: - instructed - confirmed - priced - rejected - settled - cancelled - scheduled additional_external_details: description: >- Additional external details of the transaction, This may be populated in reconciliation process type: object readOnly: true origin: description: Origin of the transaction type: string readOnly: true enum: - api - type: object properties: primary_transaction_type: readOnly: true enum: - Buy type: string sub_transaction_type: description: Sub transaction type readOnly: true enum: - Buy type: string execution_price: description: Executed price of the buy transaction readOnly: true direction: description: pending buy transaction readOnly: true enum: - in type: string example: - transaction_quantity: '10' success: true transaction_id: 738b9aaa-6320-4132-b7c7-1a57d607c15e investment_product_id: EPCCTST7 client_order_id: cl-02456s42sd3 primary_transaction_type: Buy sub_transaction_type: Buy type: pending sub_type: instructed currency: GBP direction: in created_at: '2023-01-27T11:33:32.285Z' updated_at: '2023-01-27T11:33:32.285Z' trade_date: '2023-01-27' origin: api - message: >- Transaction quantity is lower than the minimum allowed (EPCCTST9) success: false SellTransactionRequest: title: Sell Transaction Request description: Definition of an sell transaction request allOf: - type: object required: - request_id - pot_id properties: request_id: description: 'Unique request id to ensure idempotency. (ex: UUID)' type: string format: uuid pot_id: type: string example: pot-UKW3452850 - type: object properties: sell_instructions: type: array items: title: Instruction(buy|sell) description: Definition of an single instruction(buy|sell) required: - investment_product_id type: object properties: investment_product_id: type: string quantity: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 332.34, 1050.0025). For `funds`, upto 4 decimal places. For `equities`, `bonds` and `etf`, 0 decimal places allowed. type: string value: description: >- Require if `quantity` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string client_order_id: description: (Optional) Order identifier assigned by the wealth manager type: string maxLength: 20 example: - investment_product_id: EPCCTST7 quantity: '10' client_order_id: cl-02456s42sd3 - investment_product_id: EPCCTST9 quantity: '-10' SellTransactionRequestStatus: allOf: - type: object required: - transaction_id - created_at - updated_at - primary_transaction_type - sub_transaction_type - investment_product_id - currency - direction - type - sub_type - origin - success properties: success: type: boolean enum: - true - false message: description: Reason for failure if success = false type: string parent_transaction_id: description: parent_transaction_id type: string transaction_id: description: transaction_id of successful transaction type: string external_transaction_reference: description: External Transaction Reference type: string readOnly: true created_at: description: Will indicate the date where this record was created type: string format: date-time readOnly: true updated_at: description: Will indicate the date where this record was last changed type: string format: date-time readOnly: true primary_transaction_type: type: string sub_transaction_type: type: string investment_product_id: description: Investment product id of the transaction type: string readOnly: true client_order_id: description: (optional) Order identifier assigned by the wealth manager type: string maxLength: 20 transaction_quantity: description: >- (optional) quantity of the investment product, required for unit based orders type: string transaction_value: description: >- (optional) value of the investment product, required for value based orders type: string execution_price: type: string trade_date: description: Date the transaction was effected type: string format: date readOnly: true settlement_date: description: >- Intended settlement date of the pending transaction or actual the settled day of the transaction type: string format: date readOnly: true currency: description: Currency of the transaction type: string readOnly: true direction: type: string type: description: State of the transaction type: string readOnly: true enum: - pending - archived sub_type: description: >- Sub state of the transaction. instructed, confirmed, priced and scheduled sub_types are applicable for pending state and rejected, cancelled, settled sub_types applicable for archived state type: string readOnly: true enum: - instructed - confirmed - priced - rejected - settled - cancelled - scheduled additional_external_details: description: >- Additional external details of the transaction, This may be populated in reconciliation process type: object readOnly: true origin: description: Origin of the transaction type: string readOnly: true enum: - api - type: object properties: primary_transaction_type: readOnly: true enum: - Sell type: string sub_transaction_type: description: Sub transaction type readOnly: true enum: - Sell type: string execution_price: description: Executed price of the sell transaction readOnly: true direction: description: pending sell transaction readOnly: true enum: - out type: string SellTransactionResponse: allOf: - type: object required: - status - pot_id properties: status: description: >- status of the transaction request . `success`: All requested transactions success . `partially_success`: Some (but not all) requested transactions success type: string enum: - success - partially_success example: partially_success pot_id: type: string readOnly: true example: pot-UKW3452850 - type: object properties: results: description: >- Array of successes and failures. Failures will include a reason for the error type: array items: allOf: - type: object required: - transaction_id - created_at - updated_at - primary_transaction_type - sub_transaction_type - investment_product_id - currency - direction - type - sub_type - origin - success properties: success: type: boolean enum: - true - false message: description: Reason for failure if success = false type: string parent_transaction_id: description: parent_transaction_id type: string transaction_id: description: transaction_id of successful transaction type: string external_transaction_reference: description: External Transaction Reference type: string readOnly: true created_at: description: Will indicate the date where this record was created type: string format: date-time readOnly: true updated_at: description: >- Will indicate the date where this record was last changed type: string format: date-time readOnly: true primary_transaction_type: type: string sub_transaction_type: type: string investment_product_id: description: Investment product id of the transaction type: string readOnly: true client_order_id: description: >- (optional) Order identifier assigned by the wealth manager type: string maxLength: 20 transaction_quantity: description: >- (optional) quantity of the investment product, required for unit based orders type: string transaction_value: description: >- (optional) value of the investment product, required for value based orders type: string execution_price: type: string trade_date: description: Date the transaction was effected type: string format: date readOnly: true settlement_date: description: >- Intended settlement date of the pending transaction or actual the settled day of the transaction type: string format: date readOnly: true currency: description: Currency of the transaction type: string readOnly: true direction: type: string type: description: State of the transaction type: string readOnly: true enum: - pending - archived sub_type: description: >- Sub state of the transaction. instructed, confirmed, priced and scheduled sub_types are applicable for pending state and rejected, cancelled, settled sub_types applicable for archived state type: string readOnly: true enum: - instructed - confirmed - priced - rejected - settled - cancelled - scheduled additional_external_details: description: >- Additional external details of the transaction, This may be populated in reconciliation process type: object readOnly: true origin: description: Origin of the transaction type: string readOnly: true enum: - api - type: object properties: primary_transaction_type: readOnly: true enum: - Sell type: string sub_transaction_type: description: Sub transaction type readOnly: true enum: - Sell type: string execution_price: description: Executed price of the sell transaction readOnly: true direction: description: pending sell transaction readOnly: true enum: - out type: string example: - transaction_quantity: '10' success: true transaction_id: 738b9aaa-6320-4132-b7c7-1a57d607c15e investment_product_id: EPCCTST7 client_order_id: cl-02456s42sd3 primary_transaction_type: Sell sub_transaction_type: Sell type: pending sub_type: instructed currency: GBP direction: out created_at: '2023-01-27T11:33:32.285Z' updated_at: '2023-01-27T11:33:32.285Z' trade_date: '2023-01-27' origin: api - message: >- Transaction quantity is lower than the minimum allowed (EPCCTST9) success: false schemas-SwitchRequestStatus: required: - investment_product_id - status - side - transaction_id - created_at properties: investment_product_id: description: Identifier of investment product that is bought or sold. type: string status: type: string enum: - instructed - priced - settled - rejected side: description: Side of the transaction type: string enum: - buy - sell transaction_id: description: Unique identifier of the transaction type: string quantity: description: quantity (in units) type: string price: description: Executed price of the transaction type: string value: description: Monetary value of the transaction type: string created_at: description: Date and time of transaction creation type: string format: date-time updated_at: description: Date and time of transaction update type: string format: date-time example: investment_product_id: ETF069GBP1 status: scheduled side: sell transaction_id: de78ce12-0ad4-4a10-af51-11a572912449 value: '300' created_at: '2023-01-29T23:33:09.460Z' updated_at: '2023-01-29T23:33:09.460Z' SwitchResponse: required: - status - switch_transaction_id - pot_id - sell_instructions - buy_instructions - origin - created_at properties: status: description: Status of the Switch instruction type: string example: sell_in_progress enum: - initiated - sell_in_progress - buy_in_progress - completed - failed switch_transaction_id: description: Unique identifier of the switch instruction type: string example: def85ee2-c98d-44d8-a644-c91caa84fa6e pot_id: description: Identifier of the pot the instruction is sent to type: string example: pot-UKW3452850 sell_instructions: type: array items: title: each buy or sell instruction of the Switch request description: >- Each individual buy side and sell side instruction of the Switch request example: investment_product_id: ETF069GBP1 mode: value value: '300' required: - investment_product_id - mode - value type: object properties: investment_product_id: description: >- Identifier of the investment product sold or bought. If the instruction is to use a cash holding (relevant only for sell instruction) this must be `cash` type: string mode: description: >- Mode of the instruction. If investment_product_id is `cash` mode can only be set to `value` or `percentage` type: string enum: - percentage - unit - value value: description: >- value according to the mode. e.g. mode `percentage` and value `10` implies 10% type: string buy_instructions: type: array items: title: each buy or sell instruction of the Switch request description: >- Each individual buy side and sell side instruction of the Switch request example: investment_product_id: ETF931GBP5 mode: percentage value: '100' required: - investment_product_id - mode - value type: object properties: investment_product_id: description: >- Identifier of the investment product sold or bought. If the instruction is to use a cash holding (relevant only for sell instruction) this must be `cash` type: string mode: description: >- Mode of the instruction. If investment_product_id is `cash` mode can only be set to `value` or `percentage` type: string enum: - percentage - unit - value value: description: >- value according to the mode. e.g. mode `percentage` and value `10` implies 10% type: string transactions: description: >- Array with status of all buy and sell transactions. Will be sent only if `include_details` = true. type: array items: required: - investment_product_id - status - side - transaction_id - created_at properties: investment_product_id: description: Identifier of investment product that is bought or sold. type: string status: type: string enum: - instructed - priced - settled - rejected side: description: Side of the transaction type: string enum: - buy - sell transaction_id: description: Unique identifier of the transaction type: string quantity: description: quantity (in units) type: string price: description: Executed price of the transaction type: string value: description: Monetary value of the transaction type: string created_at: description: Date and time of transaction creation type: string format: date-time updated_at: description: Date and time of transaction update type: string format: date-time example: investment_product_id: ETF069GBP1 status: scheduled side: sell transaction_id: de78ce12-0ad4-4a10-af51-11a572912449 value: '300' created_at: '2023-01-29T23:33:09.460Z' updated_at: '2023-01-29T23:33:09.460Z' origin: description: Describe the origin from where the switch transaction is triggered type: string example: api enum: - api - rebalance created_at: description: Will indicate the date where this record was created type: string format: date-time example: '2023-01-29T23:33:06.678Z' updated_at: description: Will indicate the date where this record was last updated type: string format: date-time example: '2023-01-29T23:33:06.678Z' reason: description: >- Failure reason (shown only for switch transactions in `failed` state) type: string SwitchTransactionRequest: title: Switch Instruction Request description: Definition of Switch instruction required: - request_id - pot_id - sell_instructions - buy_instructions type: object properties: request_id: description: 'Unique request id to ensure idempotency. (eg: UUID)' type: string format: uuid pot_id: description: Identifier of the pot the instruction is sent to type: string example: pot-UKW3452850 sell_instructions: type: array items: title: each buy or sell instruction of the Switch request description: >- Each individual buy side and sell side instruction of the Switch request example: investment_product_id: ETF031GBP1 mode: value value: '500' required: - investment_product_id - mode - value type: object properties: investment_product_id: description: >- Identifier of the investment product sold or bought. If the instruction is to use a cash holding (relevant only for sell instruction) this must be `cash` type: string mode: description: >- Mode of the instruction. If investment_product_id is `cash` mode can only be set to `value` or `percentage` type: string enum: - percentage - unit - value value: description: >- value according to the mode. e.g. mode `percentage` and value `10` implies 10% type: string buy_instructions: type: array items: title: each buy or sell instruction of the Switch request description: >- Each individual buy side and sell side instruction of the Switch request example: investment_product_id: ETF069GBP1 mode: value value: '800' required: - investment_product_id - mode - value type: object properties: investment_product_id: description: >- Identifier of the investment product sold or bought. If the instruction is to use a cash holding (relevant only for sell instruction) this must be `cash` type: string mode: description: >- Mode of the instruction. If investment_product_id is `cash` mode can only be set to `value` or `percentage` type: string enum: - percentage - unit - value value: description: >- value according to the mode. e.g. mode `percentage` and value `10` implies 10% type: string SwitchTransactionResponse: required: - status - switch_transaction_id - pot_id - sell_instructions - buy_instructions - origin properties: status: description: Status of the Switch instruction type: string example: sell_in_progress enum: - initiated - sell_in_progress - buy_in_progress - completed switch_transaction_id: description: Unique identifier of the switch instruction type: string example: def85ee2-c98d-44d8-a644-c91caa84fa6e pot_id: description: Identifier of the pot the instruction is sent to type: string example: pot-UKW3452850 origin: description: Describe the origin from where the switch transaction is triggered type: string example: api enum: - api - rebalance sell_instructions: type: array items: title: each buy or sell instruction of the Switch request description: >- Each individual buy side and sell side instruction of the Switch request example: investment_product_id: ETF031GBP1 mode: value value: '500' required: - investment_product_id - mode - value type: object properties: investment_product_id: description: >- Identifier of the investment product sold or bought. If the instruction is to use a cash holding (relevant only for sell instruction) this must be `cash` type: string mode: description: >- Mode of the instruction. If investment_product_id is `cash` mode can only be set to `value` or `percentage` type: string enum: - percentage - unit - value value: description: >- value according to the mode. e.g. mode `percentage` and value `10` implies 10% type: string buy_instructions: type: array items: title: each buy or sell instruction of the Switch request description: >- Each individual buy side and sell side instruction of the Switch request example: investment_product_id: ETF069GBP1 mode: value value: '800' required: - investment_product_id - mode - value type: object properties: investment_product_id: description: >- Identifier of the investment product sold or bought. If the instruction is to use a cash holding (relevant only for sell instruction) this must be `cash` type: string mode: description: >- Mode of the instruction. If investment_product_id is `cash` mode can only be set to `value` or `percentage` type: string enum: - percentage - unit - value value: description: >- value according to the mode. e.g. mode `percentage` and value `10` implies 10% type: string Rate: required: - rate_id - rate_type - rate properties: rate_id: description: Unique identifier of the rate type: string example: USDCAD rate_type: description: Type of rate type: string example: fx-spot enum: - fx-spot rate: description: Latest available rate type: string example: '1.27863' rate_on_date: description: Date and time of rate type: string example: '20220203' Rates: required: - rates type: object properties: rates: type: array items: required: - rate_id - rate_type - rate properties: rate_id: description: Unique identifier of the rate type: string example: USDCAD rate_type: description: Type of rate type: string example: fx-spot enum: - fx-spot rate: description: Latest available rate type: string example: '1.27863' rate_on_date: description: Date and time of rate type: string example: '20220203' Fee: title: Root Type for Fee description: JSON for the Fee resource type required: - request_id - pot_id - currency - transaction_value - sub_transaction_type properties: request_id: description: 'Unique request id to ensure idempotency. (ex: UUID)' type: string format: uuid pot_id: description: Pot ID type: string maxLength: 64 example: pot-UKW3452850 currency: description: Currency of the Fee.must be a currency configured for the Pot type: string example: GBP transaction_value: description: Fee Amount upto 2 decimal places type: string example: '123.45' sub_transaction_type: description: >- If the pot is a pension pot only Ancillary fee, Advisor ongoing fee, One-off advisor fee, Custody fees and Commission will be valid sub transaction types type: string example: Custody fees enum: - Ancillary fee - Advisor ongoing fee - One-off advisor fee - Custody fees - Commission - Management fee - Fee credit - Fee rebate - Commission rebate FeeCreationResponse: title: Root Type for Fee creation response description: JSON for the Fee creation response required: - transaction_id - created_at - updated_at - primary_transaction_type - pot_id - sub_transaction_type - investment_product_id - transaction_value - currency - direction - type - sub_type - origin properties: transaction_id: description: Unique ID of the fee transaction type: string format: uuid example: 378f7443-515c-4947-be3f-e7bd51be68c2 investment_product_id: description: investment_product_id type: string example: cash transaction_value: description: Fee Amount upto 2 decimal places type: string example: '123.45' pot_id: description: Pot ID type: string maxLength: 64 example: pot-UKW3452850 primary_transaction_type: type: string readOnly: true example: Fees enum: - Fees sub_transaction_type: description: Sub transaction type type: string readOnly: true example: Custody fees enum: - Ancillary fee - Advisor ongoing fee - One-off advisor fee - Custody fees - Commission - Management fee - Fee credit - Fee rebate - Commission rebate type: description: State of the transaction type: string readOnly: true example: archived enum: - pending - archived sub_type: description: >- Sub state of the transaction. instructed, confirmed, priced sub_types applicable for pending state and rejected, cancelled, settled sub_types applicable for archived state type: string readOnly: true example: settled enum: - instructed - confirmed - priced - rejected - settled - cancelled - scheduled currency: description: Currency of the Fee type: string readOnly: true example: GBP direction: description: >- in = cash payment or pending buy transaction, out= cash out or pending sell transaction. type: string readOnly: true example: out enum: - in - out external_transaction_reference: description: External Transaction Reference type: string readOnly: true created_at: description: Will indicate the date where this record was created type: string format: date-time readOnly: true example: '2023-01-30T00:42:36.624Z' updated_at: description: Will indicate the date where this record was last changed type: string format: date-time readOnly: true example: '2023-01-30T00:42:36.624Z' trade_date: description: Date the transaction was effected type: string format: date readOnly: true example: '2023-01-30' settlement_date: description: >- Intended settlement date of the pending transaction or actual the settled day of the transaction type: string format: date readOnly: true example: '2023-01-30' origin: description: Origin of the transaction type: string readOnly: true example: api enum: - api - admin_ui - file_upload - system Withdrawal: title: Root Type for Withdrawal description: JSON for the Withdrawal resource type required: - request_id - pot_id - currency - transaction_value - sub_transaction_type - bank_account_id properties: request_id: description: 'Unique request id to ensure idempotency. (ex: UUID)' type: string format: uuid pot_id: description: Pot ID type: string maxLength: 64 example: pot-SDQ5659730 currency: description: Currency of the Withdrawal.must be a currency configured for the Pot type: string example: USD transaction_value: description: Withdrawal Amount upto 2 decimal places type: string example: '123.45' sub_transaction_type: description: Withdrawal sub transaction type type: string example: Withdrawal enum: - Withdrawal bank_account_id: description: Bank Account ID type: string example: ba-example-bank-account WithdrawalCreationResponse: title: Root Type for Withdrawal creation response description: JSON for the Withdrawal creation response required: - transaction_id - created_at - updated_at - primary_transaction_type - sub_transaction_type - pot_id - investment_product_id - transaction_value - currency - direction - type - sub_type - origin properties: transaction_id: description: Unique ID of the withdrawal transaction type: string format: uuid investment_product_id: description: investment_product_id type: string transaction_value: description: Withdrawal Amount upto 2 decimal places type: string pot_id: description: Pot ID type: string maxLength: 64 example: pot-SDQ5659730 primary_transaction_type: type: string readOnly: true enum: - Withdrawal sub_transaction_type: description: Withdrawal sub transaction type type: string example: Withdrawal enum: - Withdrawal type: description: State of the transaction type: string readOnly: true enum: - pending - archived sub_type: description: >- Sub state of the transaction. instructed, confirmed, priced sub_types applicable for pending state and rejected, cancelled, settled sub_types applicable for archived state type: string readOnly: true enum: - instructed - confirmed - priced - rejected - settled - cancelled - scheduled currency: description: Currency of the Withdrawal type: string readOnly: true direction: description: >- in = cash payment or pending buy transaction, out= cash out or pending sell transaction. type: string readOnly: true enum: - in - out external_transaction_reference: description: External Transaction Reference type: string readOnly: true created_at: description: Will indicate the date where this record was created type: string format: date-time readOnly: true updated_at: description: Will indicate the date where this record was last changed type: string format: date-time readOnly: true trade_date: description: Date the transaction was effected type: string format: date readOnly: true settlement_date: description: >- Intended settlement date of the pending transaction or actual the settled day of the transaction type: string format: date readOnly: true origin: description: Origin of the transaction type: string readOnly: true enum: - api - admin_ui - file_upload - system SingleWithdrawalCreationRequest: title: Root Type for Withdrawal description: JSON for the Withdrawal resource type required: - request_id - pot_id - currency - transaction_value - sub_transaction_type - bank_account_id properties: request_id: description: 'Unique request id to ensure idempotency. (ex: UUID)' type: string format: uuid pot_id: description: Pot ID type: string maxLength: 64 example: pot-SDQ5659730 currency: description: Currency of the Withdrawal.must be a currency configured for the Pot type: string example: USD transaction_value: description: Withdrawal Amount upto 2 decimal places type: string example: '123.45' sub_transaction_type: description: Withdrawal sub transaction type type: string example: Withdrawal enum: - Withdrawal - Income Withdrawal bank_account_id: description: Bank Account ID type: string example: ba-example-bank-account SingleWithdrawalCreationResponse: title: Root Type for Withdrawal response description: JSON for the Withdrawal response required: - transaction_id - investment_product_id - transaction_value - pot_id - primary_transaction_type - sub_transaction_type - type - sub_type - currency - direction - created_at - updated_at - origin type: object properties: transaction_id: description: Unique ID of the withdrawal transaction type: string format: uuid investment_product_id: description: investment_product_id type: string transaction_value: description: Withdrawal amount upto 2 decimal places type: string pot_id: description: Pot ID type: string maxLength: 64 example: pot-SDQ5659730 primary_transaction_type: type: string readOnly: true enum: - Withdrawal sub_transaction_type: description: Withdrawal sub transaction type type: string example: Withdrawal enum: - Withdrawal - Income Withdrawal type: description: State of the transaction type: string readOnly: true enum: - pending - archived sub_type: description: >- Sub state of the transaction. The sub-states "scheduled", "instructed" and confirmed will be applicable under "pending" state, while the sub-state "rejected", "cancelled", "settled" under "archived" state type: string readOnly: true enum: - scheduled - instructed - confirmed - rejected - settled - cancelled currency: description: Currency of the Withdrawal type: string readOnly: true direction: description: >- in = cash payment or pending buy transaction, out= cash out or pending sell transaction. type: string readOnly: true enum: - in - out external_transaction_reference: description: External Transaction Reference type: string readOnly: true created_at: description: Will indicate the date where this record was created type: string readOnly: true updated_at: description: Will indicate the date where this record was last changed type: string readOnly: true trade_date: description: Date the transaction was effected type: string readOnly: true settlement_date: description: >- Intended settlement date of the pending transaction or actual the settled day of the transaction type: string readOnly: true origin: description: Origin of the transaction type: string readOnly: true enum: - api - admin_ui - file_upload - system tax_transaction_id: description: Unique ID of the tax transaction associated with the withdrawal type: string format: uuid net_transaction_value: description: Withdrawal amount after tax upto 2 decimal places type: string tax_payable_on_transaction: description: Tax payable for withdrawal upto 2 decimal places type: string total_withdrawals_ytd: description: >- Total withdrawal by investor made in the current tax year upto 2 decimal places type: string tax_free_allowance_ytd: description: >- Total tax free allowance utilized by investor in the current tax year upto 2 decimal places type: string additional_pay_ytd: description: >- Total additional pay added to by investor's withdrawal in the current tax year upto 2 decimal places. (Applicable for K Codes) type: string taxable_withdrawal_ytd: description: >- Taxable withdrawal amount for the current tax year. (tax_free_allowance_ytd deducted from total_withdrawals_ytd that was rounded to nearest pound.) type: string tax_payable_ytd: description: Tax payable upto 2 decimal places type: string tax_paid_ytd: description: Total tax paid in current tax year upto 2 decimal places type: string tax_unpaid_ytd: description: Unpaid tax in the current tax year upto 2 decimal places type: string tax_overpaid_ytd: description: Overpaid tax in the current tax year upto 2 decimal places type: string withdrawal_charge_applicable: description: >- Mandatory only if the financial product is LISA. Flag to indicate if a withdrawal charge is applicable on the gross withdrawal amount type: boolean readOnly: true enum: - true - false withdrawal_charge: description: >- Mandatory only if the withdrawal_charge_applicable = true. Value of the withdrawal charge applicable for the unauthorized withdrawal type: string UpdateLisaWithdrawalTrxRequest: title: Root Type for the LISA Withdrawal update request description: JSON for the LISA Withdrawal update request required: - request_id - reference_verison - trade_date properties: request_id: description: The system generated unique request id type: string format: uuid example: 20b904f7-8d05-4efd-bd36-4ec3b1ce8e03 reference_verison: description: Reference version of the transaction type: integer example: 1 trade_date: description: Trade Date of the withdrawal type: string example: '2020-09-01' UpdateLisaWithdrawalTrxResponse: title: Root Type for LISA Withdrawal update response description: JSON for the LISA Withdrawal update response required: - transaction_id - investment_product_id - transaction_value - pot_id - primary_transaction_type - sub_transaction_type - type - sub_type - currency - direction - created_at - updated_at - trade_date - origin type: object properties: transaction_id: description: Unique ID of the withdrawal transaction type: string format: uuid investment_product_id: description: investment_product_id type: string transaction_value: description: Withdrawal amount upto 2 decimal places type: string pot_id: description: Pot ID type: string maxLength: 64 example: pot-SDQ5659730 primary_transaction_type: type: string readOnly: true enum: - Withdrawal sub_transaction_type: description: Withdrawal sub transaction type type: string example: Withdrawal enum: - Withdrawal type: description: State of the transaction type: string readOnly: true enum: - pending - archived sub_type: description: >- Sub state of the transaction. The sub-states "scheduled", "instructed" and confirmed will be applicable under "pending" state, while the sub-state "rejected", "cancelled", "settled" under "archived" state type: string readOnly: true enum: - scheduled - instructed - confirmed - rejected - settled - cancelled currency: description: Currency of the Withdrawal type: string readOnly: true direction: description: >- in = cash payment or pending buy transaction, out= cash out or pending sell transaction. type: string readOnly: true enum: - in - out external_transaction_reference: description: External Transaction Reference type: string readOnly: true created_at: description: Will indicate the date where this record was created type: string readOnly: true updated_at: description: Will indicate the date where this record was last changed type: string readOnly: true trade_date: description: Date the transaction was effected type: string readOnly: true settlement_date: description: >- Intended settlement date of the pending transaction or actual the settled day of the transaction type: string readOnly: true origin: description: Origin of the transaction type: string readOnly: true enum: - api - admin_ui - file_upload - system withdrawal_charge_applicable: description: >- Mandatory only if the financial product is LISA. Flag to indicate if a withdrawal charge is applicable on the gross withdrawal amount type: boolean readOnly: true enum: - true - false withdrawal_charge: description: >- Mandatory only if the withdrawal_charge_applicable = true. Value of the withdrawal charge applicable for the unauthorized withdrawal type: string FilePath: required: - type - path properties: type: description: type of the file specified in the path. Eg.- bk, dc, sr, fx type: string example: bk path: description: >- file path - "bucket_name/file_key". Eg.- wos-custodian_data-bucket/dir1/dir2/sr210317.XYZ type: string example: >- wos-dev13-reconciliation-files-us-east-2/custodian-files/bk-220908-2.FID CopyFileToS3Request: required: - file_paths properties: file_paths: description: file path array for the file(s) from external data store. type: array items: required: - type - path properties: type: description: type of the file specified in the path. Eg.- bk, dc, sr, fx type: string example: bk path: description: >- file path - "bucket_name/file_key". Eg.- wos-custodian_data-bucket/dir1/dir2/sr210317.XYZ type: string example: >- wos-dev13-reconciliation-files-us-east-2/custodian-files/bk-220908-2.FID CopyFileToS3Response: required: - bucket - keys properties: bucket: description: name of the bucket which the files were copied type: string example: wos-dev13-reconciliation-files-us-east-2 keys: description: array of keys, one for each file stored during the request type: array items: type: string example: morganstanley/input_files/2023-01-27_bk_bk-220908-2.FID MaskBankAccount: required: - bank_account_id - account_status - reference_version - created_at - updated_at properties: bank_account_id: description: system generated id type: string readOnly: true maxLength: 100 example: ba-20b904f7-8d05-4efd-bd36-4ec3b1ce8e03 investor_id: type: string example: inv-QXR38578 account_name: type: string maxLength: 100 example: David Brown bank_account_type: type: string enum: - investor - contributing_employer example: investor default_account: description: Only one account should be the default type: string enum: - 'yes' - 'no' example: 'no' bank_account_number: description: Unique for the investor type: string minLength: 6 maxLength: 8 example: '****5678' account_status: description: If not populated, will be defaulted to inactive type: string enum: - active - inactive example: active sort_code: type: string minLength: 6 maxLength: 8 example: '****56' building_society_roll_number: type: string minLength: 1 maxLength: 18 example: '******72' reference_version: type: integer readOnly: true example: 1 created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' BankAccounts: description: Array of bank accounts type: object properties: bankAccounts: type: array items: required: - bank_account_id - account_status - reference_version - created_at - updated_at properties: bank_account_id: description: system generated id type: string readOnly: true maxLength: 100 example: ba-20b904f7-8d05-4efd-bd36-4ec3b1ce8e03 investor_id: type: string example: inv-QXR38578 account_name: type: string maxLength: 100 example: David Brown bank_account_type: type: string enum: - investor - contributing_employer example: investor default_account: description: Only one account should be the default type: string enum: - 'yes' - 'no' example: 'no' bank_account_number: description: Unique for the investor type: string minLength: 6 maxLength: 8 example: '****5678' account_status: description: If not populated, will be defaulted to inactive type: string enum: - active - inactive example: active sort_code: type: string minLength: 6 maxLength: 8 example: '****56' building_society_roll_number: type: string minLength: 1 maxLength: 18 example: '******72' reference_version: type: integer readOnly: true example: 1 created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' CreateBankAccountRequest: required: - account_name - bank_account_type - investor_id - default_account - bank_account_number properties: bank_account_id: description: system generated id type: string readOnly: true maxLength: 100 example: ba-20b904f7-8d05-4efd-bd36-4ec3b1ce8e03 investor_id: type: string example: inv-QXR38578 contributing_party_id: description: >- This is contributing employer ID for contributing employer bank accounts. Field is required for contributing employer bank accounts. type: string example: cem-ZWV37971 account_name: type: string maxLength: 100 example: David Brown bank_account_type: description: >- This is 'investor' for investor bank accounts and 'contributing_employer' for contributing employer bank accounts. type: string enum: - investor - contributing_employer example: investor default_account: description: Only one account should be the default type: string enum: - 'yes' - 'no' example: 'no' bank_account_number: description: Unique for the investor type: string minLength: 6 maxLength: 8 example: '12345678' account_status: description: If not populated, will be defaulted to inactive type: string enum: - active - inactive example: active sort_code: description: Mandatory if region is UK type: string minLength: 6 maxLength: 8 example: '123456' building_society_roll_number: type: string minLength: 1 maxLength: 18 example: '12345672' UpdateBankAccount: title: Update Request Body for bank account description: JSON for the Update bank account resource type required: - reference_version properties: account_name: type: string maxLength: 100 example: David Brown default_account: description: Only one account should be the default type: string enum: - 'yes' - 'no' example: 'no' account_status: type: string enum: - active - inactive example: inactive reference_version: type: integer example: 2 lifeEvents: required: - event_id - event_type - status properties: event_id: type: string example: LISALETI-SCX540 event_type: type: string example: Terminal illness status: type: string example: completed investorAccount: required: - account_id - investor_id - financial_product_id - status - pot_id - created_at - updated_at properties: account_id: description: Investor account id type: string example: SIPPACC1674797806011 investor_id: type: string example: inv-QXR38578 financial_product_id: type: string example: sipp_accumulation date_of_account_activation: description: >- The first date the account was opened by the investor. For LISA accounts, this will be set with the date of the initial subscription to the account type: string format: date-time example: '2023-01-27T05:36:46.011Z' status: description: Account status type: string enum: - active - pending_cancellation - cancelled - closed example: active current_year_subscription: description: Does the Account have contributions for the current tax year type: boolean example: true first_subscription_date_for_current_year: description: Date of the first subscription received for the current tax year type: string nullable: true format: date-time example: '2023-01-27T05:41:15.651Z' current_year_total_contribution: description: Total contribution by investor for account for the current tax year type: string example: '22000' current_year_total_withdrawals: description: Total withdrawal by investor for account for the current tax year type: string current_year_RAS_claimed: description: >- Total relief at source claimed for the tax year. This is only relevant for SIPP type: string current_year_gross_contribution: description: >- Total contributions made into pensions pots including relief at source claims for the tax year or total contribution made into LISA pots including government bonus claimed. This is only relevant for SIPP and LISA type: string current_year_RAS_claims_pending: description: >- Total relief at source amount to be claimed from HMRC. This is only relevant for SIPP type: string current_year_MPAA_utilized: description: Total MPAA utilized by investor for account for the current tax year type: string current_year_LISA_bonus_claimed: description: Government bonus claimed for current tax year for LISA accounts type: string current_year_LISA_bonus_pending: description: Government bonus pending for current tax year for LISA accounts type: string current_year_withdrawal_charges: description: >- Total withdrawal charges deducted for unauthorized withdrawals from a LISA account for the current tax year. Mandatory only if the financial product is LISA type: string current_year_pending_withdrawals: description: >- Total withdrawals scheduled for the account to be paid to investor for the current tax year type: string total_contribution: description: Total lifetime contribution by investor for the account type: string total_gross_contribution: description: >- Total lifetime contribution by investor for a LISA account including the government bonus claimed. Mandatory only if the financial product is LISA type: string total_bonus_claimed: description: >- Total government bonus claimed for LISA account for contributions made across years. Mandatory only if the financial product is LISA type: string total_withdrawals: description: Total lifetime withdrawals by investor for the account type: string total_withdrawal_charges: description: >- Total withdrawal charges deducted for unauthorized withdrawals from a LISA account across years. Mandatory only if the financial product is LISA type: string account_type: type: string enum: - X - Z - B - G example: X isa_allowance_remaining: description: >- Total subscription allowance remaining for investor across all ISA product types for the current tax year type: string example: '20000' lisa_allowance_remaining: description: >- Mandatory only if the financial product is LISA. The remaining total allowance available to the investor for the LISA product within the current tax year type: string example: '4000' custodian_account_reference: type: string nullable: true maxLength: 64 example: CAR573838383 custodian_id: type: string nullable: true maxLength: 64 example: CID594898ff custodian_client_reference: type: string nullable: true maxLength: 64 example: CCR578fh8 regulator_advisor_id: type: string nullable: true maxLength: 64 example: RAI48483jd life_events: description: Life events of the investor type: array items: required: - event_id - event_type - status properties: event_id: type: string example: LISALETI-SCX540 event_type: type: string example: Terminal illness status: type: string example: completed reference_version: type: integer example: 1 created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' pot_id: description: Array of pot IDs attached to Investor Account ID type: array items: type: string example: - pot-MKQ5634576 - pot-DFT5033872 hmrc_data: description: Mandatory only if the financial product is LISA type: object required: - status properties: status: description: >- Indicate the status of the LISA investor and investor account creation with HMRC type: string enum: - hmrc_process_not_started - hmrc_process_inprogress - hmrc_investor_creation_failed - hmrc_account_creation_successful - hmrc_account_creation_failed - hmrc_account_cancelled lisa_investor_reference: description: Investor account reference created at HMRC for a LISA account type: string reason: description: Error reason received from HMRC type: string nullable: true investorAccounts: description: Array of investor accounts type: object required: - investor_accounts - next_page_available properties: investor_accounts: type: array items: required: - account_id - investor_id - financial_product_id - status - pot_id - created_at - updated_at properties: account_id: description: Investor account id type: string example: SIPPACC1674797806011 investor_id: type: string example: inv-QXR38578 financial_product_id: type: string example: sipp_accumulation date_of_account_activation: description: >- The first date the account was opened by the investor. For LISA accounts, this will be set with the date of the initial subscription to the account type: string format: date-time example: '2023-01-27T05:36:46.011Z' status: description: Account status type: string enum: - active - pending_cancellation - cancelled - closed example: active current_year_subscription: description: Does the Account have contributions for the current tax year type: boolean example: true first_subscription_date_for_current_year: description: >- Date of the first subscription received for the current tax year type: string nullable: true format: date-time example: '2023-01-27T05:41:15.651Z' current_year_total_contribution: description: >- Total contribution by investor for account for the current tax year type: string example: '22000' current_year_total_withdrawals: description: >- Total withdrawal by investor for account for the current tax year type: string current_year_RAS_claimed: description: >- Total relief at source claimed for the tax year. This is only relevant for SIPP type: string current_year_gross_contribution: description: >- Total contributions made into pensions pots including relief at source claims for the tax year or total contribution made into LISA pots including government bonus claimed. This is only relevant for SIPP and LISA type: string current_year_RAS_claims_pending: description: >- Total relief at source amount to be claimed from HMRC. This is only relevant for SIPP type: string current_year_MPAA_utilized: description: >- Total MPAA utilized by investor for account for the current tax year type: string current_year_LISA_bonus_claimed: description: >- Government bonus claimed for current tax year for LISA accounts type: string current_year_LISA_bonus_pending: description: >- Government bonus pending for current tax year for LISA accounts type: string current_year_withdrawal_charges: description: >- Total withdrawal charges deducted for unauthorized withdrawals from a LISA account for the current tax year. Mandatory only if the financial product is LISA type: string current_year_pending_withdrawals: description: >- Total withdrawals scheduled for the account to be paid to investor for the current tax year type: string total_contribution: description: Total lifetime contribution by investor for the account type: string total_gross_contribution: description: >- Total lifetime contribution by investor for a LISA account including the government bonus claimed. Mandatory only if the financial product is LISA type: string total_bonus_claimed: description: >- Total government bonus claimed for LISA account for contributions made across years. Mandatory only if the financial product is LISA type: string total_withdrawals: description: Total lifetime withdrawals by investor for the account type: string total_withdrawal_charges: description: >- Total withdrawal charges deducted for unauthorized withdrawals from a LISA account across years. Mandatory only if the financial product is LISA type: string account_type: type: string enum: - X - Z - B - G example: X isa_allowance_remaining: description: >- Total subscription allowance remaining for investor across all ISA product types for the current tax year type: string example: '20000' lisa_allowance_remaining: description: >- Mandatory only if the financial product is LISA. The remaining total allowance available to the investor for the LISA product within the current tax year type: string example: '4000' custodian_account_reference: type: string nullable: true maxLength: 64 example: CAR573838383 custodian_id: type: string nullable: true maxLength: 64 example: CID594898ff custodian_client_reference: type: string nullable: true maxLength: 64 example: CCR578fh8 regulator_advisor_id: type: string nullable: true maxLength: 64 example: RAI48483jd life_events: description: Life events of the investor type: array items: required: - event_id - event_type - status properties: event_id: type: string example: LISALETI-SCX540 event_type: type: string example: Terminal illness status: type: string example: completed reference_version: type: integer example: 1 created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' pot_id: description: Array of pot IDs attached to Investor Account ID type: array items: type: string example: - pot-MKQ5634576 - pot-DFT5033872 hmrc_data: description: Mandatory only if the financial product is LISA type: object required: - status properties: status: description: >- Indicate the status of the LISA investor and investor account creation with HMRC type: string enum: - hmrc_process_not_started - hmrc_process_inprogress - hmrc_investor_creation_failed - hmrc_account_creation_successful - hmrc_account_creation_failed - hmrc_account_cancelled lisa_investor_reference: description: >- Investor account reference created at HMRC for a LISA account type: string reason: description: Error reason received from HMRC type: string nullable: true next_page_available: type: boolean fullInvestorAccount: required: - account_id - investor_id - financial_product_id - status - pot_id - created_at - updated_at properties: account_id: description: Investor account id type: string example: SSISA1663750577493 investor_id: type: string example: inv-QXR38578 financial_product_id: type: string example: stocks_isa date_of_account_activation: description: >- The first date the account was opened by the investor. For LISA accounts, this will be set with the date of the initial subscription to the account type: string format: date-time example: '2022-09-21T08:56:17.493Z' status: description: Account status type: string enum: - active - pending_cancellation - cancelled - closed example: active pot_id: description: Array of pot IDs attached to Investor Account ID type: array items: type: string example: - pot-MKQ5634576 - pot-DFT5033872 current_year_subscription: description: Does the Account have contributions for the current tax year type: boolean example: false first_subscription_date_for_current_year: description: Date of the first subscription received for the current tax year type: string nullable: true format: date-time current_year_total_contribution: description: Total contribution by investor for account for the current tax year type: string current_year_total_withdrawals: description: Total lifetime withdrawals by investor for the account type: string current_year_total_isa_contribution: description: >- Total contribution by investor for all ISA product types for the current tax year type: string current_year_total_isa_withdrawals: description: >- Total subscription allowance remaining for investor across all ISA product types for the current tax year type: string current_year_RAS_claimed: description: >- Total relief at source claimed for the tax year. This is only relevant for SIPP type: string current_year_gross_contribution: description: >- Applicable only if the financial product is LISA or SIPP. If LISA, the total contribution done by the investor for the current tax year including the government bonus. If SIPP, the total contributions made into pensions pots including relief at source claims for the tax year type: string current_year_MPAA_utilized: description: Total MPAA utilized by investor for account for the current tax year type: string current_year_RAS_claims_pending: description: >- Total relief at source amount to be claimed from HMRC. This is only relevant for SIPP type: string current_year_LISA_bonus_claimed: description: >- Applicable only if the financial product is LISA. The government bonus that has been claimed for the contributions made to the Cash LISA within the current tax year type: string current_year_LISA_bonus_pending: description: >- Applicable only if the financial product is LISA. The government bonus that is pending for the contributions made to the Cash LISA within the current tax year type: string current_year_withdrawal_charges: description: >- Total withdrawal charges deducted for unauthorized withdrawals from a LISA account for the current tax year. Mandatory only if the financial product is LISA type: string current_year_pending_withdrawals: description: >- Total withdrawals scheduled for the account to be paid to investor for the current tax year type: string total_contribution: description: Total lifetime contribution by investor for the account type: string total_gross_contribution: description: >- Total lifetime contribution by investor for a LISA account including the government bonus claimed. Mandatory only if the financial product is LISA type: string total_bonus_claimed: description: >- Total government bonus claimed for LISA account for contributions made across years. Mandatory only if the financial product is LISA type: string total_withdrawals: description: Total LISA withdrawals by investor across years type: string total_withdrawal_charges: description: >- Total withdrawal charges deducted for unauthorized withdrawals from a LISA account across years. Mandatory only if the financial product is LISA type: string total_market_value: description: >- Value of holdings across all pots attached to the account ID (including investment products and cash) type: string example: '0' account_type: type: string enum: - X - Z - B - G example: X isa_allowance_remaining: description: >- Total subscription allowance remaining for investor across all ISA product types for the current tax year type: string example: '20000' lisa_allowance_remaining: description: >- Mandatory only if the financial product is LISA. The remaining total allowance available to the investor for the LISA product within the current tax year type: string example: '4000' custodian_account_reference: type: string nullable: true maxLength: 64 example: CAR573838383 custodian_id: type: string nullable: true maxLength: 64 example: CID594898ff custodian_client_reference: type: string nullable: true maxLength: 64 example: CCR578fh8 regulator_advisor_id: type: string nullable: true maxLength: 64 example: RAI48483jd life_events: description: Life events of the investor type: array items: required: - event_id - event_type - status properties: event_id: type: string example: LISALETI-SCX540 event_type: type: string example: Terminal illness status: type: string example: completed reference_version: type: integer example: 1 created_at: type: string format: date-time readOnly: true example: '2022-12-29T10:36:03.064Z' updated_at: type: string format: date-time readOnly: true example: '2022-12-29T10:36:03.064Z' hmrc_data: description: Mandatory only if the financial product is LISA type: object required: - status properties: status: description: >- Indicate the status of the LISA investor and investor account creation with HMRC type: string enum: - hmrc_process_not_started - hmrc_process_inprogress - hmrc_investor_creation_failed - hmrc_account_creation_successful - hmrc_account_creation_failed - hmrc_account_cancelled lisa_investor_reference: description: Investor account reference created at HMRC for a LISA account type: string reason: description: Error reason received from HMRC type: string nullable: true UpdateInvestorAccountRequest: required: - reference_version properties: custodian_account_reference: type: string nullable: true maxLength: 64 example: CAR573838383 custodian_id: type: string nullable: true maxLength: 64 example: CID594898ff custodian_client_reference: type: string nullable: true maxLength: 64 example: CCR578fh8 regulator_advisor_id: type: string nullable: true maxLength: 64 example: RAI48483jd reference_version: type: integer example: 1 FeeCodeInstruction: title: Root Type for Fee Code description: JSON for the Fee code resource type required: - fee_code - fee_type - fee_rate - status - created_at - updated_at type: object properties: fee_code: type: string maxLength: 10 example: FF_50 fee_type: type: string example: Flat_fee_percentage_based enum: - Flat_fee_percentage_based fee_rate: description: Fee rate in basis points. Numeric with 2 decimals type: string example: '50.00' status: type: string example: Active enum: - Active - Inactive created_at: type: string format: date-time updated_at: type: string format: date-time GetFeeCodeResponse: title: Get fee code response description: Definition of Get fee code response required: - fee_codes properties: fee_codes: type: array items: title: Root Type for Fee Code description: JSON for the Fee code resource type required: - fee_code - fee_type - fee_rate - status - created_at - updated_at type: object properties: fee_code: type: string maxLength: 10 example: FF_50 fee_type: type: string example: Flat_fee_percentage_based enum: - Flat_fee_percentage_based fee_rate: description: Fee rate in basis points. Numeric with 2 decimals type: string example: '50.00' status: type: string example: Active enum: - Active - Inactive created_at: type: string format: date-time updated_at: type: string format: date-time FeeSetupResponse: title: Root Type for Fee Setup description: JSON for the Fee setup resource type required: - fee_setup_id - fee_calculation_entity - fee_calculation_method - sub_transaction_type - primary_transaction_type - fee_code - assigned_to - start_date - status - created_at - updated_at properties: fee_setup_id: type: string example: 6efa81d9-073f-4ac2-9e09-66d6934b57e3 fee_calculation_entity: type: string example: Investor enum: - Investor - Financial Product - Portfolio fee_calculation_method: type: string example: Daily Accrual enum: - Daily Accrual primary_transaction_type: type: string example: Fees sub_transaction_type: type: string example: Advisor ongoing fee enum: - Management fee - Advisor ongoing fee - Service fees - Product administration fees - Portfolio management fees - Platform fees fee_code: type: string example: FF_50 assigned_to: type: array example: All items: description: >- WARNING: Missing items property in array schema. Missing items property has been filled with this AnyType schema. start_date: type: string format: date example: '2022-10-31' end_date: type: string format: date example: '2023-10-31' status: type: string example: Active enum: - Active - Inactive created_at: type: string format: date-time example: '2022-10-26T13:24:00.459Z' updated_at: type: string format: date-time example: '2022-10-26T13:24:00.459Z' GetFeeSetupResponse: title: Get fee setup response description: Definition of Get fee setup response required: - fee_setups properties: fee_setups: type: array items: title: Root Type for Fee Setup description: JSON for the Fee setup resource type required: - fee_setup_id - fee_calculation_entity - fee_calculation_method - sub_transaction_type - primary_transaction_type - fee_code - assigned_to - start_date - status - created_at - updated_at properties: fee_setup_id: type: string example: 6efa81d9-073f-4ac2-9e09-66d6934b57e3 fee_calculation_entity: type: string example: Investor enum: - Investor - Financial Product - Portfolio fee_calculation_method: type: string example: Daily Accrual enum: - Daily Accrual primary_transaction_type: type: string example: Fees sub_transaction_type: type: string example: Advisor ongoing fee enum: - Management fee - Advisor ongoing fee - Service fees - Product administration fees - Portfolio management fees - Platform fees fee_code: type: string example: FF_50 assigned_to: type: array example: All items: description: >- WARNING: Missing items property in array schema. Missing items property has been filled with this AnyType schema. start_date: type: string format: date example: '2022-10-31' end_date: type: string format: date example: '2023-10-31' status: type: string example: Active enum: - Active - Inactive created_at: type: string format: date-time example: '2022-10-26T13:24:00.459Z' updated_at: type: string format: date-time example: '2022-10-26T13:24:00.459Z' FeeExemptionResponse: title: Root Type for Fee Exemption description: JSON for the Fee Exemption resource type required: - fee_exemption_id - fee_exemption_entity - sub_transaction_type - primary_transaction_type - assigned_to - exempted_assets - start_date - status - created_at - updated_at properties: fee_exemption_id: type: string example: c4b7bca6-7020-42c2-b74b-2116fb23b124 fee_exemption_entity: type: string example: Investor enum: - Investor - Financial Product - Portfolio primary_transaction_type: type: string example: Fees sub_transaction_type: type: string example: Service fees enum: - Management fee - Advisor ongoing fee - Service fees - Product administration fees - Portfolio management fees - Platform fees assigned_to: type: array example: All items: description: >- WARNING: Missing items property in array schema. Missing items property has been filled with this AnyType schema. exempted_assets: type: array items: type: string example: cash start_date: type: string format: date example: '2023-01-26' end_date: type: string format: date example: '2023-02-26' status: type: string example: Active enum: - Active - Inactive created_at: type: string format: date-time example: '2023-01-26T16:01:49.002Z' updated_at: type: string format: date-time example: '2023-01-26T16:01:49.002Z' GetFeeExemptionResponse: title: Get fee exemption response description: Definition of Get fee exemption response required: - fee_exemptions properties: fee_exemptions: type: array items: title: Root Type for Fee Exemption description: JSON for the Fee Exemption resource type required: - fee_exemption_id - fee_exemption_entity - sub_transaction_type - primary_transaction_type - assigned_to - exempted_assets - start_date - status - created_at - updated_at properties: fee_exemption_id: type: string example: c4b7bca6-7020-42c2-b74b-2116fb23b124 fee_exemption_entity: type: string example: Investor enum: - Investor - Financial Product - Portfolio primary_transaction_type: type: string example: Fees sub_transaction_type: type: string example: Service fees enum: - Management fee - Advisor ongoing fee - Service fees - Product administration fees - Portfolio management fees - Platform fees assigned_to: type: array example: All items: description: >- WARNING: Missing items property in array schema. Missing items property has been filled with this AnyType schema. exempted_assets: type: array items: type: string example: cash start_date: type: string format: date example: '2023-01-26' end_date: type: string format: date example: '2023-02-26' status: type: string example: Active enum: - Active - Inactive created_at: type: string format: date-time example: '2023-01-26T16:01:49.002Z' updated_at: type: string format: date-time example: '2023-01-26T16:01:49.002Z' FeeNominations: title: Fee nominee pots description: Definition of an single fee nominee pot required: - nominee_pot_id type: object properties: nominee_pot_id: description: Pot id of the nominee pot type: string FeeNominationCreationResponse: title: Fee nomination creation response description: Definition of Fee nomination creation response required: - nominations - reference_version - investor_id - created_at - updated_at properties: nominations: type: array items: title: Fee nominee pots description: Definition of an single fee nominee pot required: - nominee_pot_id type: object properties: nominee_pot_id: description: Pot id of the nominee pot type: string example: - nominee_pot_id: pot-UKW3452800 reference_version: type: integer readOnly: true example: 1 investor_id: description: Investor Id of the nominee pot type: string example: inv-XUT11265 created_at: type: string format: date-time readOnly: true example: '2023-02-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2023-02-10T07:36:05.884Z' FeeNominationCreationRequest: title: Fee nomination creation request description: Definition of Fee nomination creation request required: - nominations properties: nominations: description: Only one fee nominee pot can be given type: array items: title: Fee nominee pots description: Definition of an single fee nominee pot required: - nominee_pot_id type: object properties: nominee_pot_id: description: Pot id of the nominee pot type: string example: - nominee_pot_id: pot-UKW3452800 FeeNominationDeleteResponse: title: Fee nomination delete response description: Success message required: - message properties: message: type: string example: Successfully deleted nominations for investor [inv-XUT11265] FeeNominationUpdateRequest: title: Fee nomination update request description: Definition of Fee nomination update request required: - nominations - reference_version properties: nominations: description: >- Replaces the array in the server. Only one fee nominee pot can be given type: array items: title: Fee nominee pots description: Definition of an single fee nominee pot required: - nominee_pot_id type: object properties: nominee_pot_id: description: Pot id of the nominee pot type: string example: - nominee_pot_id: pot-UKW3452800 reference_version: description: Must match with the reference version in the server type: integer example: 1 ContributingEmployer: description: Contributing Employer type: object properties: contributing_employer_id: description: system generated id type: string readOnly: true maxLength: 100 example: cem-ZWY58878 name: description: Name of the contributing employer type: string maxLength: 100 example: Acme Ltd investor_id: description: Id of the investor type: string example: inv-QXR38578 registration_number: description: Registration number of the contributing employer type: string example: '12345678' address: type: object properties: address_line_1: description: Address line 1 type: string example: 123 Main Street address_line_2: description: Address line 2 type: string example: Suite 100 city: description: City type: string example: San Francisco state: description: State type: string example: CA country: description: Country type: string example: US postal_code: description: Postal code type: string example: '94105' status: description: Status of the contributing employer type: string example: active bank_accounts: description: Array of bank account IDs type: array items: type: string example: ba-bc00c28f-b3fc-42b7 reference_version: type: integer example: 1 readOnly: true created_at: description: Date and time when the contributing employer was created type: string format: date-time readOnly: true example: '2020-01-01T00:00:00.000Z' updated_at: description: Date and time when the contributing employer was last updated type: string format: date-time readOnly: true example: '2020-01-01T00:00:00.000Z' ContributingEmployers: description: Array of contributing employers type: object properties: contributingEmployers: type: array items: description: Contributing Employer type: object properties: contributing_employer_id: description: system generated id type: string readOnly: true maxLength: 100 example: cem-ZWY58878 name: description: Name of the contributing employer type: string maxLength: 100 example: Acme Ltd investor_id: description: Id of the investor type: string example: inv-QXR38578 registration_number: description: Registration number of the contributing employer type: string example: '12345678' address: type: object properties: address_line_1: description: Address line 1 type: string example: 123 Main Street address_line_2: description: Address line 2 type: string example: Suite 100 city: description: City type: string example: San Francisco state: description: State type: string example: CA country: description: Country type: string example: US postal_code: description: Postal code type: string example: '94105' status: description: Status of the contributing employer type: string example: active bank_accounts: description: Array of bank account IDs type: array items: type: string example: ba-bc00c28f-b3fc-42b7 reference_version: type: integer example: 1 readOnly: true created_at: description: Date and time when the contributing employer was created type: string format: date-time readOnly: true example: '2020-01-01T00:00:00.000Z' updated_at: description: Date and time when the contributing employer was last updated type: string format: date-time readOnly: true example: '2020-01-01T00:00:00.000Z' schemas-BankAccount: required: - account_name - default_account - bank_account_number properties: account_name: type: string maxLength: 100 example: David Brown default_account: description: For contributing employer, this will always be no type: string enum: - 'yes' - 'no' example: 'no' bank_account_number: description: Unique for the investor and contributing employer type: string minLength: 6 maxLength: 8 example: '99005678' account_status: type: string enum: - active - inactive example: active sort_code: type: string minLength: 6 maxLength: 8 example: '778856' building_society_roll_number: type: string minLength: 1 maxLength: 18 example: '11332272' CreateContributingEmployerRequest: required: - name - investor_id - registration_number - address - status properties: name: description: Name of the contributing employer type: string maxLength: 100 example: Acme Ltd investor_id: description: Id of the investor type: string example: inv-QXR38578 registration_number: description: Registration number of the contributing employer type: string example: '12345678' address: type: object properties: postal_code: type: string example: S2 2DF address_line: type: string nullable: true example: '14' street_name: type: string nullable: true example: Tottenham Court Road city: type: string nullable: true example: London state: type: string nullable: true example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country status: description: Status of the contributing employer type: string enum: - active - inactive example: active bank_accounts: description: >- Allow to create only one bank account when creating a new contributing employer. type: array items: required: - account_name - default_account - bank_account_number properties: account_name: type: string maxLength: 100 example: David Brown default_account: description: For contributing employer, this will always be no type: string enum: - 'yes' - 'no' example: 'no' bank_account_number: description: Unique for the investor and contributing employer type: string minLength: 6 maxLength: 8 example: '99005678' account_status: type: string enum: - active - inactive example: active sort_code: type: string minLength: 6 maxLength: 8 example: '778856' building_society_roll_number: type: string minLength: 1 maxLength: 18 example: '11332272' MaskedBankAccount: properties: bank_account_id: description: system generated id type: string readOnly: true maxLength: 100 example: ba-20b904f7-8d05-4efd-bd36-4ec3b1ce8e03 investor_id: description: Id of the investor type: string example: inv-QXR38578 contributing_party_id: description: Id of the contributing party type: string example: cem-ZWY58878 account_name: type: string maxLength: 100 example: David Brown bank_account_type: type: string enum: - investor - contributing_employer example: contributing_employer default_account: description: For contributing employer, this will always be no type: string enum: - 'yes' - 'no' example: 'no' bank_account_number: description: Unique for the investor and contributing employer type: string minLength: 6 maxLength: 8 example: '****5678' account_status: type: string enum: - active - inactive example: active sort_code: type: string minLength: 6 maxLength: 8 example: '****56' building_society_roll_number: type: string minLength: 1 maxLength: 18 example: '******72' reference_version: type: integer readOnly: true example: 1 created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' CreateContributingEmployerReponse: description: Contributing Employer type: object properties: contributing_employer_id: description: system generated id type: string readOnly: true maxLength: 100 example: cem-ZWY58878 name: description: Name of the contributing employer type: string maxLength: 100 example: Acme Ltd investor_id: description: Id of the investor type: string example: inv-QXR38578 registration_number: description: Registration number of the contributing employer type: string example: '12345678' address: type: object properties: address_line: description: Address line type: string example: '14' city: description: City type: string example: London state: description: State type: string example: England country: description: Country type: string example: GBR postal_code: description: Postal code type: string example: S2 2DF status: description: Status of the contributing employer type: string example: active bank_accounts: description: >- Allowed to create only one bank account when creating a new contributing employer. type: array items: properties: bank_account_id: description: system generated id type: string readOnly: true maxLength: 100 example: ba-20b904f7-8d05-4efd-bd36-4ec3b1ce8e03 investor_id: description: Id of the investor type: string example: inv-QXR38578 contributing_party_id: description: Id of the contributing party type: string example: cem-ZWY58878 account_name: type: string maxLength: 100 example: David Brown bank_account_type: type: string enum: - investor - contributing_employer example: contributing_employer default_account: description: For contributing employer, this will always be no type: string enum: - 'yes' - 'no' example: 'no' bank_account_number: description: Unique for the investor and contributing employer type: string minLength: 6 maxLength: 8 example: '****5678' account_status: type: string enum: - active - inactive example: active sort_code: type: string minLength: 6 maxLength: 8 example: '****56' building_society_roll_number: type: string minLength: 1 maxLength: 18 example: '******72' reference_version: type: integer readOnly: true example: 1 created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' reference_version: type: integer example: 1 created_at: description: Date and time when the contributing employer was created type: string format: date-time readOnly: true example: '2020-01-01T00:00:00.000Z' updated_at: description: Date and time when the contributing employer was last updated type: string format: date-time readOnly: true example: '2020-01-01T00:00:00.000Z' UpdateContributingEmployerRequest: title: Update Request Body for contributing employer description: JSON for the Update contributing employer resource type required: - reference_version properties: name: description: Name of the contributing employer type: string maxLength: 100 example: Acme Ltd registration_number: description: Registration number of the contributing employer type: string example: '12345678' address: type: object properties: postal_code: type: string example: S2 2DF address_line: type: string nullable: true example: '14' street_name: type: string nullable: true example: Tottenham Court Road city: type: string nullable: true example: London state: type: string nullable: true example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country status: description: Status of the contributing employer type: string enum: - active - inactive example: active reference_version: type: integer example: 1 RecurringContribution: required: - contribution_id - contribution_name - pot_id - financial_product_id - investor_id - amount - sub_transaction_type - currency - payment_type - service_provider - purpose - payment_schedule - service_provider_params - status - created_at - updated_at properties: contribution_id: description: System generated unique id type: string example: RCB-GC-AB24DE7 contribution_name: description: User given identifier for the contribution type: string maxLength: 100 example: Contributions to SIPP pot_id: description: Pot ID of investor to direct the payment type: string example: pot-UKW34528503 financial_product_id: description: Financial Product Id type: string example: sipp_accumulation investor_id: description: >- Investor ID of the investor making the contribution. For a joint pot, Investor ID of the party making contribution should be included. type: string example: inv-XUT11265 amount: description: >- Amount as a numeral string with two decimal points. (ex: 1500.00). Should be greater than or equal to the minimum investment for the financial product. type: string example: '100.00' sub_transaction_type: description: >- Sub transaction type for recurring contribution. Regular contribution - non relievable is only allowed for pots linked to SIPP Accumulation product type type: string example: Regular contribution - Employer enum: - Regular contribution - Regular contribution - non relievable - Regular contribution - Employer currency: description: Must be a currency configured for the Pot type: string example: GBP payment_type: description: Type of payment type: string example: direct_debit enum: - direct_debit service_provider: description: Service provider managing the recurring payment subscription type: string example: gocardless enum: - gocardless purpose: description: >- invest option is allowed only if investment_instructions given or a portfolio is attached, if not the purpose should be cash. type: string example: invest enum: - cash - invest investment_instructions: description: >- Mandatory only if purpose:"invest" and pot does not have a portfolio template attached (e.g. An execution-only or direct-to-consumer wealth manager). type: array items: required: - investment_product_id properties: investment_product_id: type: string quantity: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 332.34, 1050.0025). For `funds`, upto 4 decimal places. For `equities`, `bonds` and `etf`, 0 decimal places allowed. type: string value: description: >- Require if `quantity` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string example: - investment_product_id: isa_1223931892 quantity: '300' - investment_product_id: isa_9913091898 quantity: '500' source_id: description: >- Only for payments intents for employer contributions made towards SIPP Accumulation Products type: string example: cem-ASP43560 payment_schedule: description: Parameters based on payment schedule type: object required: - interval_unit - interval - start_date properties: interval_unit: description: Repeating interval unit of recurring payment type: string enum: - monthly interval: description: >- Repeating interval of recurring payment. For monthly, should be 1-12 type: integer date: description: >- Date the payment is expected to be triggered if frequency is monthly. 1-28 or -1 to indicate the last day of the month type: integer start_date: description: >- Date to initiate the recurring payments. If approvals haven't been received by the given start date, the start date will be moved to the subscription activation date. Should be in YYYY-MM-DD format type: string format: date end_date: description: >- Date to conclude the recurring payments, if count is not provided. Should be in YYYY-MM-DD format type: string format: date count: description: >- No of recurring payments to trigger before concluding the payments, if an end date is not provided type: integer example: interval_unit: monthly interval: 2 date: 1 start_date: '2023-04-02' end_date: '2023-11-02' service_provider_params: type: object required: - status properties: status: description: Status transitions depend on the service provider type: string example: Subscription created enum: - Pending service provider setup - Customer data collection completed - Customer data created - Customer data creation failed - Authorization received - Authorization failed - Subscription created - Subscription creation failed - Subscription paused - Subscription resumed - Subscription cancelled - Subscription finished - Mandate cancelled - Mandate expired - Mandate replaced - Mandate transferred authorization_reference: description: >- Authorization reference ID provided by a service provider maintained under payment authorizations for an investor type: string example: MD000VDMMYGD0T contribution_reference: description: >- Contribution reference ID provided by a service provider maintained under payment authorizations for an investor type: string example: SB000A6A5EVJHE customer_reference: description: >- Customer reference ID provided by a service provider maintained under payment authorizations for an investor type: string example: CU000Y5VVH7TDQ request_id: description: >- Request ID used to create a contribution with the service provider type: string example: BRQ0004CZJA19GF reason: description: Reason for disabling/cancelling the contribution type: string example: Paid out authorization_url: description: >- Authorization URL sent by service provider to setup customer reference data and bank account information type: string example: https://authexample.gocardless-sandbox.com status: type: string example: Active enum: - Pending - Active - Finished - Rejected - Paused - Cancelled next_payment_dates: type: array example: - '2023-04-16' - '2023-04-30' items: type: string format: date created_at: type: string format: date-time updated_at: type: string format: date-time RecurringContributions: required: - recurring_contributions - next_page_available type: object properties: recurring_contributions: type: array items: required: - contribution_id - contribution_name - pot_id - financial_product_id - investor_id - amount - sub_transaction_type - currency - payment_type - service_provider - purpose - payment_schedule - service_provider_params - status - created_at - updated_at properties: contribution_id: description: System generated unique id type: string example: RCB-GC-AB24DE7 contribution_name: description: User given identifier for the contribution type: string maxLength: 100 example: Contributions to SIPP pot_id: description: Pot ID of investor to direct the payment type: string example: pot-UKW34528503 financial_product_id: description: Financial Product Id type: string example: sipp_accumulation investor_id: description: >- Investor ID of the investor making the contribution. For a joint pot, Investor ID of the party making contribution should be included. type: string example: inv-XUT11265 amount: description: >- Amount as a numeral string with two decimal points. (ex: 1500.00). Should be greater than or equal to the minimum investment for the financial product. type: string example: '100.00' sub_transaction_type: description: >- Sub transaction type for recurring contribution. Regular contribution - non relievable is only allowed for pots linked to SIPP Accumulation product type type: string example: Regular contribution - Employer enum: - Regular contribution - Regular contribution - non relievable - Regular contribution - Employer currency: description: Must be a currency configured for the Pot type: string example: GBP payment_type: description: Type of payment type: string example: direct_debit enum: - direct_debit service_provider: description: Service provider managing the recurring payment subscription type: string example: gocardless enum: - gocardless purpose: description: >- invest option is allowed only if investment_instructions given or a portfolio is attached, if not the purpose should be cash. type: string example: invest enum: - cash - invest investment_instructions: description: >- Mandatory only if purpose:"invest" and pot does not have a portfolio template attached (e.g. An execution-only or direct-to-consumer wealth manager). type: array items: required: - investment_product_id properties: investment_product_id: type: string quantity: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 332.34, 1050.0025). For `funds`, upto 4 decimal places. For `equities`, `bonds` and `etf`, 0 decimal places allowed. type: string value: description: >- Require if `quantity` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string example: - investment_product_id: isa_1223931892 quantity: '300' - investment_product_id: isa_9913091898 quantity: '500' source_id: description: >- Only for payments intents for employer contributions made towards SIPP Accumulation Products type: string example: cem-ASP43560 payment_schedule: description: Parameters based on payment schedule type: object required: - interval_unit - interval - start_date properties: interval_unit: description: Repeating interval unit of recurring payment type: string enum: - monthly interval: description: >- Repeating interval of recurring payment. For monthly, should be 1-12 type: integer date: description: >- Date the payment is expected to be triggered if frequency is monthly. 1-28 or -1 to indicate the last day of the month type: integer start_date: description: >- Date to initiate the recurring payments. If approvals haven't been received by the given start date, the start date will be moved to the subscription activation date. Should be in YYYY-MM-DD format type: string format: date end_date: description: >- Date to conclude the recurring payments, if count is not provided. Should be in YYYY-MM-DD format type: string format: date count: description: >- No of recurring payments to trigger before concluding the payments, if an end date is not provided type: integer example: interval_unit: monthly interval: 2 date: 1 start_date: '2023-04-02' end_date: '2023-11-02' service_provider_params: type: object required: - status properties: status: description: Status transitions depend on the service provider type: string example: Subscription created enum: - Pending service provider setup - Customer data collection completed - Customer data created - Customer data creation failed - Authorization received - Authorization failed - Subscription created - Subscription creation failed - Subscription paused - Subscription resumed - Subscription cancelled - Subscription finished - Mandate cancelled - Mandate expired - Mandate replaced - Mandate transferred authorization_reference: description: >- Authorization reference ID provided by a service provider maintained under payment authorizations for an investor type: string example: MD000VDMMYGD0T contribution_reference: description: >- Contribution reference ID provided by a service provider maintained under payment authorizations for an investor type: string example: SB000A6A5EVJHE customer_reference: description: >- Customer reference ID provided by a service provider maintained under payment authorizations for an investor type: string example: CU000Y5VVH7TDQ request_id: description: >- Request ID used to create a contribution with the service provider type: string example: BRQ0004CZJA19GF reason: description: Reason for disabling/cancelling the contribution type: string example: Paid out authorization_url: description: >- Authorization URL sent by service provider to setup customer reference data and bank account information type: string example: https://authexample.gocardless-sandbox.com status: type: string example: Active enum: - Pending - Active - Finished - Rejected - Paused - Cancelled next_payment_dates: type: array example: - '2023-04-16' - '2023-04-30' items: type: string format: date created_at: type: string format: date-time updated_at: type: string format: date-time next_page_available: description: This indicates the availability of the next page type: boolean readOnly: true RecurringPaymentRequestSchema: required: - request_id - contribution_name - pot_id - investor_id - amount - sub_transaction_type - currency - payment_type - service_provider - purpose - payment_schedule properties: request_id: description: 'Unique request id to ensure idempotency. (ex: UUID)' type: string format: uuid contribution_name: description: User given identifier for the contribution type: string maxLength: 100 example: Contributions to SIPP pot_id: description: Pot ID of investor to direct the payment type: string example: pot-UKW34528503 investor_id: description: >- Investor ID of the investor making the contribution. For a joint pot, Investor ID of the party making contribution should be included. type: string example: inv-XUT11265 amount: description: >- Amount as a numeral string with two decimal points. (ex: 1500.00) Should be greater than or equal to the minimum investment for the financial product. type: string example: '100.00' sub_transaction_type: description: >- Sub transaction type for recurring contribution. Regular contribution - non relievable is only allowed for pots linked to SIPP Accumulation product type type: string example: Regular contribution - Employer enum: - Regular contribution - Regular contribution - non relievable - Regular contribution - Employer currency: description: Must be a currency configured for the Pot type: string example: GBP payment_type: description: Type of payment type: string example: direct_debit enum: - direct_debit service_provider: description: Service provider managing the recurring payment subscription type: string example: gocardless enum: - gocardless purpose: description: >- invest option is allowed only if investment_instructions given or a portfolio is attached, if not the purpose should be cash. type: string example: invest enum: - cash - invest investment_instructions: description: >- Mandatory only if purpose:"invest" and pot does not have a portfolio template attached (e.g. An execution-only or direct-to-consumer wealth manager). type: array items: required: - investment_product_id properties: investment_product_id: type: string quantity: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 332.34, 1050.0025). For `funds`, upto 4 decimal places. For `equities`, `bonds` and `etf`, 0 decimal places allowed. type: string value: description: >- Require if `quantity` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string example: - investment_product_id: isa_1223931892 quantity: '300' - investment_product_id: isa_9913091898 quantity: '500' source_id: description: >- Required only for payments intents for employer contributions made towards SIPP Accumulation Products type: string example: cem-ASP43560 payment_schedule: description: Parameters based on payment schedule type: object required: - interval_unit - interval - start_date properties: interval_unit: description: Repeating interval unit of recurring payment type: string enum: - monthly interval: description: >- Repeating interval of recurring payment. For monthly, should be 1-12 type: integer date: description: >- Date the payment is expected to be triggered if frequency is monthly. 1-28 or -1 to indicate the last day of the month type: integer start_date: description: >- Date to initiate the recurring payments. If approvals haven't been received by the given start date, the start date will be moved to the subscription activation date. Should be in YYYY-MM-DD format type: string format: date end_date: description: >- Date to conclude the recurring payments, if count is not provided. Should be in YYYY-MM-DD format type: string format: date count: description: >- No of recurring payments to trigger before concluding the payments, if an end date is not provided type: integer example: interval_unit: monthly interval: 2 date: 1 start_date: '2023-04-02' end_date: '2023-11-02' RecurringPaymentResponseSchema: required: - contribution_id - contribution_name - pot_id - investor_id - amount - sub_transaction_type - currency - payment_type - service_provider - purpose - payment_schedule - service_provider_params - status properties: contribution_id: description: System generated unique id type: string example: RCB-GC-AB24DE7 contribution_name: description: User given identifier for the contribution type: string maxLength: 100 example: Contributions to SIPP pot_id: description: Pot ID of investor to direct the payment type: string example: pot-UKW34528503 investor_id: description: >- Investor ID of the investor making the contribution. For a joint pot, Investor ID of the party making contribution should be included. type: string example: inv-XUT11265 amount: description: >- Amount as a numeral string with two decimal points. (ex: 1500.00). Should be greater than or equal to the minimum investment for the financial product. type: string example: '100.00' sub_transaction_type: description: >- Sub transaction type for recurring contribution. Regular contribution - non relievable is only allowed for pots linked to SIPP Accumulation product type type: string example: Regular contribution - Employer enum: - Regular contribution - Regular contribution - non relievable - Regular contribution - Employer currency: description: Must be a currency configured for the Pot type: string example: GBP payment_type: description: Type of payment type: string example: direct_debit enum: - direct_debit service_provider: description: Service provider managing the recurring payment subscription type: string example: gocardless enum: - gocardless purpose: description: >- invest option is allowed only if investment_instructions given or a portfolio is attached, if not the purpose should be cash. type: string example: invest enum: - cash - invest investment_instructions: description: >- Mandatory only if purpose:"invest" and pot does not have a portfolio template attached (e.g. An execution-only or direct-to-consumer wealth manager). type: array items: required: - investment_product_id properties: investment_product_id: type: string quantity: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 332.34, 1050.0025). For `funds`, upto 4 decimal places. For `equities`, `bonds` and `etf`, 0 decimal places allowed. type: string value: description: >- Require if `quantity` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string example: - investment_product_id: isa_1223931892 quantity: '300' - investment_product_id: isa_9913091898 quantity: '500' source_id: description: >- Only for payments intents for employer contributions made towards SIPP Accumulation Products type: string example: cem-ASP43560 payment_schedule: description: Parameters based on payment schedule type: object required: - interval_unit - interval - start_date properties: interval_unit: description: Repeating interval unit of recurring payment type: string enum: - monthly interval: description: >- Repeating interval of recurring payment. For monthly, should be 1-12 type: integer date: description: >- Date the payment is expected to be triggered if frequency is monthly. 1-28 or -1 to indicate the last day of the month type: integer start_date: description: >- Date to initiate the recurring payments. If approvals haven't been received by the given start date, the start date will be moved to the subscription activation date. Should be in YYYY-MM-DD format type: string format: date end_date: description: >- Date to conclude the recurring payments, if count is not provided. Should be in YYYY-MM-DD format type: string format: date count: description: >- No of recurring payments to trigger before concluding the payments, if an end date is not provided type: integer example: interval_unit: monthly interval: 2 date: 1 start_date: '2023-04-02' end_date: '2023-11-02' service_provider_params: type: object required: - status properties: status: description: Status transitions depend on the service provider type: string example: Pending service provider setup enum: - Pending service provider setup - Customer data collection completed - Customer data created - Customer data creation failed - Authorization received - Authorization failed - Subscription created - Subscription creation failed - Subscription paused - Subscription resumed - Subscription cancelled - Subscription finished - Mandate cancelled - Mandate expired - Mandate replaced - Mandate transferred status: type: string example: Pending enum: - Pending - Active - Finished - Rejected - Paused - Cancelled RecurringContributionUpdateRequest: properties: amount: description: >- Amount as a numeral string with two decimal points. (ex: 1500.00) Should be greater than or equal to the minimum investment for the financial product. type: string example: '1500.00' contribution_name: description: User given identifier for the contribution type: string maxLength: 100 example: New contributions to SIPP RecurringPaymentPauseRequest: properties: pause_cycles: description: >- The number of cycles to pause a subscription for. A cycle is one duration of interval and interval_unit. This should be a non zero positive value. type: integer example: 1 schemas-RecurringContribution: required: - frequency - amount properties: frequency: description: frequency can have values `Monthly` type: string enum: - Monthly amount: description: The amount can have upto 2 decimal points type: number example: frequency: Monthly amount: 600 Fees: required: - fee_type - frequency - amount properties: fee_type: description: Type of the fee type: string frequency: description: frequency can have values `Monthly` type: string enum: - Monthly amount: description: The amount can have upto 2 decimal points type: number example: fee_type: Management fee frequency: Monthly amount: 600 AccumulateRequest: type: object required: - name - date_of_birth - intended_retirement_age - current_pension_value - growth_rate properties: name: description: Name of the investor type: string maxLength: 100 example: David Brown date_of_birth: description: Should be today or an earlier date type: string format: date example: '1963-07-19' intended_retirement_age: description: At most should be 100. Should be greater than current age type: integer example: 60 current_pension_value: description: Current value of the pension pot. Can contain up to 2 decimal points type: number example: 1000 growth_rate: description: Annual growth rate of the pot. Can contain up to 2 decimal points type: number example: 2.5 recurring_contributions: type: array items: required: - frequency - amount properties: frequency: description: frequency can have values `Monthly` type: string enum: - Monthly amount: description: The amount can have upto 2 decimal points type: number example: frequency: Monthly amount: 600 one_off_payment: description: >- One-off payments are added to the initial value as tax relievable. Can contain up to 2 decimal points type: number example: 500 transfer_in: description: >- Transfer-ins are added to the initial value as tax relievable. Can contain up to 2 decimal points type: number example: 500 fees: type: array items: required: - fee_type - frequency - amount properties: fee_type: description: Type of the fee type: string frequency: description: frequency can have values `Monthly` type: string enum: - Monthly amount: description: The amount can have upto 2 decimal points type: number example: fee_type: Management fee frequency: Monthly amount: 600 projection_coverage_years: description: >- Projection is given for the requested coverage years and the retirement year. If not given, projection is given for 1st, 3rd, 5th and retirement year. Can contains positive integers less than 100 type: array example: - 5 items: description: >- WARNING: Missing items property in array schema. Missing items property has been filled with this AnyType schema. PensionProjections: required: - coverage_year - date - value properties: coverage_year: description: Given coverage year type: integer date: description: Date that indicate last date of coverage year type: string value: description: Value of the pot type: number example: coverage_year: 5 date: '2028-05-09' value: 1167.682 ProjectionAccumulationResponse: allOf: - type: object required: - name - date_of_birth - intended_retirement_age - current_pension_value - growth_rate properties: name: description: Name of the investor type: string maxLength: 100 example: David Brown date_of_birth: description: Should be today or an earlier date type: string format: date example: '1963-07-19' intended_retirement_age: description: At most should be 100. Should be greater than current age type: integer example: 60 current_pension_value: description: >- Current value of the pension pot. Can contain up to 2 decimal points type: number example: 1000 growth_rate: description: >- Annual growth rate of the pot. Can contain up to 2 decimal points type: number example: 2.5 recurring_contributions: type: array items: required: - frequency - amount properties: frequency: description: frequency can have values `Monthly` type: string enum: - Monthly amount: description: The amount can have upto 2 decimal points type: number example: frequency: Monthly amount: 600 one_off_payment: description: >- One-off payments are added to the initial value as tax relievable. Can contain up to 2 decimal points type: number example: 500 transfer_in: description: >- Transfer-ins are added to the initial value as tax relievable. Can contain up to 2 decimal points type: number example: 500 fees: type: array items: required: - fee_type - frequency - amount properties: fee_type: description: Type of the fee type: string frequency: description: frequency can have values `Monthly` type: string enum: - Monthly amount: description: The amount can have upto 2 decimal points type: number example: fee_type: Management fee frequency: Monthly amount: 600 projection_coverage_years: description: >- Projection is given for the requested coverage years and the retirement year. If not given, projection is given for 1st, 3rd, 5th and retirement year. Can contains positive integers less than 100 type: array example: - 5 items: description: >- WARNING: Missing items property in array schema. Missing items property has been filled with this AnyType schema. - type: object required: - pension_projections - inflation_rate properties: pension_projections: description: Projection of the pension coverage years type: array readOnly: true items: required: - coverage_year - date - value properties: coverage_year: description: Given coverage year type: integer date: description: Date that indicate last date of coverage year type: string value: description: Value of the pot type: number example: coverage_year: 5 date: '2028-05-09' value: 1167.682 inflation_rate: description: Inflation rate considered for calculations type: number example: 2 CrystallisationInstruction: required: - pot_id properties: pot_id: description: SIPP Accumulation pot from which funds should be crystalised type: string percentage: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 15.34). type: string value: description: >- Require if `percentage` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string DrawdownInstructions: required: - pot_id - purpose - percentage properties: pot_id: description: >- SIPP Flexi Access Drawdown pot to which funds should be allocated after PCLS withdrawals type: string purpose: description: >- invest option is allowed only if investment_instructions given or a portfolio is attached, if not the purpose should be cash. type: string enum: - cash - invest value: description: >- Percentage of funds remaining after PCLS withdrawal from each accumulation pot, to be allocated to this pot ID type: string DrawdownAllocation: required: - pot_id - amount properties: pot_id: description: >- SIPP Flexi Access Drawdown pot to which funds should be allocated after PCLS withdrawals from the crystallisation pot type: string amount: description: Amount transferred from the crystallisation pot type: string AllocationDetails: required: - accumulation_pot_id - crystallisation_amount - pcls_amount - drawdown_amount - drawdown_allocation properties: accumulation_pot_id: description: SIPP Accumulation pot from which funds are crystalised type: string example: pot-GYQ5423100 crystallisation_amount: type: string example: '1000' pcls_amount: description: Tax free amount paid to the investors bank account type: string example: '250' drawdown_amount: description: Amount that will be distributed among the drawdown pots type: string example: '750' drawdown_allocation: description: Drawdown allocation type: array items: required: - pot_id - amount properties: pot_id: description: >- SIPP Flexi Access Drawdown pot to which funds should be allocated after PCLS withdrawals from the crystallisation pot type: string amount: description: Amount transferred from the crystallisation pot type: string example: - pot_id: pot-XWL3855774 amount: '225' - pot_id: pot-SDQ5009730 amount: '525' Crystallisation: required: - crystallisation_id - investor_id - bank_account_id - crystallisation_instructions - drawdown_instructions - status - created_at - updated_at properties: crystallisation_id: description: System generated unique id type: string example: SIPPCR-AB24DE7 investor_id: description: Investor ID of the investor making the crystallisation type: string example: inv-XUT11265 bank_account_id: description: Bank account ID of Investor type: string example: ba-bc00c28f-b3fc-42b7 crystallisation_instructions: description: Crystallisation instructions type: array items: required: - pot_id properties: pot_id: description: SIPP Accumulation pot from which funds should be crystalised type: string percentage: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 15.34). type: string value: description: >- Require if `percentage` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string example: - pot_id: pot-GYQ5423100 value: '1000' drawdown_instructions: description: Drawdown instructions type: array items: required: - pot_id - purpose - percentage properties: pot_id: description: >- SIPP Flexi Access Drawdown pot to which funds should be allocated after PCLS withdrawals type: string purpose: description: >- invest option is allowed only if investment_instructions given or a portfolio is attached, if not the purpose should be cash. type: string enum: - cash - invest value: description: >- Percentage of funds remaining after PCLS withdrawal from each accumulation pot, to be allocated to this pot ID type: string example: - pot_id: pot-XWL3855774 purpose: cash percentage: '30' - pot_id: pot-SDQ5009730 purpose: invest percentage: '70' reason: description: Reason if the request was not completed successfully type: string example: Free cash not available status: description: Status of crystallisation request type: string enum: - Accepted - Partially completed - Completed - Rejected - Failed allocation_details: description: Allocation Details type: array items: required: - accumulation_pot_id - crystallisation_amount - pcls_amount - drawdown_amount - drawdown_allocation properties: accumulation_pot_id: description: SIPP Accumulation pot from which funds are crystalised type: string example: pot-GYQ5423100 crystallisation_amount: type: string example: '1000' pcls_amount: description: Tax free amount paid to the investors bank account type: string example: '250' drawdown_amount: description: Amount that will be distributed among the drawdown pots type: string example: '750' drawdown_allocation: description: Drawdown allocation type: array items: required: - pot_id - amount properties: pot_id: description: >- SIPP Flexi Access Drawdown pot to which funds should be allocated after PCLS withdrawals from the crystallisation pot type: string amount: description: Amount transferred from the crystallisation pot type: string example: - pot_id: pot-XWL3855774 amount: '225' - pot_id: pot-SDQ5009730 amount: '525' investor_drawdown_statistics: description: Investor Drawdown Statistics type: object required: - total_crystallisation_amount - total_drawdown_amount - pcls_allowance_utilized - pcls_allowance_remaining properties: total_crystallisation_amount: description: >- Total amount crystalized from the investors accumulation pots across years type: string total_drawdown_amount: description: Total amount transferred to investors drawdown pots across years type: string pcls_allowance_utilized: description: Total PCLS allowance utilized by investor across years type: string pcls_allowance_remaining: description: Total PCLS allowance remaining for investor across years type: string example: total_crystallisation_amount: '7000' total_drawdown_amount: '5250' pcls_allowance_utilized: '1750' pcls_allowance_remaining: '266525' created_at: type: string format: date-time updated_at: type: string format: date-time Crystallisations: required: - crystallisations - next_page_available type: object properties: crystallisations: type: array items: required: - crystallisation_id - investor_id - bank_account_id - crystallisation_instructions - drawdown_instructions - status - created_at - updated_at properties: crystallisation_id: description: System generated unique id type: string example: SIPPCR-AB24DE7 investor_id: description: Investor ID of the investor making the crystallisation type: string example: inv-XUT11265 bank_account_id: description: Bank account ID of Investor type: string example: ba-bc00c28f-b3fc-42b7 crystallisation_instructions: description: Crystallisation instructions type: array items: required: - pot_id properties: pot_id: description: >- SIPP Accumulation pot from which funds should be crystalised type: string percentage: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 15.34). type: string value: description: >- Require if `percentage` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string example: - pot_id: pot-GYQ5423100 value: '1000' drawdown_instructions: description: Drawdown instructions type: array items: required: - pot_id - purpose - percentage properties: pot_id: description: >- SIPP Flexi Access Drawdown pot to which funds should be allocated after PCLS withdrawals type: string purpose: description: >- invest option is allowed only if investment_instructions given or a portfolio is attached, if not the purpose should be cash. type: string enum: - cash - invest value: description: >- Percentage of funds remaining after PCLS withdrawal from each accumulation pot, to be allocated to this pot ID type: string example: - pot_id: pot-XWL3855774 purpose: cash percentage: '30' - pot_id: pot-SDQ5009730 purpose: invest percentage: '70' reason: description: Reason if the request was not completed successfully type: string example: Free cash not available status: description: Status of crystallisation request type: string enum: - Accepted - Partially completed - Completed - Rejected - Failed allocation_details: description: Allocation Details type: array items: required: - accumulation_pot_id - crystallisation_amount - pcls_amount - drawdown_amount - drawdown_allocation properties: accumulation_pot_id: description: SIPP Accumulation pot from which funds are crystalised type: string example: pot-GYQ5423100 crystallisation_amount: type: string example: '1000' pcls_amount: description: Tax free amount paid to the investors bank account type: string example: '250' drawdown_amount: description: Amount that will be distributed among the drawdown pots type: string example: '750' drawdown_allocation: description: Drawdown allocation type: array items: required: - pot_id - amount properties: pot_id: description: >- SIPP Flexi Access Drawdown pot to which funds should be allocated after PCLS withdrawals from the crystallisation pot type: string amount: description: Amount transferred from the crystallisation pot type: string example: - pot_id: pot-XWL3855774 amount: '225' - pot_id: pot-SDQ5009730 amount: '525' investor_drawdown_statistics: description: Investor Drawdown Statistics type: object required: - total_crystallisation_amount - total_drawdown_amount - pcls_allowance_utilized - pcls_allowance_remaining properties: total_crystallisation_amount: description: >- Total amount crystalized from the investors accumulation pots across years type: string total_drawdown_amount: description: >- Total amount transferred to investors drawdown pots across years type: string pcls_allowance_utilized: description: Total PCLS allowance utilized by investor across years type: string pcls_allowance_remaining: description: Total PCLS allowance remaining for investor across years type: string example: total_crystallisation_amount: '7000' total_drawdown_amount: '5250' pcls_allowance_utilized: '1750' pcls_allowance_remaining: '266525' created_at: type: string format: date-time updated_at: type: string format: date-time next_page_available: description: This indicates the availability of the next page type: boolean readOnly: true CrystallisationRequest: required: - request_id - investor_id - bank_account_id - crystallisation_instructions - drawdown_instructions properties: request_id: description: 'Unique request id to ensure idempotency. (ex: UUID)' type: string format: uuid investor_id: description: Investor ID of the investor making the crystallisation type: string example: inv-XUT11265 bank_account_id: description: Bank account ID of Investor type: string example: ba-bc00c28f-b3fc-42b7 crystallisation_instructions: description: Crystallisation instructions type: array items: required: - pot_id properties: pot_id: description: SIPP Accumulation pot from which funds should be crystalised type: string percentage: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 15.34). type: string value: description: >- Require if `percentage` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string example: - pot_id: pot-GYQ5423100 value: '1000' drawdown_instructions: description: Drawdown instructions type: array items: required: - pot_id - purpose - percentage properties: pot_id: description: >- SIPP Flexi Access Drawdown pot to which funds should be allocated after PCLS withdrawals type: string purpose: description: >- invest option is allowed only if investment_instructions given or a portfolio is attached, if not the purpose should be cash. type: string enum: - cash - invest value: description: >- Percentage of funds remaining after PCLS withdrawal from each accumulation pot, to be allocated to this pot ID type: string example: - pot_id: pot-XWL3855774 purpose: cash percentage: '30' - pot_id: pot-SDQ5009730 purpose: invest percentage: '70' CrystallisationRequestResponse: properties: crystallisation_id: description: System generated unique id type: string example: SIPPCR-AB24DE7 investor_id: description: Investor ID of the investor making the crystallisation type: string example: inv-XUT11265 bank_account_id: description: Bank account ID of Investor type: string example: ba-bc00c28f-b3fc-42b7 crystallisation_instructions: description: Crystallisation instructions type: array items: required: - pot_id properties: pot_id: description: SIPP Accumulation pot from which funds should be crystalised type: string percentage: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 15.34). type: string value: description: >- Require if `percentage` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string example: - pot_id: pot-GYQ5423100 value: '1000' drawdown_instructions: description: Drawdown instructions type: array items: required: - pot_id - purpose - percentage properties: pot_id: description: >- SIPP Flexi Access Drawdown pot to which funds should be allocated after PCLS withdrawals type: string purpose: description: >- invest option is allowed only if investment_instructions given or a portfolio is attached, if not the purpose should be cash. type: string enum: - cash - invest value: description: >- Percentage of funds remaining after PCLS withdrawal from each accumulation pot, to be allocated to this pot ID type: string example: - pot_id: pot-XWL3855774 purpose: cash percentage: '30' - pot_id: pot-SDQ5009730 purpose: invest percentage: '70' status: description: Status of crystallisation request type: string enum: - Accepted - Partially completed - Completed - Rejected - Failed example: - Accepted RecurringWithdrawal: required: - frequency - amount properties: frequency: description: frequency can have values `Monthly` type: string enum: - Monthly amount: description: The amount can have upto 2 decimal points type: number example: frequency: Monthly amount: 600 DrawdownRequest: type: object required: - name - date_of_birth - current_pension_value - growth_rate properties: name: description: Name of the investor type: string maxLength: 100 example: David Brown date_of_birth: description: Should be today or an earlier date type: string format: date example: '1963-07-19' current_pension_value: description: Current value of the pension pot. Can contain up to 2 decimal points type: number example: 1000 growth_rate: description: Annual growth rate of the pot. Can contain up to 2 decimal points type: number example: 2.5 recurring_contributions: type: array items: required: - frequency - amount properties: frequency: description: frequency can have values `Monthly` type: string enum: - Monthly amount: description: The amount can have upto 2 decimal points type: number example: frequency: Monthly amount: 600 one_off_payment: description: >- One-off payments are added to the initial value as tax relievable. Can contain up to 2 decimal points type: number example: 500 transfer_in: description: >- Transfer-ins are added to the initial value as tax relievable. Can contain up to 2 decimal points type: number example: 500 fees: type: array items: required: - fee_type - frequency - amount properties: fee_type: description: Type of the fee type: string frequency: description: frequency can have values `Monthly` type: string enum: - Monthly amount: description: The amount can have upto 2 decimal points type: number example: fee_type: Management fee frequency: Monthly amount: 600 one_off_withdrawal: description: >- One-off withdrawals are deducted from the initial value. Can contain up to 2 decimal points type: number example: 500 recurring_withdrawals: type: array items: required: - frequency - amount properties: frequency: description: frequency can have values `Monthly` type: string enum: - Monthly amount: description: The amount can have upto 2 decimal points type: number example: frequency: Monthly amount: 600 projection_coverage_years: description: >- Projection is given for the requested coverage years. If not given, projection is given for 5th and 10th years. Can contain positive integers less than 100 type: array example: - 5 items: description: >- WARNING: Missing items property in array schema. Missing items property has been filled with this AnyType schema. ProjectionDrawdownResponse: allOf: - type: object required: - name - date_of_birth - current_pension_value - growth_rate properties: name: description: Name of the investor type: string maxLength: 100 example: David Brown date_of_birth: description: Should be today or an earlier date type: string format: date example: '1963-07-19' current_pension_value: description: >- Current value of the pension pot. Can contain up to 2 decimal points type: number example: 1000 growth_rate: description: >- Annual growth rate of the pot. Can contain up to 2 decimal points type: number example: 2.5 recurring_contributions: type: array items: required: - frequency - amount properties: frequency: description: frequency can have values `Monthly` type: string enum: - Monthly amount: description: The amount can have upto 2 decimal points type: number example: frequency: Monthly amount: 600 one_off_payment: description: >- One-off payments are added to the initial value as tax relievable. Can contain up to 2 decimal points type: number example: 500 transfer_in: description: >- Transfer-ins are added to the initial value as tax relievable. Can contain up to 2 decimal points type: number example: 500 fees: type: array items: required: - fee_type - frequency - amount properties: fee_type: description: Type of the fee type: string frequency: description: frequency can have values `Monthly` type: string enum: - Monthly amount: description: The amount can have upto 2 decimal points type: number example: fee_type: Management fee frequency: Monthly amount: 600 one_off_withdrawal: description: >- One-off withdrawals are deducted from the initial value. Can contain up to 2 decimal points type: number example: 500 recurring_withdrawals: type: array items: required: - frequency - amount properties: frequency: description: frequency can have values `Monthly` type: string enum: - Monthly amount: description: The amount can have upto 2 decimal points type: number example: frequency: Monthly amount: 600 projection_coverage_years: description: >- Projection is given for the requested coverage years. If not given, projection is given for 5th and 10th years. Can contain positive integers less than 100 type: array example: - 5 items: description: >- WARNING: Missing items property in array schema. Missing items property has been filled with this AnyType schema. - type: object required: - pension_projections - age_pension_runout - inflation_rate properties: age_pension_runout: description: >- Investor age where the pension fund goes to zero. The response will be a string (The pension will last beyond the 100th year) if not going to zero before 100 years of age type: number example: 60 pension_projections: description: Projection of the pension coverage years type: array readOnly: true items: required: - coverage_year - date - value properties: coverage_year: description: Given coverage year type: integer date: description: Date that indicate last date of coverage year type: string value: description: Value of the pot type: number example: coverage_year: 5 date: '2028-05-09' value: 1167.682 inflation_rate: description: Inflation rate considered for calculations type: number example: 2 TaxCode: title: Root Type for Tax code description: JSON for the Tax code resource type required: - investor_id - tax_code - effective_date - origin - created_at - updated_at properties: investor_id: description: Investor Id of the tax code type: string example: inv-XUT11265 tax_code: description: Tax code of the Investor type: string example: 1080L effective_date: description: Effective day of the tax code type: string format: date-time example: '2023-04-06' end_date: description: End date of the tax code type: string format: date-time example: '2024-04-05' origin: description: Origin of the tax code type: string enum: - External API created_at: type: string format: date-time readOnly: true example: '2023-02-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2023-02-10T07:36:05.884Z' TaxCodes: description: Array of tax codes required: - tax_codes - next_page_available type: object properties: tax_codes: type: array items: title: Root Type for Tax code description: JSON for the Tax code resource type required: - investor_id - tax_code - effective_date - origin - created_at - updated_at properties: investor_id: description: Investor Id of the tax code type: string example: inv-XUT11265 tax_code: description: Tax code of the Investor type: string example: 1080L effective_date: description: Effective day of the tax code type: string format: date-time example: '2023-04-06' end_date: description: End date of the tax code type: string format: date-time example: '2024-04-05' origin: description: Origin of the tax code type: string enum: - External API created_at: type: string format: date-time readOnly: true example: '2023-02-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2023-02-10T07:36:05.884Z' next_page_available: description: This indicates the availability of the next page type: boolean readOnly: true schemas-RecurringWithdrawal: required: - withdrawal_id - withdrawal_name - pot_id - investor_id - bank_account_id - amount - currency - withdrawal_schedule - status - created_at - updated_at - reference_version properties: withdrawal_id: description: System generated unique id type: string example: RCW-AB24DE7 withdrawal_name: description: User given identifier for the withdrawal type: string maxLength: 100 example: Withdrawals to SIPP investor_id: description: >- Investor ID of the investor making the withdrawal. For a joint pot, Investor ID of the party requesting the withdrawal should be included. type: string example: inv-AUX11265 pot_id: description: Pot ID of investor type: string example: pot-GYQ5423100 bank_account_id: description: Bank account ID of the investor where the withdrawn cash will go to type: string example: ba-92yu982d-at6u-4242-9856-83 amount: description: Withdrawal amount. type: string example: '100.00' currency: description: Must be a currency configured for the Pot type: string example: GBP withdrawal_schedule: description: Parameters based on withdrawal schedule type: object required: - interval_unit - interval - start_date properties: interval_unit: description: Repeating interval unit of recurring withdrawal type: string enum: - monthly interval: description: >- Repeating interval of recurring withdrawal. For monthly, should be 1-12 type: integer date: description: >- Date the withdrawal is expected to be triggered if frequency is monthly. 1-28 or -1 to indicate the last day of the month is accepted. type: integer start_date: description: >- Date to initiate the recurring withdrawals. Should be in YYYY-MM-DD format. type: string format: date-time end_date: description: >- Date to conclude the recurring withdrawals. Should be in YYYY-MM-DD format. type: string format: date-time example: interval_unit: monthly interval: 2 date: 1 start_date: '2023-04-02' end_date: '2023-11-02' status: type: string example: active enum: - active - cancelled next_withdrawal_date: type: string format: date-time example: '2023-05-01T00:00:00.000Z' created_at: type: string format: date-time example: '2023-04-04T15:12:30.000Z' updated_at: type: string format: date-time example: '2023-04-04T15:12:30.000Z' reference_version: type: number example: 1 RecurringWithdrawals: required: - recurring_withdrawals - next_page_available type: object properties: recurring_withdrawals: type: array items: required: - withdrawal_id - withdrawal_name - pot_id - investor_id - bank_account_id - amount - currency - withdrawal_schedule - status - created_at - updated_at - reference_version properties: withdrawal_id: description: System generated unique id type: string example: RCW-AB24DE7 withdrawal_name: description: User given identifier for the withdrawal type: string maxLength: 100 example: Withdrawals to SIPP investor_id: description: >- Investor ID of the investor making the withdrawal. For a joint pot, Investor ID of the party requesting the withdrawal should be included. type: string example: inv-AUX11265 pot_id: description: Pot ID of investor type: string example: pot-GYQ5423100 bank_account_id: description: >- Bank account ID of the investor where the withdrawn cash will go to type: string example: ba-92yu982d-at6u-4242-9856-83 amount: description: Withdrawal amount. type: string example: '100.00' currency: description: Must be a currency configured for the Pot type: string example: GBP withdrawal_schedule: description: Parameters based on withdrawal schedule type: object required: - interval_unit - interval - start_date properties: interval_unit: description: Repeating interval unit of recurring withdrawal type: string enum: - monthly interval: description: >- Repeating interval of recurring withdrawal. For monthly, should be 1-12 type: integer date: description: >- Date the withdrawal is expected to be triggered if frequency is monthly. 1-28 or -1 to indicate the last day of the month is accepted. type: integer start_date: description: >- Date to initiate the recurring withdrawals. Should be in YYYY-MM-DD format. type: string format: date-time end_date: description: >- Date to conclude the recurring withdrawals. Should be in YYYY-MM-DD format. type: string format: date-time example: interval_unit: monthly interval: 2 date: 1 start_date: '2023-04-02' end_date: '2023-11-02' status: type: string example: active enum: - active - cancelled next_withdrawal_date: type: string format: date-time example: '2023-05-01T00:00:00.000Z' created_at: type: string format: date-time example: '2023-04-04T15:12:30.000Z' updated_at: type: string format: date-time example: '2023-04-04T15:12:30.000Z' reference_version: type: number example: 1 next_page_available: description: This indicates the availability of the next page type: boolean readOnly: true CreateRecurringWithdrawalRequest: required: - request_id - withdrawal_name - pot_id - investor_id - bank_account_id - amount - currency - withdrawal_schedule properties: request_id: description: 'Unique request id to ensure idempotency. (ex: UUID)' type: string format: uuid withdrawal_name: description: User given identifier for the withdrawal type: string maxLength: 100 example: Withdrawals to SIPP investor_id: description: >- Investor ID of the investor making the withdrawal. For a joint pot, Investor ID of the party making withdrawal should be included. type: string example: inv-XUT11265 pot_id: description: Pot ID of investor to direct the withdrawal type: string example: pot-GYQ5423100 bank_account_id: description: Bank account ID of the investor where the withdrawn cash will go to type: string example: ba-92yu982d-at6u-4242-9856-83 amount: description: >- Amount as a numeral string with two decimal points. (ex: 1500.00) Should be greater than or equal to the minimum investment for the financial product. type: string example: '100.00' currency: description: Must be a currency configured for the Pot type: string example: GBP withdrawal_schedule: description: Parameters based on withdrawal schedule type: object required: - interval_unit - interval - start_date properties: interval_unit: description: Repeating interval unit of recurring withdrawal type: string enum: - monthly interval: description: >- Repeating interval of recurring withdrawal. For monthly, should be 1-12 type: integer date: description: >- Date the withdrawal is expected to be triggered if frequency is monthly. 1-28 or -1 to indicate the last day of the month type: integer start_date: description: >- Date to initiate the recurring withdrawal. If approvals haven't been received by the given start date, the start date will be moved to the subscription activation date. Should be in YYYY-MM-DD format type: string format: date end_date: description: >- Date to conclude the recurring withdrawal. Should be in YYYY-MM-DD format type: string format: date example: interval_unit: monthly interval: 2 date: 1 start_date: '2023-04-02' end_date: '2023-11-02' UpdateRecurringWithdrawalRequest: required: - reference_version properties: amount: description: >- Amount as a numeral string with two decimal points. (ex: 1500.00) Should be greater than or equal to the minimum investment for the financial product. type: string example: '1500.00' withdrawal_name: description: User given identifier for the withdrawal type: string maxLength: 100 example: New withdrawals to SIPP end_date: description: >- Date to conclude the recurring withdrawal. Should be in YYYY-MM-DD format type: string format: date example: '2024-10-30' reference_version: type: number example: 1 CreateWorkplaceEmployerRequest: type: object required: - name - registration_number - registered_address - correspondence_address - status properties: name: description: Name of the workplace employer type: string maxLength: 100 example: Romayo Ltd registration_number: description: >- Registration number of the workplace employer, this should be unique for employers. type: string example: '12345678' registered_address: description: Registered address of the workplace employer type: object properties: postal_code: type: string example: S2 2DF address_line: type: string example: '14' street_name: type: string example: Tottenham Court Road city: type: string example: London state: type: string example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country correspondence_address: description: Address of designated location for receiving official communications type: object properties: postal_code: type: string example: A3 2CF address_line: type: string example: '17' street_name: type: string example: Flower Road city: type: string example: London state: type: string example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country company_structure: description: Structure of the company. type: string enum: - LLC example: LLC contact_details: description: Contact details of an individual of the company. type: object properties: name: type: string maxLength: 100 example: Adam Clark email: type: string maxLength: 100 example: adamclark@gmail.com phone_number: type: string maxLength: 16 example: '+441234567890' kyb_aml_status: description: Know Your Business status of the company type: string enum: - submitted - kyb_failed_error - pending - clear - not_started default: not_started example: clear status: description: >- Status of the workplace employer. Only the employers with the kyb_aml_status as clear can be set to active. type: string enum: - active - inactive example: active WorkplaceEmployer: allOf: - type: object required: - name - registration_number - registered_address - correspondence_address - status properties: name: description: Name of the workplace employer type: string maxLength: 100 example: Romayo Ltd registration_number: description: >- Registration number of the workplace employer, this should be unique for employers. type: string example: '12345678' registered_address: description: Registered address of the workplace employer type: object properties: postal_code: type: string example: S2 2DF address_line: type: string example: '14' street_name: type: string example: Tottenham Court Road city: type: string example: London state: type: string example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country correspondence_address: description: >- Address of designated location for receiving official communications type: object properties: postal_code: type: string example: A3 2CF address_line: type: string example: '17' street_name: type: string example: Flower Road city: type: string example: London state: type: string example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country company_structure: description: Structure of the company. type: string enum: - LLC example: LLC contact_details: description: Contact details of an individual of the company. type: object properties: name: type: string maxLength: 100 example: Adam Clark email: type: string maxLength: 100 example: adamclark@gmail.com phone_number: type: string maxLength: 16 example: '+441234567890' kyb_aml_status: description: Know Your Business status of the company type: string enum: - submitted - kyb_failed_error - pending - clear - not_started default: not_started example: clear status: description: >- Status of the workplace employer. Only the employers with the kyb_aml_status as clear can be set to active. type: string enum: - active - inactive example: active - type: object required: - kyb_aml_status - workplace_employer_id - reference_version - created_at - updated_at properties: workplace_employer_id: description: Unique ID of a workplace employer type: string readOnly: true maxLength: 20 example: wem-AHY58878 reference_version: type: number example: 1 created_at: type: string format: date-time readOnly: true example: '2023-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2023-07-10T07:36:05.884Z' WorkplaceEmployers: required: - workplace_employers - next_page_available type: object properties: workplace_employers: type: array items: allOf: - type: object required: - name - registration_number - registered_address - correspondence_address - status properties: name: description: Name of the workplace employer type: string maxLength: 100 example: Romayo Ltd registration_number: description: >- Registration number of the workplace employer, this should be unique for employers. type: string example: '12345678' registered_address: description: Registered address of the workplace employer type: object properties: postal_code: type: string example: S2 2DF address_line: type: string example: '14' street_name: type: string example: Tottenham Court Road city: type: string example: London state: type: string example: England country: description: >- 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country correspondence_address: description: >- Address of designated location for receiving official communications type: object properties: postal_code: type: string example: A3 2CF address_line: type: string example: '17' street_name: type: string example: Flower Road city: type: string example: London state: type: string example: England country: description: >- 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country company_structure: description: Structure of the company. type: string enum: - LLC example: LLC contact_details: description: Contact details of an individual of the company. type: object properties: name: type: string maxLength: 100 example: Adam Clark email: type: string maxLength: 100 example: adamclark@gmail.com phone_number: type: string maxLength: 16 example: '+441234567890' kyb_aml_status: description: Know Your Business status of the company type: string enum: - submitted - kyb_failed_error - pending - clear - not_started default: not_started example: clear status: description: >- Status of the workplace employer. Only the employers with the kyb_aml_status as clear can be set to active. type: string enum: - active - inactive example: active - type: object required: - kyb_aml_status - workplace_employer_id - reference_version - created_at - updated_at properties: workplace_employer_id: description: Unique ID of a workplace employer type: string readOnly: true maxLength: 20 example: wem-AHY58878 reference_version: type: number example: 1 created_at: type: string format: date-time readOnly: true example: '2023-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2023-07-10T07:36:05.884Z' next_page_available: description: This indicates the availability of the next page type: boolean readOnly: true UpdateWorkplaceEmployerRequest: type: object required: - reference_version properties: name: description: Name of the workplace employer type: string maxLength: 100 example: Romayo Ltd registration_number: description: >- Registration number of the workplace employer, this should be unique for employers. type: string example: '12345678' registered_address: description: Registered address of the workplace employer type: object properties: postal_code: type: string example: D2 2DF address_line: type: string nullable: true example: '14' street_name: type: string nullable: true example: Court Road city: type: string nullable: true example: London state: type: string nullable: true example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR correspondence_address: description: Address of designated location for receiving official communications type: object properties: postal_code: type: string example: B3 2CF address_line: type: string nullable: true example: '17' street_name: type: string nullable: true example: Church Road city: type: string nullable: true example: London state: type: string nullable: true example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR company_structure: description: Structure of the company. type: string enum: - LLC example: LLC contact_details: description: Contact details of an individual of the company. type: object properties: name: type: string nullable: true example: Clark Kent email: type: string nullable: true example: clarkkent@gmail.com phone_number: type: string nullable: true example: '+441234567890' kyb_aml_status: description: Know Your Business status of the company type: string enum: - submitted - kyb_failed_error - pending - clear - not_started default: not_started example: clear status: description: >- Status of the workplace employer. Only the employers with the kyb_aml_status as clear can be set to active. type: string enum: - active - inactive example: active reference_version: type: number example: 1 components-schemas-Investor: type: object required: - investor_id - first_name - last_name - tax_id properties: title: type: string example: Mr investor_id: description: System generated unique ID of the investor type: string example: inv-XUT11265 first_name: type: string example: John last_name: type: string example: Doe tax_id: description: >- A unique identifier assigned to individuals and businesses by the tax authorities for tax purposes type: string example: AB123456C WorkplaceEmployerInvestors: required: - workplace_employer_id - investors type: object properties: workplace_employer_id: description: Unique ID of the workplace employer type: string example: wem-AHY58878 investors: type: array items: type: object required: - investor_id - first_name - last_name - tax_id properties: title: type: string example: Mr investor_id: description: System generated unique ID of the investor type: string example: inv-XUT11265 first_name: type: string example: John last_name: type: string example: Doe tax_id: description: >- A unique identifier assigned to individuals and businesses by the tax authorities for tax purposes type: string example: AB123456C InvestorsCreateNewInvestorRequest: title: Root Type for Investor creation request description: JSON for the Investor creation request resource type required: - first_name - last_name - nationality - tax_id - address - tax_residency_compliant - date_of_birth properties: title: type: string example: Mr. gender: type: string example: male first_name: type: string maxLength: 100 example: David last_name: type: string minLength: 2 maxLength: 100 example: Brown status: type: string enum: - kyc_pending - kyc_failed - inactive - active readOnly: true example: kyc_pending email: type: string maxLength: 100 example: davidbrown@gmail.com mobile_number: type: string maxLength: 16 example: '+441234567890' home_number: type: string maxLength: 16 example: '+441234587830' office_number: type: string maxLength: 16 example: '+442072343456' nationality: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR tax_id: type: string example: AB123456C kyc_aml_status: type: string enum: - submitted - kyc_failed_error - pending - clear - not_started default: not_started example: not_started dealing_status: type: string enum: - inactive - active default: inactive example: inactive id_numbers: type: array items: type: object properties: id_type: type: string id_number: type: string required: - id_type - id_number example: - id_type: passport id_number: '2324839048381' address: type: object properties: postal_code: type: string example: S2 2DF address_line: type: string nullable: true example: '14' street_name: type: string nullable: true example: Tottenham Court Road city: type: string nullable: true example: London state: type: string nullable: true example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country mifid_tax_id: type: string example: '2382392274' tax_residency_compliant: type: boolean example: true date_of_birth: description: YYYY-MM-DD type: string format: date example: '1990-12-20' retirement_age: description: Intended retirement age of the investor. type: number example: 60 tax_residence: description: >- Residence of the investor for tax purposes. (for example, to claim relief at source) GB-ENG=England GB-NIR=Northern Ireland GB-SCT=Scotland GB-WLS=Wales. type: string enum: - GB-ENG - GB-NIR - GB-SCT - GB-WLS example: GB-ENG employment_status: description: Status of an investor best describes their personal circumstances. type: string enum: - employed - self_employed - pensioner - child_under_16 - in_full_time_education - unemployed - caring_for_a_person_over_16 - caring_for_a_person_under_16 - other example: employed mpaa_triggered: description: >- Whether the investor has triggered the Money Purchase Annual Allowance. type: boolean example: true mpaa_triggered_date: description: >- Date of triggering the Money Purchase Annual Allowance. This is only required if mpaa_triggered is true.The date format should be YYYY-MM-DD. type: string format: date example: '2023-01-30' workplace_employers: description: >- Unique IDs of workplace employers who are contributing to the workplace pension of the investor. type: array items: type: string example: wem-AHY58878 lta_protection_details: description: >- Additional details of the lifetime allowance protections of the investor. type: array items: type: object properties: lta_protection_type: description: >- primary=Primary protection, enhanced=Enhanced protection, fp12=Fixed protection 2012, fp14=Fixed protection 2014, fp16=Fixed protection 2016, ip14=Individual protection 2014, ip16=Individual protection 2016 type: string enum: - primary - enhanced - fp12 - fp14 - ip14 - fp16 - ip16 lta_primary_protection_factor: description: >- Primary protection factor of the investor. Required only when the lta_protection_type is primary. type: string lta_individual_protection_amount: description: >- Protected lifetime allowance of the investor. Required when the lta_protection_type is ip14 or ip16. type: string lta_protection_notification_number: description: >- Protection notification number issued by HMRC. Required for protection from 2016 onwards. Required when the lta_protection_type is fp16 or ip16. type: string lta_protection_scheme_administrator_reference: description: >- Scheme administrator reference issued by HMRC. Required for protection from 2016 onwards. Required when the lta_protection_type is fp16 or ip16. type: string required: - lta_protection_type example: - lta_protection_type: primary lta_primary_protection_factor: '20.00' - lta_protection_type: fp14 expression_of_wish: description: Beneficiary and nominee list of the expression of wish. type: object properties: sipp_beneficiaries: description: Beneficiaries list of the expression of wish type: array items: type: object properties: title: type: string first_name: type: string maxLength: 100 last_name: type: string minLength: 2 maxLength: 100 address: type: string tax_id: type: string phone_number: type: string email: type: string percentage: description: >- Percentage of assets that will be allocated to the beneficiary type: string required: - first_name - last_name - address - percentage example: - title: Mr. first_name: William last_name: Smith address: 13 Park Row,Edinburgh, United Kingdom tax_id: AB123956P phone_number: '+441332960321' email: davidbrown@gmail.com percentage: '75.00' - title: Miss. first_name: Jessica last_name: Smith address: 14 Park Row,Edinburgh, United Kingdom tax_id: KL123956M phone_number: '+441630960345' email: jessicasmith@gmail.com percentage: '25.00' sipp_nominees: description: Nominees list of the expression of wish type: array items: type: object properties: title: type: string first_name: type: string maxLength: 100 last_name: type: string minLength: 2 maxLength: 100 address: type: string tax_id: type: string phone_number: type: string email: type: string percentage: description: Percentage of assets that will be allocated to the nominee type: string required: - first_name - last_name - address - percentage example: - title: Mr. first_name: James last_name: Brown address: 87 Colorado Way,Richmond, United Kingdom tax_id: XY123956Z phone_number: '+441630960322' email: jamesbrown@gmail.com percentage: '50.00' - title: Mrs. first_name: Emily last_name: Brown address: 4 Baldock Street, Newtown, United Kingdom tax_id: SY123956P phone_number: '+441615960345' email: emilybrown@gmail.com percentage: '50.00' bank_accounts: description: Allow to create only one bank account when creating a new investor. type: array items: required: - account_name - default_account - bank_account_number properties: account_name: type: string maxLength: 100 example: David Brown default_account: description: Only one account should be the default type: string enum: - 'yes' - 'no' example: 'yes' bank_account_number: description: Unique for the investor type: string minLength: 6 maxLength: 8 example: '12345678' account_status: description: If not populated, will be defaulted to inactive type: string enum: - active - inactive example: active sort_code: description: Mandatory if region is UK type: string minLength: 6 maxLength: 8 example: '123456' building_society_roll_number: type: string minLength: 1 maxLength: 18 example: '12345672' InvestorsUpdateInvestorDetailsRequest: title: Update Request Body for Investor description: JSON for the Update Investor resource type required: - reference_version properties: title: type: string nullable: true example: Mr. gender: type: string nullable: true example: male first_name: type: string maxLength: 100 example: David last_name: type: string minLength: 2 maxLength: 100 example: Brown status: type: string enum: - kyc_pending - kyc_failed - inactive - active readOnly: true example: kyc_pending email: type: string nullable: true maxLength: 100 example: davidbrown@gmail.com mobile_number: type: string nullable: true maxLength: 16 example: '+441234567890' home_number: type: string maxLength: 16 nullable: true example: '+441234587830' office_number: type: string maxLength: 16 nullable: true example: '+442072343456' nationality: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR tax_id: type: string example: AB123456C kyc_aml_status: type: string enum: - submitted - kyc_failed_error - pending - clear - not_started example: not_started dealing_status: type: string enum: - inactive - active example: inactive id_numbers: description: Replaces the array in the server. type: array nullable: true items: type: object properties: id_type: type: string id_number: type: string example: - id_type: passport id_number: '2324839048381' address: type: object properties: postal_code: type: string example: S2 2DF address_line: type: string nullable: true example: '14' street_name: type: string nullable: true example: Tottenham Court Road city: type: string nullable: true example: London state: type: string nullable: true example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR mifid_tax_id: type: string nullable: true example: '2382392274' tax_residency_compliant: type: boolean example: true date_of_birth: description: YYYY-MM-DD type: string format: date example: '1990-12-20' retirement_age: description: Intended retirement age of the investor. type: number nullable: true example: 60 tax_residence: description: >- Residence of the investor for tax purposes. (for example, to claim relief at source) GB-ENG=England GB-NIR=Northern Ireland GB-SCT=Scotland GB-WLS=Wales type: string nullable: true enum: - GB-ENG - GB-NIR - GB-SCT - GB-WLS example: GB-ENG employment_status: description: Status of an investor best describes their personal circumstances. type: string enum: - employed - self_employed - pensioner - child_under_16 - in_full_time_education - unemployed - caring_for_a_person_over_16 - caring_for_a_person_under_16 - other example: employed mpaa_triggered: description: >- Whether the investor has triggered the Money Purchase Annual Allowance. type: boolean nullable: true example: true mpaa_triggered_date: description: >- Date of triggering the Money Purchase Annual Allowance. This is only required if mpaa_triggered is true. type: string nullable: true format: date example: '2023-01-30' workplace_employers: description: >- Unique IDs of workplace employers who are contributing to the workplace pensions. The incoming list of employers will replace the existing list of employers. type: array nullable: true items: type: string example: wem-AHY58878 lta_protection_details: description: >- Additional details of the lifetime allowance protections of the investor. type: array nullable: true items: type: object properties: lta_protection_type: description: >- primary=Primary protection, enhanced=Enhanced protection, fp12=Fixed protection 2012, fp14=Fixed protection 2014, fp16=Fixed protection 2016, ip14=Individual protection 2014, ip16=Individual protection 2016 type: string enum: - primary - enhanced - fp12 - fp14 - ip14 - fp16 - ip16 lta_primary_protection_factor: description: >- Primary protection factor of the investor. Required only when the lta_protection_type is primary. type: string lta_individual_protection_amount: description: >- Protected lifetime allowance of the investor. Required when the lta_protection_type is ip14 or ip16. type: string lta_protection_notification_number: description: >- Protection notification number issued by HMRC. Required for protection from 2016 onwards. Required when the lta_protection_type is fp16 or ip16. type: string lta_protection_scheme_administrator_reference: description: >- Scheme administrator reference issued by HMRC. Required for protection from 2016 onwards. Required when the lta_protection_type is fp16 or ip16. type: string required: - lta_protection_type example: - lta_protection_type: primary lta_primary_protection_factor: '20.00' - lta_protection_type: fp14 expression_of_wish: description: Beneficiary and nominee list of the expression of wish. type: object nullable: true properties: sipp_beneficiaries: description: Beneficiaries list of the expression of wish type: array nullable: true items: type: object properties: title: type: string first_name: type: string maxLength: 100 last_name: type: string minLength: 2 maxLength: 100 address: type: string tax_id: type: string phone_number: type: string email: type: string percentage: description: >- Percentage of assets that will be allocated to the beneficiary type: string required: - first_name - last_name - address - percentage example: - title: Mr. first_name: William last_name: Smith address: 13 Park Row,Edinburgh, United Kingdom tax_id: AB123956P phone_number: '+441332960321' email: davidbrown@gmail.com percentage: '75.00' - title: Miss. first_name: Jessica last_name: Smith address: 14 Park Row,Edinburgh, United Kingdom tax_id: KL123956M phone_number: '+441630960345' email: jessicasmith@gmail.com percentage: '25.00' sipp_nominees: description: Nominees list of the expression of wish type: array nullable: true items: type: object properties: title: type: string first_name: type: string maxLength: 100 last_name: type: string minLength: 2 maxLength: 100 address: type: string tax_id: type: string phone_number: type: string email: type: string percentage: description: Percentage of assets that will be allocated to the nominee type: string required: - first_name - last_name - address - percentage example: - title: Mr. first_name: James last_name: Brown address: 87 Colorado Way,Richmond, United Kingdom tax_id: XY123956Z phone_number: '+441630960322' email: jamesbrown@gmail.com percentage: '50.00' - title: Mrs. first_name: Emily last_name: Brown address: 4 Baldock Street, Newtown, United Kingdom tax_id: SY123956P phone_number: '+441615960345' email: emilybrown@gmail.com percentage: '50.00' kyc_aml_status_last_updated: type: string format: date-time readOnly: true example: '2020-08-12T07:36:05.884Z' reference_version: type: integer example: 1 created_at: type: string format: date-time readOnly: true example: '2020-08-12T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' deleted_at: type: string format: date-time readOnly: true example: null PotsHoldingsAndTransactionsCreateNewPotsRequest: title: Multiple type: object required: - request_id - investor_id - financial_product_id - pots properties: request_id: description: 'Unique request id to ensure idempotency. (ex: UUID)' type: string format: uuid investor_id: type: array items: type: string example: inv-XUT11265 financial_product_id: type: string example: sipp_accumulation pots: description: Maximum of five pots type: array items: required: - pot_name - status properties: pot_name: type: string minLength: 1 maxLength: 50 portfolio_template_id: type: string pot_currency: description: >- If not populated, will be defaulted to tenancy currency.
Currency should be enabled for Financial Product. Tenancy currency is allowed by default, additional currencies enabled for a product can be identified using the “Get all financial products” end point type: string enum: - GBP - CAD - USD status: type: string enum: - active - inactive example: - pot_name: Retirement Pot 1 portfolio_template_id: pft-c60c9472-6668-4f7a-aa69 pot_currency: GBP status: active - pot_name: Retirement Pot 2 portfolio_template_id: pft-c60c9472-6668-4f7a-aa69 pot_currency: CHF status: active RebalanceEvaluatePortfolioDeviationRequest: title: Request body for the rebalance request description: Definition of a rebalance request body required: - request_id - type - values type: object properties: request_id: description: 'Unique request id to ensure idempotency. (eg: UUID)' type: string format: uuid type: description: >- Rebalance request triggering type. This describe the types of elements included in the values field type: string example: pot enum: - pot - investor - portfolio values: description: >- List of unique Ids from the mentioned type to trigger the rebalance process type: array items: type: string example: - pot-UKW3452850 - pot-SDQ5239730 RebalanceTriggerRebalanceProcessRequest: title: Request body for the rebalance request description: Definition of a rebalance request body required: - request_id - type - values type: object properties: request_id: description: 'Unique request id to ensure idempotency. (eg: UUID)' type: string format: uuid type: description: >- Rebalance request triggering type. This describe the types of elements included in the values field type: string example: pot enum: - pot - investor - portfolio values: description: >- List of unique Ids from the mentioned type to trigger the rebalance process type: array items: type: string example: - pot-UKW3452850 - pot-SDQ5239730 PotsHoldingsAndTransactionsUpdatePotDetailsRequest: title: Update Request Body for pot description: JSON for the Update pot resource type required: - reference_version properties: pot_name: type: string minLength: 1 maxLength: 50 example: Retirement Pot portfolio_template_id: type: string nullable: true example: pft-c60c9472-6668-4f7a-aa69 status: type: string enum: - active - inactive reference_version: type: integer example: 1 PortfolioTemplatesUpdateTemplateRequest: required: - reference_version properties: portfolio_name: type: string minLength: 3 maxLength: 50 example: PFT5689 ratios: description: Replaces the array in the server. type: array items: required: - investment_product_id - ratio properties: investment_product_id: description: must be an investment product id or 'cash' type: string ratio: description: 'must be in correct pattern (eg: 25.00, 33.34, 50.25, 100.00)' type: string reference_version: description: Must match with the reference version in the server type: integer example: 1 TransactionsExecuteBuyTransactionRequest: title: Buy Transaction Request description: Definition of an buy transaction request allOf: - type: object required: - request_id - pot_id properties: request_id: description: 'Unique request id to ensure idempotency. (ex: UUID)' type: string format: uuid pot_id: type: string example: pot-UKW3452850 - type: object required: - investment_instructions properties: investment_instructions: type: array items: title: Instruction(buy|sell) description: Definition of an single instruction(buy|sell) required: - investment_product_id type: object properties: investment_product_id: type: string quantity: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 332.34, 1050.0025). For `funds`, upto 4 decimal places. For `equities`, `bonds` and `etf`, 0 decimal places allowed. type: string value: description: >- Require if `quantity` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string client_order_id: description: (Optional) Order identifier assigned by the wealth manager type: string maxLength: 20 example: - investment_product_id: EPCCTST7 quantity: '10' client_order_id: cl-02456s42sd3 - investment_product_id: EPCCTST9 quantity: '-10' TransactionsExecuteSellTransactionRequest: title: Sell Transaction Request description: Definition of an sell transaction request allOf: - type: object required: - request_id - pot_id properties: request_id: description: 'Unique request id to ensure idempotency. (ex: UUID)' type: string format: uuid pot_id: type: string example: pot-UKW3452850 - type: object properties: sell_instructions: type: array items: title: Instruction(buy|sell) description: Definition of an single instruction(buy|sell) required: - investment_product_id type: object properties: investment_product_id: type: string quantity: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 332.34, 1050.0025). For `funds`, upto 4 decimal places. For `equities`, `bonds` and `etf`, 0 decimal places allowed. type: string value: description: >- Require if `quantity` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string client_order_id: description: (Optional) Order identifier assigned by the wealth manager type: string maxLength: 20 example: - investment_product_id: EPCCTST7 quantity: '10' client_order_id: cl-02456s42sd3 - investment_product_id: EPCCTST9 quantity: '-10' SwitchInstructionExecuteSwitchTransactionRequest: title: Switch Instruction Request description: Definition of Switch instruction required: - request_id - pot_id - sell_instructions - buy_instructions type: object properties: request_id: description: 'Unique request id to ensure idempotency. (eg: UUID)' type: string format: uuid pot_id: description: Identifier of the pot the instruction is sent to type: string example: pot-UKW3452850 sell_instructions: type: array items: title: each buy or sell instruction of the Switch request description: >- Each individual buy side and sell side instruction of the Switch request example: investment_product_id: ETF031GBP1 mode: value value: '500' required: - investment_product_id - mode - value type: object properties: investment_product_id: description: >- Identifier of the investment product sold or bought. If the instruction is to use a cash holding (relevant only for sell instruction) this must be `cash` type: string mode: description: >- Mode of the instruction. If investment_product_id is `cash` mode can only be set to `value` or `percentage` type: string enum: - percentage - unit - value value: description: >- value according to the mode. e.g. mode `percentage` and value `10` implies 10% type: string buy_instructions: type: array items: title: each buy or sell instruction of the Switch request description: >- Each individual buy side and sell side instruction of the Switch request example: investment_product_id: ETF069GBP1 mode: value value: '800' required: - investment_product_id - mode - value type: object properties: investment_product_id: description: >- Identifier of the investment product sold or bought. If the instruction is to use a cash holding (relevant only for sell instruction) this must be `cash` type: string mode: description: >- Mode of the instruction. If investment_product_id is `cash` mode can only be set to `value` or `percentage` type: string enum: - percentage - unit - value value: description: >- value according to the mode. e.g. mode `percentage` and value `10` implies 10% type: string FeesCreateFeeTransactionRequest: title: Root Type for Fee description: JSON for the Fee resource type required: - request_id - pot_id - currency - transaction_value - sub_transaction_type properties: request_id: description: 'Unique request id to ensure idempotency. (ex: UUID)' type: string format: uuid pot_id: description: Pot ID type: string maxLength: 64 example: pot-UKW3452850 currency: description: Currency of the Fee.must be a currency configured for the Pot type: string example: GBP transaction_value: description: Fee Amount upto 2 decimal places type: string example: '123.45' sub_transaction_type: description: >- If the pot is a pension pot only Ancillary fee, Advisor ongoing fee, One-off advisor fee, Custody fees and Commission will be valid sub transaction types type: string example: Custody fees enum: - Ancillary fee - Advisor ongoing fee - One-off advisor fee - Custody fees - Commission - Management fee - Fee credit - Fee rebate - Commission rebate WithdrawalsCreateSingleWithdrawalRequest: title: Root Type for Withdrawal description: JSON for the Withdrawal resource type required: - request_id - pot_id - currency - transaction_value - sub_transaction_type - bank_account_id properties: request_id: description: 'Unique request id to ensure idempotency. (ex: UUID)' type: string format: uuid pot_id: description: Pot ID type: string maxLength: 64 example: pot-SDQ5659730 currency: description: Currency of the Withdrawal.must be a currency configured for the Pot type: string example: USD transaction_value: description: Withdrawal Amount upto 2 decimal places type: string example: '123.45' sub_transaction_type: description: Withdrawal sub transaction type type: string example: Withdrawal enum: - Withdrawal bank_account_id: description: Bank Account ID type: string example: ba-example-bank-account LisaTransactionsUpdateWithdrawalPaymentDateRequest: title: Root Type for the LISA Withdrawal update request description: JSON for the LISA Withdrawal update request required: - request_id - reference_verison - trade_date properties: request_id: description: The system generated unique request id type: string format: uuid example: 20b904f7-8d05-4efd-bd36-4ec3b1ce8e03 reference_verison: description: Reference version of the transaction type: integer example: 1 trade_date: description: Trade Date of the withdrawal type: string example: '2020-09-01' UtilityCopyFileToInternalStoreRequest: required: - file_paths properties: file_paths: description: file path array for the file(s) from external data store. type: array items: required: - type - path properties: type: description: type of the file specified in the path. Eg.- bk, dc, sr, fx type: string example: bk path: description: >- file path - "bucket_name/file_key". Eg.- wos-custodian_data-bucket/dir1/dir2/sr210317.XYZ type: string example: >- wos-dev13-reconciliation-files-us-east-2/custodian-files/bk-220908-2.FID BankAccountsCreateNewAccountRequest: required: - account_name - bank_account_type - investor_id - default_account - bank_account_number properties: bank_account_id: description: system generated id type: string readOnly: true maxLength: 100 example: ba-20b904f7-8d05-4efd-bd36-4ec3b1ce8e03 investor_id: type: string example: inv-QXR38578 contributing_party_id: description: >- This is contributing employer ID for contributing employer bank accounts. Field is required for contributing employer bank accounts. type: string example: cem-ZWV37971 account_name: type: string maxLength: 100 example: David Brown bank_account_type: description: >- This is 'investor' for investor bank accounts and 'contributing_employer' for contributing employer bank accounts. type: string enum: - investor - contributing_employer example: investor default_account: description: Only one account should be the default type: string enum: - 'yes' - 'no' example: 'no' bank_account_number: description: Unique for the investor type: string minLength: 6 maxLength: 8 example: '12345678' account_status: description: If not populated, will be defaulted to inactive type: string enum: - active - inactive example: active sort_code: description: Mandatory if region is UK type: string minLength: 6 maxLength: 8 example: '123456' building_society_roll_number: type: string minLength: 1 maxLength: 18 example: '12345672' BankAccountsUpdateDetailsRequest: title: Update Request Body for bank account description: JSON for the Update bank account resource type required: - reference_version properties: account_name: type: string maxLength: 100 example: David Brown default_account: description: Only one account should be the default type: string enum: - 'yes' - 'no' example: 'no' account_status: type: string enum: - active - inactive example: inactive reference_version: type: integer example: 2 InvestorAccountsUpdateDetailsRequest: required: - reference_version properties: custodian_account_reference: type: string nullable: true maxLength: 64 example: CAR573838383 custodian_id: type: string nullable: true maxLength: 64 example: CID594898ff custodian_client_reference: type: string nullable: true maxLength: 64 example: CCR578fh8 regulator_advisor_id: type: string nullable: true maxLength: 64 example: RAI48483jd reference_version: type: integer example: 1 InvestorsUpdateFeeNominationRequest: title: Fee nomination update request description: Definition of Fee nomination update request required: - nominations - reference_version properties: nominations: description: >- Replaces the array in the server. Only one fee nominee pot can be given type: array items: title: Fee nominee pots description: Definition of an single fee nominee pot required: - nominee_pot_id type: object properties: nominee_pot_id: description: Pot id of the nominee pot type: string example: - nominee_pot_id: pot-UKW3452800 reference_version: description: Must match with the reference version in the server type: integer example: 1 InvestorsCreateFeeNominationForInvestorRequest: title: Fee nomination creation request description: Definition of Fee nomination creation request required: - nominations properties: nominations: description: Only one fee nominee pot can be given type: array items: title: Fee nominee pots description: Definition of an single fee nominee pot required: - nominee_pot_id type: object properties: nominee_pot_id: description: Pot id of the nominee pot type: string example: - nominee_pot_id: pot-UKW3452800 ContributingEmployersCreateNewEmployerRequest: required: - name - investor_id - registration_number - address - status properties: name: description: Name of the contributing employer type: string maxLength: 100 example: Acme Ltd investor_id: description: Id of the investor type: string example: inv-QXR38578 registration_number: description: Registration number of the contributing employer type: string example: '12345678' address: type: object properties: postal_code: type: string example: S2 2DF address_line: type: string nullable: true example: '14' street_name: type: string nullable: true example: Tottenham Court Road city: type: string nullable: true example: London state: type: string nullable: true example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country status: description: Status of the contributing employer type: string enum: - active - inactive example: active bank_accounts: description: >- Allow to create only one bank account when creating a new contributing employer. type: array items: required: - account_name - default_account - bank_account_number properties: account_name: type: string maxLength: 100 example: David Brown default_account: description: For contributing employer, this will always be no type: string enum: - 'yes' - 'no' example: 'no' bank_account_number: description: Unique for the investor and contributing employer type: string minLength: 6 maxLength: 8 example: '99005678' account_status: type: string enum: - active - inactive example: active sort_code: type: string minLength: 6 maxLength: 8 example: '778856' building_society_roll_number: type: string minLength: 1 maxLength: 18 example: '11332272' ContributingEmployersUpdateParticularEmployerRequest: title: Update Request Body for contributing employer description: JSON for the Update contributing employer resource type required: - reference_version properties: name: description: Name of the contributing employer type: string maxLength: 100 example: Acme Ltd registration_number: description: Registration number of the contributing employer type: string example: '12345678' address: type: object properties: postal_code: type: string example: S2 2DF address_line: type: string nullable: true example: '14' street_name: type: string nullable: true example: Tottenham Court Road city: type: string nullable: true example: London state: type: string nullable: true example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country status: description: Status of the contributing employer type: string enum: - active - inactive example: active reference_version: type: integer example: 1 RecurringContributionsCreatePaymentRequest: required: - request_id - contribution_name - pot_id - investor_id - amount - sub_transaction_type - currency - payment_type - service_provider - purpose - payment_schedule properties: request_id: description: 'Unique request id to ensure idempotency. (ex: UUID)' type: string format: uuid contribution_name: description: User given identifier for the contribution type: string maxLength: 100 example: Contributions to SIPP pot_id: description: Pot ID of investor to direct the payment type: string example: pot-UKW34528503 investor_id: description: >- Investor ID of the investor making the contribution. For a joint pot, Investor ID of the party making contribution should be included. type: string example: inv-XUT11265 amount: description: >- Amount as a numeral string with two decimal points. (ex: 1500.00) Should be greater than or equal to the minimum investment for the financial product. type: string example: '100.00' sub_transaction_type: description: >- Sub transaction type for recurring contribution. Regular contribution - non relievable is only allowed for pots linked to SIPP Accumulation product type type: string example: Regular contribution - Employer enum: - Regular contribution - Regular contribution - non relievable - Regular contribution - Employer currency: description: Must be a currency configured for the Pot type: string example: GBP payment_type: description: Type of payment type: string example: direct_debit enum: - direct_debit service_provider: description: Service provider managing the recurring payment subscription type: string example: gocardless enum: - gocardless purpose: description: >- invest option is allowed only if investment_instructions given or a portfolio is attached, if not the purpose should be cash. type: string example: invest enum: - cash - invest investment_instructions: description: >- Mandatory only if purpose:"invest" and pot does not have a portfolio template attached (e.g. An execution-only or direct-to-consumer wealth manager). type: array items: required: - investment_product_id properties: investment_product_id: type: string quantity: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 332.34, 1050.0025). For `funds`, upto 4 decimal places. For `equities`, `bonds` and `etf`, 0 decimal places allowed. type: string value: description: >- Require if `quantity` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string example: - investment_product_id: isa_1223931892 quantity: '300' - investment_product_id: isa_9913091898 quantity: '500' source_id: description: >- Required only for payments intents for employer contributions made towards SIPP Accumulation Products type: string example: cem-ASP43560 payment_schedule: description: Parameters based on payment schedule type: object required: - interval_unit - interval - start_date properties: interval_unit: description: Repeating interval unit of recurring payment type: string enum: - monthly interval: description: >- Repeating interval of recurring payment. For monthly, should be 1-12 type: integer date: description: >- Date the payment is expected to be triggered if frequency is monthly. 1-28 or -1 to indicate the last day of the month type: integer start_date: description: >- Date to initiate the recurring payments. If approvals haven't been received by the given start date, the start date will be moved to the subscription activation date. Should be in YYYY-MM-DD format type: string format: date end_date: description: >- Date to conclude the recurring payments, if count is not provided. Should be in YYYY-MM-DD format type: string format: date count: description: >- No of recurring payments to trigger before concluding the payments, if an end date is not provided type: integer example: interval_unit: monthly interval: 2 date: 1 start_date: '2023-04-02' end_date: '2023-11-02' RecurringContributionsUpdateRecurringPaymentRequest: properties: amount: description: >- Amount as a numeral string with two decimal points. (ex: 1500.00) Should be greater than or equal to the minimum investment for the financial product. type: string example: '1500.00' contribution_name: description: User given identifier for the contribution type: string maxLength: 100 example: New contributions to SIPP RecurringContributionsPausePaymentSetupRequest: properties: pause_cycles: description: >- The number of cycles to pause a subscription for. A cycle is one duration of interval and interval_unit. This should be a non zero positive value. type: integer example: 1 RecurringContributionsResumeContributionRequest: type: object RecurringContributionsCancelRecurringPaymentRequest: type: object ProjectionsCalculatePensionProjectionRequest: type: object required: - name - date_of_birth - intended_retirement_age - current_pension_value - growth_rate properties: name: description: Name of the investor type: string maxLength: 100 example: David Brown date_of_birth: description: Should be today or an earlier date type: string format: date example: '1963-07-19' intended_retirement_age: description: At most should be 100. Should be greater than current age type: integer example: 60 current_pension_value: description: Current value of the pension pot. Can contain up to 2 decimal points type: number example: 1000 growth_rate: description: Annual growth rate of the pot. Can contain up to 2 decimal points type: number example: 2.5 recurring_contributions: type: array items: required: - frequency - amount properties: frequency: description: frequency can have values `Monthly` type: string enum: - Monthly amount: description: The amount can have upto 2 decimal points type: number example: frequency: Monthly amount: 600 one_off_payment: description: >- One-off payments are added to the initial value as tax relievable. Can contain up to 2 decimal points type: number example: 500 transfer_in: description: >- Transfer-ins are added to the initial value as tax relievable. Can contain up to 2 decimal points type: number example: 500 fees: type: array items: required: - fee_type - frequency - amount properties: fee_type: description: Type of the fee type: string frequency: description: frequency can have values `Monthly` type: string enum: - Monthly amount: description: The amount can have upto 2 decimal points type: number example: fee_type: Management fee frequency: Monthly amount: 600 projection_coverage_years: description: >- Projection is given for the requested coverage years and the retirement year. If not given, projection is given for 1st, 3rd, 5th and retirement year. Can contains positive integers less than 100 type: array example: - 5 items: description: >- WARNING: Missing items property in array schema. Missing items property has been filled with this AnyType schema. SippCrystallisationCreateRequestRequest: required: - request_id - investor_id - bank_account_id - crystallisation_instructions - drawdown_instructions properties: request_id: description: 'Unique request id to ensure idempotency. (ex: UUID)' type: string format: uuid investor_id: description: Investor ID of the investor making the crystallisation type: string example: inv-XUT11265 bank_account_id: description: Bank account ID of Investor type: string example: ba-bc00c28f-b3fc-42b7 crystallisation_instructions: description: Crystallisation instructions type: array items: required: - pot_id properties: pot_id: description: SIPP Accumulation pot from which funds should be crystalised type: string percentage: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 15.34). type: string value: description: >- Require if `percentage` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string example: - pot_id: pot-GYQ5423100 value: '1000' drawdown_instructions: description: Drawdown instructions type: array items: required: - pot_id - purpose - percentage properties: pot_id: description: >- SIPP Flexi Access Drawdown pot to which funds should be allocated after PCLS withdrawals type: string purpose: description: >- invest option is allowed only if investment_instructions given or a portfolio is attached, if not the purpose should be cash. type: string enum: - cash - invest value: description: >- Percentage of funds remaining after PCLS withdrawal from each accumulation pot, to be allocated to this pot ID type: string example: - pot_id: pot-XWL3855774 purpose: cash percentage: '30' - pot_id: pot-SDQ5009730 purpose: invest percentage: '70' ProjectionsCalculatePensionDrawdownRequest: type: object required: - name - date_of_birth - current_pension_value - growth_rate properties: name: description: Name of the investor type: string maxLength: 100 example: David Brown date_of_birth: description: Should be today or an earlier date type: string format: date example: '1963-07-19' current_pension_value: description: Current value of the pension pot. Can contain up to 2 decimal points type: number example: 1000 growth_rate: description: Annual growth rate of the pot. Can contain up to 2 decimal points type: number example: 2.5 recurring_contributions: type: array items: required: - frequency - amount properties: frequency: description: frequency can have values `Monthly` type: string enum: - Monthly amount: description: The amount can have upto 2 decimal points type: number example: frequency: Monthly amount: 600 one_off_payment: description: >- One-off payments are added to the initial value as tax relievable. Can contain up to 2 decimal points type: number example: 500 transfer_in: description: >- Transfer-ins are added to the initial value as tax relievable. Can contain up to 2 decimal points type: number example: 500 fees: type: array items: required: - fee_type - frequency - amount properties: fee_type: description: Type of the fee type: string frequency: description: frequency can have values `Monthly` type: string enum: - Monthly amount: description: The amount can have upto 2 decimal points type: number example: fee_type: Management fee frequency: Monthly amount: 600 one_off_withdrawal: description: >- One-off withdrawals are deducted from the initial value. Can contain up to 2 decimal points type: number example: 500 recurring_withdrawals: type: array items: required: - frequency - amount properties: frequency: description: frequency can have values `Monthly` type: string enum: - Monthly amount: description: The amount can have upto 2 decimal points type: number example: frequency: Monthly amount: 600 projection_coverage_years: description: >- Projection is given for the requested coverage years. If not given, projection is given for 5th and 10th years. Can contain positive integers less than 100 type: array example: - 5 items: description: >- WARNING: Missing items property in array schema. Missing items property has been filled with this AnyType schema. RecurringWithdrawalsCreateNewWithdrawalRequest: required: - request_id - withdrawal_name - pot_id - investor_id - bank_account_id - amount - currency - withdrawal_schedule properties: request_id: description: 'Unique request id to ensure idempotency. (ex: UUID)' type: string format: uuid withdrawal_name: description: User given identifier for the withdrawal type: string maxLength: 100 example: Withdrawals to SIPP investor_id: description: >- Investor ID of the investor making the withdrawal. For a joint pot, Investor ID of the party making withdrawal should be included. type: string example: inv-XUT11265 pot_id: description: Pot ID of investor to direct the withdrawal type: string example: pot-GYQ5423100 bank_account_id: description: Bank account ID of the investor where the withdrawn cash will go to type: string example: ba-92yu982d-at6u-4242-9856-83 amount: description: >- Amount as a numeral string with two decimal points. (ex: 1500.00) Should be greater than or equal to the minimum investment for the financial product. type: string example: '100.00' currency: description: Must be a currency configured for the Pot type: string example: GBP withdrawal_schedule: description: Parameters based on withdrawal schedule type: object required: - interval_unit - interval - start_date properties: interval_unit: description: Repeating interval unit of recurring withdrawal type: string enum: - monthly interval: description: >- Repeating interval of recurring withdrawal. For monthly, should be 1-12 type: integer date: description: >- Date the withdrawal is expected to be triggered if frequency is monthly. 1-28 or -1 to indicate the last day of the month type: integer start_date: description: >- Date to initiate the recurring withdrawal. If approvals haven't been received by the given start date, the start date will be moved to the subscription activation date. Should be in YYYY-MM-DD format type: string format: date end_date: description: >- Date to conclude the recurring withdrawal. Should be in YYYY-MM-DD format type: string format: date example: interval_unit: monthly interval: 2 date: 1 start_date: '2023-04-02' end_date: '2023-11-02' RecurringWithdrawalsUpdateActiveWithdrawalRequest: required: - reference_version properties: amount: description: >- Amount as a numeral string with two decimal points. (ex: 1500.00) Should be greater than or equal to the minimum investment for the financial product. type: string example: '1500.00' withdrawal_name: description: User given identifier for the withdrawal type: string maxLength: 100 example: New withdrawals to SIPP end_date: description: >- Date to conclude the recurring withdrawal. Should be in YYYY-MM-DD format type: string format: date example: '2024-10-30' reference_version: type: number example: 1 RecurringWithdrawalsCancelRecurringWithdrawalRequest: type: object WorkplaceEmployersCreateEmployerRequest: type: object required: - name - registration_number - registered_address - correspondence_address - status properties: name: description: Name of the workplace employer type: string maxLength: 100 example: Romayo Ltd registration_number: description: >- Registration number of the workplace employer, this should be unique for employers. type: string example: '12345678' registered_address: description: Registered address of the workplace employer type: object properties: postal_code: type: string example: S2 2DF address_line: type: string example: '14' street_name: type: string example: Tottenham Court Road city: type: string example: London state: type: string example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country correspondence_address: description: Address of designated location for receiving official communications type: object properties: postal_code: type: string example: A3 2CF address_line: type: string example: '17' street_name: type: string example: Flower Road city: type: string example: London state: type: string example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country company_structure: description: Structure of the company. type: string enum: - LLC example: LLC contact_details: description: Contact details of an individual of the company. type: object properties: name: type: string maxLength: 100 example: Adam Clark email: type: string maxLength: 100 example: adamclark@gmail.com phone_number: type: string maxLength: 16 example: '+441234567890' kyb_aml_status: description: Know Your Business status of the company type: string enum: - submitted - kyb_failed_error - pending - clear - not_started default: not_started example: clear status: description: >- Status of the workplace employer. Only the employers with the kyb_aml_status as clear can be set to active. type: string enum: - active - inactive example: active WorkplaceEmployersUpdateEmployerDetailsRequest: type: object required: - reference_version properties: name: description: Name of the workplace employer type: string maxLength: 100 example: Romayo Ltd registration_number: description: >- Registration number of the workplace employer, this should be unique for employers. type: string example: '12345678' registered_address: description: Registered address of the workplace employer type: object properties: postal_code: type: string example: D2 2DF address_line: type: string nullable: true example: '14' street_name: type: string nullable: true example: Court Road city: type: string nullable: true example: London state: type: string nullable: true example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR correspondence_address: description: Address of designated location for receiving official communications type: object properties: postal_code: type: string example: B3 2CF address_line: type: string nullable: true example: '17' street_name: type: string nullable: true example: Church Road city: type: string nullable: true example: London state: type: string nullable: true example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR company_structure: description: Structure of the company. type: string enum: - LLC example: LLC contact_details: description: Contact details of an individual of the company. type: object properties: name: type: string nullable: true example: Clark Kent email: type: string nullable: true example: clarkkent@gmail.com phone_number: type: string nullable: true example: '+441234567890' kyb_aml_status: description: Know Your Business status of the company type: string enum: - submitted - kyb_failed_error - pending - clear - not_started default: not_started example: clear status: description: >- Status of the workplace employer. Only the employers with the kyb_aml_status as clear can be set to active. type: string enum: - active - inactive example: active reference_version: type: number example: 1 PaymentsCreatePaymentIntentRequest: required: - request_id - amount - pot_id - payment_type - purpose - service_provider properties: request_id: description: 'Unique request id to ensure idempotency. (ex: UUID)' type: string format: uuid amount: description: >- Amount as a numeral string with two decimal points. (ex: 1500.00). Minimum allowed amount is 1.00 type: string example: '100.00' pot_id: type: string example: pot-UKW3452850 payment_type: type: string example: electronic_fund_transfer enum: - card - electronic_fund_transfer service_provider: type: string example: truelayer enum: - stripe - truelayer - none service_provider_params: description: Parameters based on prerequisites of the selected provider type: object properties: bank_account_id: description: >- Bank account ID of Investor (mandatory only if service_provider="truelayer") type: string example: ba-bc00c28f-b3fc-42b7 currency: description: Must be a currency configured for the Pot type: string example: GBP sub_transaction_type: description: >- Type of contribution. "Lump sum", "Lump sum - non relievable", "Employer contribution" is enabled for SIPP and is required to be sent in the request. "Lump sum" is enabled for all other financial products and need not be specified. If the sub transaction type is not specified for other financial products it will be defaulted to "Lump sum" . type: string example: Lump sum enum: - Lump sum - Lump sum - non relievable - Employer Contribution source_id: description: >- Required only for payments intents for employer contributions made towards SIPP Accumulation Products type: string example: cem-ASP43560 purpose: type: string example: invest enum: - cash - invest investment_instructions: description: >- Mandatory only if purpose:"invest" and pot does not have a portfolio template attached (e.g. An execution-only or direct-to-consumer wealth manager). type: array items: required: - investment_product_id properties: investment_product_id: type: string quantity: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 332.34, 1050.0025). For `funds`, upto 4 decimal places. For `equities`, `bonds` and `etf`, 0 decimal places allowed. type: string value: description: >- Require if `quantity` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string example: - investment_product_id: isa_1223931892 quantity: '300' - investment_product_id: isa_9913091898 quantity: '500' PortfolioTemplatesCreateNewTemplateRequest: required: - portfolio_template_id - reference_version - portfolio_name - ratios properties: portfolio_template_id: description: system generated id type: string readOnly: true maxLength: 64 example: pft-c60c9472-6668-4f7a-aa69 portfolio_name: type: string example: PFT5689 owner: type: string readOnly: true example: SYSTEM ratios: type: array items: required: - investment_product_id - ratio properties: investment_product_id: description: must be an investment product id or 'cash' type: string ratio: description: 'must be in correct pattern (eg: 25.00, 33.34, 50.25, 100.00)' type: string example: - investment_product_id: ETF069GBP ratio: '60' - investment_product_id: BND058GBP ratio: '40' WithdrawalsCreateSingleWithdrawalRequest1: title: Root Type for Withdrawal description: JSON for the Withdrawal resource type required: - request_id - pot_id - currency - transaction_value - sub_transaction_type - bank_account_id properties: request_id: description: 'Unique request id to ensure idempotency. (ex: UUID)' type: string format: uuid pot_id: description: Pot ID type: string maxLength: 64 example: pot-SDQ5659730 currency: description: Currency of the Withdrawal.must be a currency configured for the Pot type: string example: USD transaction_value: description: Withdrawal Amount upto 2 decimal places type: string example: '123.45' sub_transaction_type: description: Withdrawal sub transaction type type: string example: Withdrawal enum: - Withdrawal - Income Withdrawal bank_account_id: description: Bank Account ID type: string example: ba-example-bank-account TestMethodsGetBeGreetingsResponse: required: - tenant - message - members properties: tenant: type: string members: type: array items: type: string message: type: string example: tenant: wos members: - Leonardo - Michelangelo - Donatello - Raphael message: Welcome to WOS world TestMethodsGetBeGreetings403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string TestMethodsGetBeGreetings429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string TestMethodsGetBeGreetings500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsGetAllResponse: description: Array of investors required: - investors - next_page_available type: object properties: investors: type: array items: title: Root Type for Investor description: JSON for the Investor resource type required: - investor_id - first_name - last_name - nationality - tax_id - address - tax_residency_compliant - date_of_birth - kyc_aml_status - dealing_status - kyc_aml_status_last_updated - status - reference_version - created_at - updated_at properties: title: type: string example: Mr. investor_id: type: string maxLength: 64 example: inv-XUT11265 gender: type: string example: male first_name: type: string maxLength: 100 example: David last_name: type: string minLength: 2 maxLength: 100 example: Brown status: type: string enum: - kyc_pending - kyc_failed - inactive - active readOnly: true example: kyc_pending email: type: string maxLength: 100 example: davidbrown@gmail.com mobile_number: type: string maxLength: 16 example: '+441234567890' home_number: type: string maxLength: 16 example: '+441234587830' office_number: type: string maxLength: 16 example: '+442072343456' nationality: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR tax_id: type: string example: AB123456C kyc_aml_status: type: string enum: - submitted - kyc_failed_error - pending - clear - not_started default: not_started example: not_started dealing_status: type: string enum: - inactive - active default: inactive example: inactive id_numbers: type: array items: type: object properties: id_type: type: string id_number: type: string required: - id_type - id_number example: - id_type: passport id_number: '2324839048381' address: type: object properties: postal_code: type: string example: S2 2DF address_line: type: string nullable: true example: '14' street_name: type: string nullable: true example: Tottenham Court Road city: type: string nullable: true example: London state: type: string nullable: true example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country mifid_tax_id: type: string example: '2382392274' tax_residency_compliant: type: boolean example: true date_of_birth: description: YYYY-MM-DD type: string format: date example: '1990-12-20' kyc_aml_status_last_updated: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' bank_accounts: description: Array of bank account IDs type: array items: type: string example: ba-bc00c28f-b3fc-42b7 retirement_age: description: Intended retirement age of the investor type: number example: 60 tax_residence: description: >- Residence of the investor for tax purposes. (for example, to claim relief at source) GB-ENG=England GB-NIR=Northern Ireland GB-SCT=Scotland GB-WLS=Wales type: string enum: - GB-ENG - GB-NIR - GB-SCT - GB-WLS example: GB-ENG employment_status: description: >- Status of an investor best describes their personal circumstances. type: string enum: - employed - self_employed - pensioner - child_under_16 - in_full_time_education - unemployed - caring_for_a_person_over_16 - caring_for_a_person_under_16 - other example: employed mpaa_triggered: description: >- Whether the investor has triggered the Money Purchase Annual Allowance. type: boolean example: true mpaa_triggered_date: description: >- Date of triggering the Money Purchase Annual Allowance. It is required if mpaa_triggered is true. type: string format: date example: '2023-01-30' workplace_employers: description: >- Unique IDs of workplace employers who are contributing to the workplace pension of the investor. type: array items: type: string example: wem-AHY58878 lta_protection_details: description: >- Additional details of the lifetime allowance protections of the investor type: array items: type: object properties: lta_protection_type: type: string enum: - primary - enhanced - fp12 - fp14 - ip14 - fp16 - ip16 lta_primary_protection_factor: description: Required only when the lta_protection_type is primary type: string lta_individual_protection_amount: description: Required when the lta_protection_type is ip14 or ip16. type: string lta_protection_notification_number: description: Required when the lta_protection_type is fp16 or ip16. type: string lta_protection_scheme_administrator_reference: description: Required when the lta_protection_type is fp16 or ip16. type: string required: - lta_protection_type example: - lta_protection_type: primary lta_primary_protection_factor: '20.00' - lta_protection_type: fp14 expression_of_wish: description: Beneficiary and nominee list of the expression of wish. type: object properties: sipp_beneficiaries: type: array items: type: object properties: title: type: string first_name: type: string maxLength: 100 last_name: type: string minLength: 2 maxLength: 100 address: type: string tax_id: type: string phone_number: type: string email: type: string percentage: type: string required: - first_name - last_name - address - percentage example: - title: Mr. first_name: William last_name: Smith address: 13 Park Row,Edinburgh, United Kingdom tax_id: AB123956P phone_number: '+441332960321' email: davidbrown@gmail.com percentage: '75.00' - title: Miss. first_name: Jessica last_name: Smith address: 14 Park Row,Edinburgh, United Kingdom tax_id: KL123956M phone_number: '+441630960345' email: jessicasmith@gmail.com percentage: '25.00' sipp_nominees: type: array items: type: object properties: title: type: string first_name: type: string maxLength: 100 last_name: type: string minLength: 2 maxLength: 100 address: type: string tax_id: type: string phone_number: type: string email: type: string percentage: type: string required: - first_name - last_name - address - percentage example: - title: Mr. first_name: James last_name: Brown address: 87 Colorado Way,Richmond, United Kingdom tax_id: XY123956Z phone_number: '+441630960322' email: jamesbrown@gmail.com percentage: '50.00' - title: Mrs. first_name: Emily last_name: Brown address: 4 Baldock Street, Newtown, United Kingdom tax_id: SY123956P phone_number: '+441615960345' email: emilybrown@gmail.com percentage: '50.00' reference_version: type: integer example: 1 readOnly: true created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' next_page_available: description: This indicates the availability of the next page type: boolean readOnly: true InvestorsGetAll400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object InvestorsGetAll401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsGetAll403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsGetAll429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsGetAll500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsCreateNewInvestorResponse: title: Root Type for Investor creation response description: JSON for the Investor creation response resource type required: - investor_id - first_name - last_name - nationality - tax_id - address - tax_residency_compliant - date_of_birth - kyc_aml_status - dealing_status - kyc_aml_status_last_updated - status - reference_version - created_at - updated_at properties: title: type: string example: Mr. investor_id: type: string maxLength: 64 example: inv-XUT11265 gender: type: string example: male first_name: type: string maxLength: 100 example: David last_name: type: string minLength: 2 maxLength: 100 example: Brown status: type: string enum: - kyc_pending - kyc_failed - inactive - active readOnly: true example: kyc_pending email: type: string maxLength: 100 example: davidbrown@gmail.com mobile_number: type: string maxLength: 16 example: '+441234567890' home_number: type: string maxLength: 16 example: '+441234587830' office_number: type: string maxLength: 16 example: '+442072343456' nationality: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR tax_id: type: string example: AB123456C kyc_aml_status: type: string enum: - submitted - kyc_failed_error - pending - clear - not_started default: not_started example: not_started dealing_status: type: string enum: - inactive - active default: inactive example: inactive id_numbers: type: array items: type: object properties: id_type: type: string id_number: type: string required: - id_type - id_number example: - id_type: passport id_number: '2324839048381' address: type: object properties: postal_code: type: string example: S2 2DF address_line: type: string nullable: true example: '14' street_name: type: string nullable: true example: Tottenham Court Road city: type: string nullable: true example: London state: type: string nullable: true example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country mifid_tax_id: type: string example: '2382392274' tax_residency_compliant: type: boolean example: true date_of_birth: description: YYYY-MM-DD type: string format: date example: '1990-12-20' retirement_age: type: number example: 60 tax_residence: description: >- Residence of the investor for tax purposes. (for example, to claim relief at source) GB-ENG=England GB-NIR=Northern Ireland GB-SCT=Scotland GB-WLS=Wales type: string enum: - GB-ENG - GB-NIR - GB-SCT - GB-WLS example: GB-ENG employment_status: type: string enum: - employed - self_employed - pensioner - child_under_16 - in_full_time_education - unemployed - caring_for_a_person_over_16 - caring_for_a_person_under_16 - other example: employed mpaa_triggered: type: boolean example: true mpaa_triggered_date: type: string format: date example: '2023-01-30' workplace_employers: description: >- Unique IDs of workplace employers who are contributing to the workplace pension of the investor. type: array items: type: string example: wem-AHY58878 lta_protection_details: type: array items: type: object properties: lta_protection_type: type: string enum: - primary - enhanced - fp12 - fp14 - ip14 - fp16 - ip16 lta_primary_protection_factor: description: Required only when the lta_protection_type is primary type: string lta_individual_protection_amount: description: Required when the lta_protection_type is ip14 or ip16. type: string lta_protection_notification_number: description: Required when the lta_protection_type is fp16 or ip16. type: string lta_protection_scheme_administrator_reference: description: Required when the lta_protection_type is fp16 or ip16. type: string required: - lta_protection_type example: - lta_protection_type: primary lta_primary_protection_factor: '20.00' - lta_protection_type: fp14 expression_of_wish: type: object properties: sipp_beneficiaries: type: array items: type: object properties: title: type: string first_name: type: string maxLength: 100 last_name: type: string minLength: 2 maxLength: 100 address: type: string tax_id: type: string phone_number: type: string email: type: string percentage: type: string required: - first_name - last_name - address - percentage example: - title: Mr. first_name: William last_name: Smith address: 13 Park Row,Edinburgh, United Kingdom tax_id: AB123956P phone_number: '+441332960321' email: davidbrown@gmail.com percentage: '75.00' - title: Miss. first_name: Jessica last_name: Smith address: 14 Park Row,Edinburgh, United Kingdom tax_id: KL123956M phone_number: '+441630960345' email: jessicasmith@gmail.com percentage: '25.00' sipp_nominees: type: array items: type: object properties: title: type: string first_name: type: string maxLength: 100 last_name: type: string minLength: 2 maxLength: 100 address: type: string tax_id: type: string phone_number: type: string email: type: string percentage: type: string required: - first_name - last_name - address - percentage example: - title: Mr. first_name: James last_name: Brown address: 87 Colorado Way,Richmond, United Kingdom tax_id: XY123956Z phone_number: '+441630960322' email: jamesbrown@gmail.com percentage: '50.00' - title: Mrs. first_name: Emily last_name: Brown address: 4 Baldock Street, Newtown, United Kingdom tax_id: SY123956P phone_number: '+441615960345' email: emilybrown@gmail.com percentage: '50.00' kyc_aml_status_last_updated: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' bank_accounts: description: Allow to create only one bank account when creating a new investor. type: array items: required: - account_name - investor_id - default_account - bank_account_number properties: bank_account_id: description: system generated id type: string readOnly: true maxLength: 100 example: ba-bc00c28f-b3fc-42b7 investor_id: type: string example: inv-XUT11265 account_name: type: string maxLength: 100 example: David Brown bank_account_type: type: string enum: - investor - contributing_employer example: contributing_employer default_account: description: Only one account should be the default type: string enum: - 'yes' - 'no' example: 'yes' bank_account_number: description: Unique for the investor type: string minLength: 6 maxLength: 8 example: '****5678' account_status: description: If not populated, will be defaulted to inactive type: string enum: - active - inactive example: active sort_code: type: string minLength: 6 maxLength: 8 example: '****56' building_society_roll_number: type: string minLength: 1 maxLength: 18 example: '******72' status: type: string enum: - failed - success example: failed error_message: description: If the bank account creation failed type: string example: Only one bank account can be set as the default account reference_version: type: integer readOnly: true example: 1 created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' reference_version: type: integer example: 1 readOnly: true created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' InvestorsCreateNewInvestor400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object InvestorsCreateNewInvestor401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsCreateNewInvestor403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsCreateNewInvestor429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsCreateNewInvestor500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsGetInvestorDetailsResponse: title: Root Type for Investor description: JSON for the Investor resource type required: - investor_id - first_name - last_name - nationality - tax_id - address - tax_residency_compliant - date_of_birth - kyc_aml_status - dealing_status - kyc_aml_status_last_updated - status - reference_version - created_at - updated_at properties: title: type: string example: Mr. investor_id: type: string maxLength: 64 example: inv-XUT11265 gender: type: string example: male first_name: type: string maxLength: 100 example: David last_name: type: string minLength: 2 maxLength: 100 example: Brown status: type: string enum: - kyc_pending - kyc_failed - inactive - active readOnly: true example: kyc_pending email: type: string maxLength: 100 example: davidbrown@gmail.com mobile_number: type: string maxLength: 16 example: '+441234567890' home_number: type: string maxLength: 16 example: '+441234587830' office_number: type: string maxLength: 16 example: '+442072343456' nationality: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR tax_id: type: string example: AB123456C kyc_aml_status: type: string enum: - submitted - kyc_failed_error - pending - clear - not_started default: not_started example: not_started dealing_status: type: string enum: - inactive - active default: inactive example: inactive id_numbers: type: array items: type: object properties: id_type: type: string id_number: type: string required: - id_type - id_number example: - id_type: passport id_number: '2324839048381' address: type: object properties: postal_code: type: string example: S2 2DF address_line: type: string nullable: true example: '14' street_name: type: string nullable: true example: Tottenham Court Road city: type: string nullable: true example: London state: type: string nullable: true example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country mifid_tax_id: type: string example: '2382392274' tax_residency_compliant: type: boolean example: true date_of_birth: description: YYYY-MM-DD type: string format: date example: '1990-12-20' kyc_aml_status_last_updated: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' bank_accounts: description: Array of bank account IDs type: array items: type: string example: ba-bc00c28f-b3fc-42b7 retirement_age: description: Intended retirement age of the investor type: number example: 60 tax_residence: description: >- Residence of the investor for tax purposes. (for example, to claim relief at source) GB-ENG=England GB-NIR=Northern Ireland GB-SCT=Scotland GB-WLS=Wales type: string enum: - GB-ENG - GB-NIR - GB-SCT - GB-WLS example: GB-ENG employment_status: description: Status of an investor best describes their personal circumstances. type: string enum: - employed - self_employed - pensioner - child_under_16 - in_full_time_education - unemployed - caring_for_a_person_over_16 - caring_for_a_person_under_16 - other example: employed mpaa_triggered: description: >- Whether the investor has triggered the Money Purchase Annual Allowance. type: boolean example: true mpaa_triggered_date: description: >- Date of triggering the Money Purchase Annual Allowance. It is required if mpaa_triggered is true. type: string format: date example: '2023-01-30' workplace_employers: description: >- Unique IDs of workplace employers who are contributing to the workplace pension of the investor. type: array items: type: string example: wem-AHY58878 lta_protection_details: description: >- Additional details of the lifetime allowance protections of the investor type: array items: type: object properties: lta_protection_type: type: string enum: - primary - enhanced - fp12 - fp14 - ip14 - fp16 - ip16 lta_primary_protection_factor: description: Required only when the lta_protection_type is primary type: string lta_individual_protection_amount: description: Required when the lta_protection_type is ip14 or ip16. type: string lta_protection_notification_number: description: Required when the lta_protection_type is fp16 or ip16. type: string lta_protection_scheme_administrator_reference: description: Required when the lta_protection_type is fp16 or ip16. type: string required: - lta_protection_type example: - lta_protection_type: primary lta_primary_protection_factor: '20.00' - lta_protection_type: fp14 expression_of_wish: description: Beneficiary and nominee list of the expression of wish. type: object properties: sipp_beneficiaries: type: array items: type: object properties: title: type: string first_name: type: string maxLength: 100 last_name: type: string minLength: 2 maxLength: 100 address: type: string tax_id: type: string phone_number: type: string email: type: string percentage: type: string required: - first_name - last_name - address - percentage example: - title: Mr. first_name: William last_name: Smith address: 13 Park Row,Edinburgh, United Kingdom tax_id: AB123956P phone_number: '+441332960321' email: davidbrown@gmail.com percentage: '75.00' - title: Miss. first_name: Jessica last_name: Smith address: 14 Park Row,Edinburgh, United Kingdom tax_id: KL123956M phone_number: '+441630960345' email: jessicasmith@gmail.com percentage: '25.00' sipp_nominees: type: array items: type: object properties: title: type: string first_name: type: string maxLength: 100 last_name: type: string minLength: 2 maxLength: 100 address: type: string tax_id: type: string phone_number: type: string email: type: string percentage: type: string required: - first_name - last_name - address - percentage example: - title: Mr. first_name: James last_name: Brown address: 87 Colorado Way,Richmond, United Kingdom tax_id: XY123956Z phone_number: '+441630960322' email: jamesbrown@gmail.com percentage: '50.00' - title: Mrs. first_name: Emily last_name: Brown address: 4 Baldock Street, Newtown, United Kingdom tax_id: SY123956P phone_number: '+441615960345' email: emilybrown@gmail.com percentage: '50.00' reference_version: type: integer example: 1 readOnly: true created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' InvestorsGetInvestorDetails400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object InvestorsGetInvestorDetails401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsGetInvestorDetails403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsGetInvestorDetails404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsGetInvestorDetails429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsGetInvestorDetails500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsUpdateInvestorDetailsResponse: title: Root Type for Investor description: JSON for the Investor resource type required: - investor_id - first_name - last_name - nationality - tax_id - address - tax_residency_compliant - date_of_birth - kyc_aml_status - dealing_status - kyc_aml_status_last_updated - status - reference_version - created_at - updated_at properties: title: type: string example: Mr. investor_id: type: string maxLength: 64 example: inv-XUT11265 gender: type: string example: male first_name: type: string maxLength: 100 example: David last_name: type: string minLength: 2 maxLength: 100 example: Brown status: type: string enum: - kyc_pending - kyc_failed - inactive - active readOnly: true example: kyc_pending email: type: string maxLength: 100 example: davidbrown@gmail.com mobile_number: type: string maxLength: 16 example: '+441234567890' home_number: type: string maxLength: 16 example: '+441234587830' office_number: type: string maxLength: 16 example: '+442072343456' nationality: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR tax_id: type: string example: AB123456C kyc_aml_status: type: string enum: - submitted - kyc_failed_error - pending - clear - not_started default: not_started example: not_started dealing_status: type: string enum: - inactive - active default: inactive example: inactive id_numbers: type: array items: type: object properties: id_type: type: string id_number: type: string required: - id_type - id_number example: - id_type: passport id_number: '2324839048381' address: type: object properties: postal_code: type: string example: S2 2DF address_line: type: string nullable: true example: '14' street_name: type: string nullable: true example: Tottenham Court Road city: type: string nullable: true example: London state: type: string nullable: true example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country mifid_tax_id: type: string example: '2382392274' tax_residency_compliant: type: boolean example: true date_of_birth: description: YYYY-MM-DD type: string format: date example: '1990-12-20' kyc_aml_status_last_updated: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' bank_accounts: description: Array of bank account IDs type: array items: type: string example: ba-bc00c28f-b3fc-42b7 retirement_age: description: Intended retirement age of the investor type: number example: 60 tax_residence: description: >- Residence of the investor for tax purposes. (for example, to claim relief at source) GB-ENG=England GB-NIR=Northern Ireland GB-SCT=Scotland GB-WLS=Wales type: string enum: - GB-ENG - GB-NIR - GB-SCT - GB-WLS example: GB-ENG employment_status: description: Status of an investor best describes their personal circumstances. type: string enum: - employed - self_employed - pensioner - child_under_16 - in_full_time_education - unemployed - caring_for_a_person_over_16 - caring_for_a_person_under_16 - other example: employed mpaa_triggered: description: >- Whether the investor has triggered the Money Purchase Annual Allowance. type: boolean example: true mpaa_triggered_date: description: >- Date of triggering the Money Purchase Annual Allowance. It is required if mpaa_triggered is true. type: string format: date example: '2023-01-30' workplace_employers: description: >- Unique IDs of workplace employers who are contributing to the workplace pension of the investor. type: array items: type: string example: wem-AHY58878 lta_protection_details: description: >- Additional details of the lifetime allowance protections of the investor type: array items: type: object properties: lta_protection_type: type: string enum: - primary - enhanced - fp12 - fp14 - ip14 - fp16 - ip16 lta_primary_protection_factor: description: Required only when the lta_protection_type is primary type: string lta_individual_protection_amount: description: Required when the lta_protection_type is ip14 or ip16. type: string lta_protection_notification_number: description: Required when the lta_protection_type is fp16 or ip16. type: string lta_protection_scheme_administrator_reference: description: Required when the lta_protection_type is fp16 or ip16. type: string required: - lta_protection_type example: - lta_protection_type: primary lta_primary_protection_factor: '20.00' - lta_protection_type: fp14 expression_of_wish: description: Beneficiary and nominee list of the expression of wish. type: object properties: sipp_beneficiaries: type: array items: type: object properties: title: type: string first_name: type: string maxLength: 100 last_name: type: string minLength: 2 maxLength: 100 address: type: string tax_id: type: string phone_number: type: string email: type: string percentage: type: string required: - first_name - last_name - address - percentage example: - title: Mr. first_name: William last_name: Smith address: 13 Park Row,Edinburgh, United Kingdom tax_id: AB123956P phone_number: '+441332960321' email: davidbrown@gmail.com percentage: '75.00' - title: Miss. first_name: Jessica last_name: Smith address: 14 Park Row,Edinburgh, United Kingdom tax_id: KL123956M phone_number: '+441630960345' email: jessicasmith@gmail.com percentage: '25.00' sipp_nominees: type: array items: type: object properties: title: type: string first_name: type: string maxLength: 100 last_name: type: string minLength: 2 maxLength: 100 address: type: string tax_id: type: string phone_number: type: string email: type: string percentage: type: string required: - first_name - last_name - address - percentage example: - title: Mr. first_name: James last_name: Brown address: 87 Colorado Way,Richmond, United Kingdom tax_id: XY123956Z phone_number: '+441630960322' email: jamesbrown@gmail.com percentage: '50.00' - title: Mrs. first_name: Emily last_name: Brown address: 4 Baldock Street, Newtown, United Kingdom tax_id: SY123956P phone_number: '+441615960345' email: emilybrown@gmail.com percentage: '50.00' reference_version: type: integer example: 1 readOnly: true created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' InvestorsUpdateInvestorDetails400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object InvestorsUpdateInvestorDetails401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsUpdateInvestorDetails403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsUpdateInvestorDetails404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsUpdateInvestorDetails429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsUpdateInvestorDetails500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string FinancialProductsListAllResponse: required: - financial_products type: object properties: financial_products: type: array items: title: Root Type for Financial Products description: '' required: - product_type - financial_product_id - name - created_at - updated_at type: object properties: financial_product_id: type: string name: type: string maxLength: 50 availability: type: array items: type: string additional_cash_currencies: type: array items: type: string dividend_options: type: array items: type: string investment_preferences: type: object required: - minimum_one_off_investment properties: minimum_one_off_investment: type: string regular_investment_frequencies: type: array items: type: string lisa_bonus_percentage: description: >- The government-provided incentive rate applied to eligible contributions in a LISA. Can contain up to 2 decimal points. Applicable for LISA financial products. type: integer withdrawal_preferences: type: object required: - minimum_one_off_withdrawal properties: minimum_one_off_withdrawal: type: string minimum_regular_monthly_withdrawal: type: string regular_withdrawal_frequencies: type: array items: type: string regular_withdrawal_payment_dates: type: array items: type: string nullable: true withdrawal_notice_period: description: >- Specified number of days during which a withdrawal request remains pending, and at the end of this period, the withdrawal will be triggered. Applicable for LISA financial products. type: string withdrawal_charge_percentage: description: >- The government-imposed penalty percentage for unauthorized withdrawals executed by an investor from a LISA account. Can contain up to 2 decimal points. Applicable for LISA financial products. type: integer product_type: description: Financial product type type: string flexible: description: >- Whether the regulations allow a financial product to be flexible type: string enum: - 'YES' - 'NO' max_annual_ISA_subscription_limit: description: Max Annual ISA Subscription Limit. Applicable to ISA products type: string annual_product_subscription_limit: description: >- Annual limit for tax free contributions. Contributions up to this limit qualify for tax refund. Applicable to SIPP products type: string annual_subscription_reduced_limit: description: >- Annual limit for tax free contributions for minors and other individuals with limited income. Applicable to SIPP products type: string money_purchase_annual_allowance: description: >- Annual limit for tax free contributions when an investor has triggered a drawdown/crystallisation. Applicable to SIPP products type: string lifetime_allowance: description: >- Lifetime limit for tax free withdrawals. Applicable to SIPP products type: string minimum_age: description: >- Minimum age qualifying an individual to invest in a Pension Accumulation Plan or open a LISA investor account. Applicable for SIPP or LISA financial products. type: integer maximum_age: description: >- Maximum age qualifying an individual to open a LISA investor account. Applicable for LISA financial products. type: integer minimum_withdrawal_age: description: >- Minimum age at which an individual can make a penalty-free authorized withdrawal from a Lifetime ISA, excluding reasons like purchasing a first home, being terminally ill, or in case of death. Applicable for LISA financial products. type: integer maximum_contribution_age: description: >- Maximum age qualifying an individual to contribute in to a LISA account. Applicable for LISA financial products. type: integer annual_lisa_subscription_limit: description: >- Maximum Subscription Limit for an individual can contribute to a LISA in a tax year. Applicable for LISA financial products. type: integer created_at: type: string format: date-time readOnly: true updated_at: type: string format: date-time readOnly: true example: financial_product_id: stocks_isa product_type: stocks_isa name: Acorn ISA availability: - All clients additional_cash_currencies: - EUR - USD dividend_options: - Auto reinvest always - Offer reinvest option investment_preferences: minimum_one_off_investment: '1000' minimum_regular_monthly_investment: '100' regular_investment_frequencies: - Calendar monthly - Yearly on a predefined date regular_investment_dates: - 10th - 17th - 24th withdrawal_preferences: minimum_one_off_withdrawal: '1000' minimum_regular_monthly_withdrawal: '100' regular_withdrawal_frequencies: - Calendar monthly - Yearly on a predefined date regular_withdrawal_payment_dates: - 10th - 17th - 24th interest_preferences: pay_interest: 'Yes' interest_accrual_basis: Daily interest_payment_frequency: Daily max_annual_ISA_subscription_limit: '20000' flexible: 'NO' created_at: '2020-07-08T07:36:05.884Z' updated_at: '2020-07-10T07:36:05.884Z' FinancialProductsListAll400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object FinancialProductsListAll401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string FinancialProductsListAll403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string FinancialProductsListAll404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string FinancialProductsListAll429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string FinancialProductsListAll500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PaymentsGetByTransactionIdResponse: title: Root Type for Payments required: - amount - currency - status - pot_id - payment_type - transaction_id - service_provider - purpose - origin properties: transaction_id: type: string investor_id: type: array items: type: string amount: type: string currency: type: string pot_id: type: string payment_type: type: string enum: - card - electronic_fund_transfer - direct_debit service_provider: type: string enum: - stripe - truelayer - gocardless - none sub_transaction_type: description: Type of contribution type: string enum: - Lump sum - Lump sum - non relievable - Employer contribution - Regular contribution - Regular contribution - non relievable - Regular contribution - Employer source_id: description: >- Required only for payments intents for employer contributions made towards SIPP Accumulation Products type: string service_provider_params: description: Custom parameters based on prerequisites of the selected provider type: object properties: bank_account_id: description: >- Bank account ID of Investor (include if service_provider="truelayer") type: string payment_reference: description: Recurring payment reference type: string created_at: description: Recurring payment created date type: string format: date-time desrciption: description: Recurring payment description type: string service_provider_status: description: >- Recurring payment status transitions depend on the service provider type: string authorization_reference: description: >- Recurring payment authorization reference ID provided by a service provider maintained under payment authorizations for an investor type: string purpose: type: string enum: - cash - invest investment_instructions: description: >- mandatory only if purpose:"invest" and pot does not have a portfolio template attached (e.g. An execution-only or direct-to-consumer wealth manager) type: array nullable: true items: required: - investment_product_id properties: investment_product_id: type: string quantity: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 332.34, 1050.0025). For `funds`, upto 4 decimal places. For `equities`, `bonds` and `etf`, 0 decimal places allowed. type: string value: description: >- Require if `quantity` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string status: description: >- Status of the payment - `pending_confirmation`: Payment is pending approvals and confirmation - `processing`: Payment is confirmed, and being processed. Depending on the payment method, this may be instantaneous (e.g. card) or take multiple days (e.g. cheque) - `succeeded`: Payment is successful. Cash is cleaned in account. - `cancelled`: Payment cancelled, and any held funds have been returned. - `failed`: Payment failed due to insufficient funds, invalid card details, network issues etc. type: string enum: - pending_confirmation - processing - succeeded - cancelled - failed origin: description: Origin of the payment type: string enum: - api - admin_ui settlement_date: description: Required if origin is admin_ui type: string format: date-time contribution_id: description: >- Required only for payments intents which created through a recurring contribution type: string reason: description: >- This field populated only when payment intent status is failed or cancelled, with reason for cancellation or failure type: string payment_reference: type: string example: transaction_id: 75d65d2b-60c6-45ad-979d-0e3e403e6c7e investor_id: - inv-XUT11265 amount: '20000' currency: GBP status: pending_confirmation pot_id: pot-UKW3452875 payment_type: electronic_fund_transfer service_provider: truelayer sub_transaction_type: Lump sum purpose: cash PaymentsGetByTransactionId400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object PaymentsGetByTransactionId401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PaymentsGetByTransactionId403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PaymentsGetByTransactionId404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PaymentsGetByTransactionId429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PaymentsGetByTransactionId500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetInvestorPotsResponse: description: Array of all active investment pots created by the investor required: - pots type: object properties: pots: type: array items: title: Single required: - pot_id - pot_name - investor_id - financial_product_id - pot_currency - status - reference_version - created_at - updated_at properties: pot_id: description: system generated id type: string example: pot-GYQ5423100 readOnly: true maxLength: 64 investor_id: type: array items: type: string example: inv-XUT11265 pot_name: type: string minLength: 1 maxLength: 50 example: Retirement Pot financial_product_id: type: string example: general_investment_product portfolio_template_id: type: string example: pft-c60c9472-6668-4f7a-aa69 pot_currency: description: >- If not populated, will be defaulted to tenancy currency.
Currency should be enabled for Financial Product. Tenancy currency is allowed by default, additional currencies enabled for a product can be identified using the “Get all financial products” end point. type: string enum: - GBP - CAD - USD status: type: string enum: - active - inactive reference_version: type: integer readOnly: true example: 1 account_id: type: string example: SSISA0000000001 created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' PotsHoldingsAndTransactionsGetInvestorPots400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object PotsHoldingsAndTransactionsGetInvestorPots401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetInvestorPots403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetInvestorPots404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetInvestorPots429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetInvestorPots500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsCreateNewPotsResponse: title: Multiple type: object required: - status - investor_id - financial_product_id - results properties: status: description: >- status of the multi pot creation request . `success`: All pots created successfully . `partially_successful`: Some (but not all) pots were created successfully type: string example: partially_successful enum: - success - partially_successful investor_id: type: array items: type: string example: inv-XUT11265 financial_product_id: type: string example: sipp_accumulation results: description: >- Array of successes and failures. Failures will include a reason for the error type: array items: items: required: - pot_id - pot_name - status - pot_currency - reference_version - success - created_at - updated_at properties: pot_id: description: system generated id type: string readOnly: true maxLength: 64 pot_name: type: string portfolio_template_id: type: string account_id: type: string example: SSISA0000000001 pot_currency: description: >- If not populated, will be defaulted to tenancy currency.
Currency should be enabled for Financial Product. Tenancy currency is allowed by default, additional currencies enabled for a product can be identified using the “Get all financial products” end point type: string enum: - GBP - CAD - USD status: type: string enum: - active - inactive reference_version: type: integer readOnly: true example: 1 success: type: boolean message: description: Reason for failure if success = false type: string created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' example: - pot_id: pot-GYQ5423100 pot_name: Retirement Pot 1 portfolio_template_id: pft-c60c9472-6668-4f7a-aa69 pot_currency: GBP account_id: SSISA0000000001 status: active reference_version: 1 created_at: '2020-07-08T07:36:05.884Z' updated_at: '2020-07-08T07:36:05.884Z' success: true - success: false message: Value [CHF] for [pot_currency] is not valid PotsHoldingsAndTransactionsCreateNewPots400Response: type: object properties: {} example: {} PotsHoldingsAndTransactionsCreateNewPots401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsCreateNewPots403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsCreateNewPots429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsCreateNewPots500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RebalanceEvaluatePortfolioDeviationResponse: title: This is the return object for rebalance evaluation request description: Contains rebalance request id and status required: - rebalance_request_id - status - created_at type: object properties: rebalance_request_id: description: Unique identifier of the rebalance instruction type: string example: re-d3b39bc2-0ff5-40c0-9575-f5139b959c1b status: description: Status of the rebalance evaluation process type: string enum: - processing example: processing created_at: description: Date and time of evaluation request created type: string format: date-time RebalanceEvaluatePortfolioDeviation400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object RebalanceEvaluatePortfolioDeviation401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RebalanceEvaluatePortfolioDeviation403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RebalanceEvaluatePortfolioDeviation404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RebalanceEvaluatePortfolioDeviation429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RebalanceEvaluatePortfolioDeviation500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RebalanceGetEvaluationDetailsResponse: title: this is the return object with evaluation per pot description: contains array for pot details required: - rebalanceEvaluation - next_page_available properties: rebalanceEvaluation: type: object required: - rebalance_request_id - status - created_at - updated_at properties: rebalance_request_id: description: Unique identifier of the rebalance instruction type: string example: fh584838fff status: description: Status of the rebalance evaluation process type: string enum: - processing - in_progress - completed - failed example: completed pot_details: description: Details of the each pot related to the rebalance instruction type: array items: title: each pot detail of the Rebalance Evaluation request description: >- Each individual pot details on the rebalance evaluation request type: object required: - pot_id - rebalance_eligibility_status - investor_id properties: pot_id: description: Identifier of pot triggered for rebalance type: string example: pot-GYA4736947 rebalance_eligibility_status: description: Status of whether a pot is capable of rebalance or not type: string example: eligible enum: - eligible - ineligible - no_portfolio_attached - negative_holdings - no_holdings investor_id: description: Unique ID of the Investors attached to the pot type: array items: type: string example: inv-QXR38578 portfolio_template_id: description: portfolio_template_id in used by the relevent pot type: string example: pft-5472de57-d291-4914-930e-0bbf5cb0cc47 portfolio_deviation: description: Portfolio deviation for the pot type: string example: '50' reason: description: Reason for failure type: string warning: description: >- List of instance IDs experiencing errors resulting in failed evaluation type: string example: >- The following ids were not found [pot-PXO9735796, pot-LPO9735006] created_at: description: Date and time of evaluation request created type: string format: date-time updated_at: description: Date and time of evaluation request updated type: string format: date-time next_page_available: description: This indicates the availability of the next page type: boolean readOnly: true RebalanceGetEvaluationDetails400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object RebalanceGetEvaluationDetails401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RebalanceGetEvaluationDetails403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RebalanceGetEvaluationDetails404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RebalanceGetEvaluationDetails429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RebalanceGetEvaluationDetails500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RebalanceTriggerRebalanceProcessResponse: title: This is the response object for rebalance request description: Containes the response for the rebalance request required: - rebalance_request_id - created_at - status type: object properties: rebalance_request_id: description: Unique identifier of the rebalance instruction type: string example: fh584838fff status: description: Status of the rebalance execution process type: string enum: - processing example: processing created_at: description: Date and time of execution request created type: string format: date-time RebalanceTriggerRebalanceProcess400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object RebalanceTriggerRebalanceProcess401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RebalanceTriggerRebalanceProcess403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RebalanceTriggerRebalanceProcess404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RebalanceTriggerRebalanceProcess429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RebalanceTriggerRebalanceProcess500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RebalanceRequestDetailsResponse: required: - rebalanceExecution - next_page_available properties: rebalanceExecution: type: object required: - rebalance_request_id - status - pot_details - created_at - updated_at properties: rebalance_request_id: description: Unique identifier of the rebalance instruction type: string example: fh584838fff status: description: Status of the rebalance instruction type: string enum: - processing - in_progress - completed - failed example: completed pot_details: description: Details of the each pot related to the rebalance instruction type: array items: title: each pot instruction of the Rebalance request description: Each individual pot details on the rebalance request required: - pot_id - status - portfolio_template_id - portfolio_deviation - investor_id type: object properties: pot_id: description: Identifier of pot triggered for rebalance type: string example: pot-UKW3452850 status: description: Current status of the rebalance on the specific pot_id type: string example: in_progress enum: - failed - processing - initiated - sell_in_progress - buy_in_progress - completed portfolio_template_id: description: portfolio_template_id in used by the relevent pot type: string example: pft-5472de57-d291-4914-930e-0bbf5cb0cc47 investor_id: type: array items: type: string example: inv-XUT11265 portfolio_deviation: description: Portfolio deviation for the pot type: string example: '50' reason: description: if the status is rejected then the reason for it. type: string instruction_id: description: switch instruction ID type: string example: d4c55e5e-c827-47ed-8811-b312f0cef2d2 sell_instructions: type: array items: title: each buy or sell instruction of the Switch request description: >- Each individual buy side and sell side instruction of the Switch request example: investment_product_id: F0654GBP1 mode: value value: '1000' required: - investment_product_id - mode - value type: object properties: investment_product_id: description: >- Identifier of the investment product sold or bought. If the instruction is to use a cash holding (relevant only for sell instruction) this must be `cash` type: string mode: description: >- Mode of the instruction. If investment_product_id is `cash` mode can only be set to `value` or `percentage` type: string enum: - percentage - unit - value value: description: >- value according to the mode. e.g. mode `percentage` and value `10` implies 10% type: string buy_instructions: type: array items: title: each buy or sell instruction of the Switch request description: >- Each individual buy side and sell side instruction of the Switch request example: investment_product_id: F1573GBP2 mode: percentage value: '100' required: - investment_product_id - mode - value type: object properties: investment_product_id: description: >- Identifier of the investment product sold or bought. If the instruction is to use a cash holding (relevant only for sell instruction) this must be `cash` type: string mode: description: >- Mode of the instruction. If investment_product_id is `cash` mode can only be set to `value` or `percentage` type: string enum: - percentage - unit - value value: description: >- value according to the mode. e.g. mode `percentage` and value `10` implies 10% type: string transactions: description: Array with status of all buy and sell transactions. type: array items: required: - investment_product_id - status - side - transaction_id - created_at properties: investment_product_id: description: >- Identifier of investment product that is bought or sold. type: string status: type: string enum: - instructed - priced - settled - rejected side: description: Side of the transaction type: string enum: - buy - sell transaction_id: description: Unique identifier of the transaction type: string quantity: description: quantity (in units) type: string price: description: Executed price of the transaction type: string value: description: Monetary value of the transaction type: string created_at: description: Date and time of transaction creation type: string format: date-time updated_at: description: Date and time of transaction update type: string format: date-time example: investment_product_id: F0654GBP1 status: instructed side: sell transaction_id: 066e9ac1-30fe-434a-856a-91deea3ea7b1 value: '1000' created_at: '2023-01-30T08:21:24.260Z' updated_at: '2023-01-30T08:21:24.260Z' reason: description: Reason for failure type: string warning: description: >- List of instance IDs experiencing errors resulting in failed rebalance type: string example: >- The following ids were not found [pot-PXO9735796, pot-LPO9735006] created_at: description: Date and time of Rebalance request created type: string format: date-time updated_at: description: Date and time of Rebalance request updated type: string format: date-time next_page_available: description: This indicates the availability of the next page type: boolean readOnly: true RebalanceRequestDetails400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object RebalanceRequestDetails401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RebalanceRequestDetails403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RebalanceRequestDetails404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RebalanceRequestDetails429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RebalanceRequestDetails500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsListTotalPotValueResponse: required: - total_values properties: total_values: type: array items: required: - pot_currency - total_value - total_free_value - total_locked_value - total_cash_value - total_free_cash_value - total_locked_cash_value - total_settled_cash_position properties: pot_currency: description: Currency of the pots type: string example: GBP total_value: description: Total value of the group of pots type: string example: '400' total_free_value: description: Total free value of the group of pots type: string example: '250' total_locked_value: description: Total locked value of the group of pots type: string example: '150' total_cash_value: description: Total cash value of the group of pots type: string example: '300' total_free_cash_value: description: Total free cash value of the group of pots type: string example: '200' total_locked_cash_value: description: Total locked cash value of the group of pots type: string example: '100' total_settled_cash_position: description: Total settled cash value of the group of pots type: string example: '504.79' pots: description: Pot ids of the pots belonging to the group type: array items: required: - pot_id properties: pot_id: type: string example: pot-UKW3452850 PotsHoldingsAndTransactionsListTotalPotValue400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object PotsHoldingsAndTransactionsListTotalPotValue401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsListTotalPotValue403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsListTotalPotValue404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsListTotalPotValue429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsListTotalPotValue500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetHoldingsByPotResponse: required: - pots properties: pots: type: array readOnly: true items: required: - pot_id - holdings properties: pot_id: type: string example: pot-GYQ5423100 readOnly: true holdings: description: Array of holdings belonging to a respective pot type: array readOnly: true items: required: - investment_product_id - currency - total_value - free_value - locked_value properties: investment_product_id: description: >- Investment product id of the holding. Will be 'cash' for cash holdings type: string readOnly: true example: F0573GBP1 investment_product_name: description: >- Investment product name of the holding. Will be empty for cash holdings type: string readOnly: true example: VG 500 price: description: >- Last price available for the investment product. Will be empty for the cash holding type: string readOnly: true example: '257.7856' price_date: description: >- Last price updated date for the investment product. Will be empty for the cash holding type: string format: date readOnly: true example: '2022-12-29' currency: description: Currency of the pot type: string readOnly: true example: GBP total_quantity: description: >- Total quantity of the investment product holding. Will be empty for the cash holding type: string readOnly: true example: '300' total_value: description: Total value of the holding type: string readOnly: true example: '534.87' free_quantity: description: >- Free quantity of the investment product holding. Will be empty for the cash holding type: string readOnly: true example: '30' free_value: description: Free value of the holding type: string readOnly: true example: '34' locked_quantity: description: >- Locked quantity of the investment product holding. Will be empty for the cash holding type: string readOnly: true example: '270' locked_value: description: Locked value of the holding type: string readOnly: true example: '500.87' average_book_cost: description: >- Per-unit book cost for a particular holding (applicable for investment product holdings only) type: string readOnly: true example: '34.89' cost_of_holding: description: >- Total book cost for the total units currently held within the pot (applicable for investment product holdings only) type: string readOnly: true example: '876.98' settled_cash_position: description: >- Settled cash amount within the pot (applicable for cash holdings only) type: string readOnly: true example: '56.90' additional_external_details: description: >- Additional external details of the holding. This may be populated in reconciliation process type: object readOnly: true PotsHoldingsAndTransactionsGetHoldingsByPot401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetHoldingsByPot403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetHoldingsByPot404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetHoldingsByPot429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetHoldingsByPot500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetPotResponse: title: Single required: - pot_id - pot_name - investor_id - financial_product_id - pot_currency - status - reference_version - created_at - updated_at properties: pot_id: description: system generated id type: string example: pot-GYQ5423100 readOnly: true maxLength: 64 investor_id: type: array items: type: string example: inv-XUT11265 pot_name: type: string minLength: 1 maxLength: 50 example: Retirement Pot financial_product_id: type: string example: general_investment_product portfolio_template_id: type: string example: pft-c60c9472-6668-4f7a-aa69 pot_currency: description: >- If not populated, will be defaulted to tenancy currency.
Currency should be enabled for Financial Product. Tenancy currency is allowed by default, additional currencies enabled for a product can be identified using the “Get all financial products” end point. type: string enum: - GBP - CAD - USD status: type: string enum: - active - inactive reference_version: type: integer readOnly: true example: 1 account_id: type: string example: SSISA0000000001 created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' PotsHoldingsAndTransactionsGetPot401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetPot403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetPot404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetPot429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetPot500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsUpdatePotDetailsResponse: title: Single required: - pot_id - pot_name - investor_id - financial_product_id - pot_currency - status - reference_version - created_at - updated_at properties: pot_id: description: system generated id type: string example: pot-GYQ5423100 readOnly: true maxLength: 64 investor_id: type: array items: type: string example: inv-XUT11265 pot_name: type: string minLength: 1 maxLength: 50 example: Retirement Pot financial_product_id: type: string example: general_investment_product portfolio_template_id: type: string example: pft-c60c9472-6668-4f7a-aa69 pot_currency: description: >- If not populated, will be defaulted to tenancy currency.
Currency should be enabled for Financial Product. Tenancy currency is allowed by default, additional currencies enabled for a product can be identified using the “Get all financial products” end point. type: string enum: - GBP - CAD - USD status: type: string enum: - active - inactive reference_version: type: integer readOnly: true example: 1 account_id: type: string example: SSISA0000000001 created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' PotsHoldingsAndTransactionsUpdatePotDetails400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object PotsHoldingsAndTransactionsUpdatePotDetails401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsUpdatePotDetails403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsUpdatePotDetails404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsUpdatePotDetails429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsUpdatePotDetails500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetCurrentPotValueResponse: required: - pot_id - pot_currency - total_value - total_free_value - total_locked_value - total_cash_value - total_free_cash_value - total_locked_cash_value - settled_cash_position properties: pot_id: description: Unique id of the pot type: string example: pot-UKW3452850 pot_currency: description: Currency of the pot type: string example: GBP total_value: description: Total value of holdings of the pot type: string example: '600' total_free_value: description: Total free value of holdings of the pot type: string example: '300' total_locked_value: description: Total locked value of holdings of the pot type: string example: '300' total_cash_value: description: Total cash value of holdings of the pot type: string example: '250' total_free_cash_value: description: Total free cash value of holdings of the pot type: string example: '50' total_locked_cash_value: description: Total locked cash value of holdings of the pot type: string example: '200' settled_cash_position: description: Total settled cash value of holdings of the pot type: string example: '334.87' PotsHoldingsAndTransactionsGetCurrentPotValue400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object PotsHoldingsAndTransactionsGetCurrentPotValue401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetCurrentPotValue403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetCurrentPotValue404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetCurrentPotValue429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetCurrentPotValue500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetCurrentHoldingsResponse: required: - pot_id - holdings properties: pot_id: type: string example: pot-GYQ5423100 readOnly: true holdings: description: Array of holdings belonging to a respective pot type: array readOnly: true items: required: - investment_product_id - currency - total_value - free_value - locked_value properties: investment_product_id: description: >- Investment product id of the holding. Will be 'cash' for cash holdings type: string readOnly: true example: F0573GBP1 investment_product_name: description: >- Investment product name of the holding. Will be empty for cash holdings type: string readOnly: true example: VG 500 price: description: >- Last price available for the investment product. Will be empty for the cash holding type: string readOnly: true example: '257.7856' price_date: description: >- Last price updated date for the investment product. Will be empty for the cash holding type: string format: date readOnly: true example: '2022-12-29' currency: description: Currency of the pot type: string readOnly: true example: GBP total_quantity: description: >- Total quantity of the investment product holding. Will be empty for the cash holding type: string readOnly: true example: '300' total_value: description: Total value of the holding type: string readOnly: true example: '534.87' free_quantity: description: >- Free quantity of the investment product holding. Will be empty for the cash holding type: string readOnly: true example: '30' free_value: description: Free value of the holding type: string readOnly: true example: '34' locked_quantity: description: >- Locked quantity of the investment product holding. Will be empty for the cash holding type: string readOnly: true example: '270' locked_value: description: Locked value of the holding type: string readOnly: true example: '500.87' average_book_cost: description: >- Per-unit book cost for a particular holding (applicable for investment product holdings only) type: string readOnly: true example: '34.89' cost_of_holding: description: >- Total book cost for the total units currently held within the pot (applicable for investment product holdings only) type: string readOnly: true example: '876.98' settled_cash_position: description: >- Settled cash amount within the pot (applicable for cash holdings only) type: string readOnly: true example: '56.90' additional_external_details: description: >- Additional external details of the holding. This may be populated in reconciliation process type: object readOnly: true PotsHoldingsAndTransactionsGetCurrentHoldings400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object PotsHoldingsAndTransactionsGetCurrentHoldings401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetCurrentHoldings403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetCurrentHoldings404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetCurrentHoldings429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetCurrentHoldings500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetPotTransactionsResponse: required: - pot_id - transactions - next_page_available properties: pot_id: type: string readOnly: true example: pot-UKW3452850 transactions: type: array readOnly: true items: required: - transaction_id - created_at - updated_at - primary_transaction_type - sub_transaction_type - investment_product_id - currency - direction - type - sub_type - origin properties: parent_transaction_id: description: Unique identifier for the parent transaction type: string readOnly: true transaction_id: description: Unique identifier for the transaction type: string readOnly: true aggregated_transaction_id: description: >- Unique identifier for the aggregated transaction. Only applicable for Switch Buy, Switch Sell, Rebalance Buy, Rebalance Sell, Tax Relief and Bonus Claim transactions type: string readOnly: true external_transaction_reference: description: External Transaction Reference type: string readOnly: true created_at: description: Indicates the transaction creation date/time format: date-time readOnly: true updated_at: description: Indicates the last updated date/time of the transaction format: date-time readOnly: true primary_transaction_type: description: Primary transaction type type: string readOnly: true enum: - Fees - Buy - Sell - Transfers - Income - Tax - Contribution - Withdrawal - Corporate actions sub_transaction_type: description: Sub transaction type type: string readOnly: true enum: - Dividend Reinvestment - Interest Reinvestment - Reinvestment - Buy - Sell Cancel - Switch Buy - Sell - Buy Cancel - Switch Sell - Lump sum - Lump sum - non relievable - Employer contribution - Employee contribution - Regular contribution - Regular contribution - non relievable - Regular contribution - Employer - Payment in for fees - Internal Transfer - Cash In - Internal Transfer - Stock In - Internal Transfer - Cash Out - Internal Transfer - Stock Out - Stock Transfer In - Cash Transfer In - Stock Transfer Out - Cash Transfer Out - Commission - Ancillary fee - Management fee - Fee credit - Fee rebate - Advisor ongoing fee - One-off advisor fee - Commission rebate - Custody fees - Service fees - Product administration fees - Portfolio management fees - Platform fees - Dividends - Distributions - Interest - Other income - Takeovers, Mergers & Name Changes - Create - Takeovers, Mergers & Name Changes - Extinguish - Rights Expiry - Rights Exercise - Warrant Exercise - Fixed Income Maturity - Receive Capital - Fixed Income Maturity - Extinguish Bond Units - Fund Merger - Create New Fund Units - Fund Merger - Extinguish Old Fund Units - Rights Issue - Stock Dividend - Spin-Off - Warrant Issue - Stock Split - Fee Tax - Tax Relief - GST - HST - PST - QST - Withholding Tax - PAYE Tax - Non-resident Tax - Penalty - Contribution Refund - Income Withdrawal - Reversal - Withdrawal - Miscellaneous Corporate Action Exercise - PCLS Withdrawal - Withdrawal Charge - Contribution Bonus investment_product_id: description: >- Investment product id of the transaction. Will be 'cash' for cash transaction type: string readOnly: true fee_origin_pot: description: (optional) Fee originated pot for the fee transactions type: string readOnly: true client_order_id: description: (optional) Order identifier assigned by the wealth manager type: string maxLength: 20 transaction_quantity: description: >- Quantity of the investment product transaction. Will be empty for the cash transactions. type: string readOnly: true transaction_value: description: Value of the transaction. Up to 2 decimal values type: string readOnly: true execution_price: description: Executed price of the buy, sell transaction type: string readOnly: true trade_date: description: Date the transaction was effected type: string format: date readOnly: true settlement_date: description: >- Intended settlement date of the pending transaction or actual the settled day of the transaction type: string format: date readOnly: true currency: description: Currency of the transaction type: string readOnly: true direction: description: >- in = cash payment or pending buy transaction, out = cash out or pending sell transaction. type: string readOnly: true enum: - in - out type: description: State of the transaction type: string readOnly: true enum: - pending - archived sub_type: description: >- Sub state of the transaction. instructed, confirmed, priced sub_types applicable for pending state and rejected, cancelled, settled sub_types applicable for archived state type: string readOnly: true enum: - instructed - confirmed - priced - rejected - settled - cancelled - scheduled - failed external_status: description: Externel status of the transaction type: string readOnly: true enum: - Submitted to HMRC - Submission pending - HMRC submission failed - HMRC resubmission failed - HMRC update failed - Pending - Paid - Cancelled - Void - Due - Collected - Superseded additional_external_details: description: >- Additional external details of the transaction, This may be populated in reconciliation process type: object readOnly: true origin: description: Origin of the transaction type: string readOnly: true enum: - api - admin_ui - file_upload - system source_id: description: >- Required only for transactions created for payments intents - employer contributions for SIPP Accumulation Products type: string reason: description: >- This field populated only when status is failed or cancelled, with reason for cancellation or failure type: string withdrawal_charge_applicable: description: >- Mandatory for LISA financial products only. Flag to indicate if a withdrawal charge is applicable on the gross withdrawal amount type: boolean readOnly: true enum: - true - false withdrawal_charge: description: >- Applicable for LISA financial products only. Mandatory only if the withdrawal_charge_applicable = true. Value of the withdrawal charge applicable for the unauthorized withdrawal type: string example: transaction_id: 80784c92-8f9d-4150-b83c-dc6d217a8155 created_at: '2023-01-27T05:45:56.839Z' updated_at: '2023-01-27T05:45:56.839Z' primary_transaction_type: Contribution sub_transaction_type: Lump sum investment_product_id: cash transaction_value: '20000' settlement_date: '2023-01-27' currency: GBP direction: in type: archived sub_type: settled origin: api next_page_available: description: This indicates the availability of the next page type: boolean readOnly: true PotsHoldingsAndTransactionsGetPotTransactions401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetPotTransactions403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetPotTransactions404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetPotTransactions429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PotsHoldingsAndTransactionsGetPotTransactions500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestmentProductsGetConfiguredProductsResponse: required: - investment_products - next_page_available type: object properties: investment_products: type: array items: required: - investment_product_id - asset_type - status - created_at - updated_at properties: investment_product_id: description: Unique identifier of an investment product type: string readOnly: true example: MAX2854 asset_type: description: Category of the investment product type: string readOnly: true enum: - funds status: description: Status of the investment product type: string readOnly: true enum: - active - inactive name: description: Investment product name type: string readOnly: true example: Canada Life Canadian Growth T5 created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' next_page_available: description: This indicates the availability of the next page type: boolean readOnly: true InvestmentProductsGetConfiguredProducts401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestmentProductsGetConfiguredProducts403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestmentProductsGetConfiguredProducts404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestmentProductsGetConfiguredProducts429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestmentProductsGetConfiguredProducts500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestmentProductsGetCurrentPricesResponse: required: - investment_product_unit_prices - next_page_available type: object properties: investment_product_unit_prices: type: array items: required: - investment_product_id - current_price - currency - price_on_date properties: investment_product_id: type: string readOnly: true example: FUND345 current_price: description: Numeral string with two decimal point precision type: string readOnly: true example: '45.78' currency: description: Currency of the current price type: string readOnly: true example: GBP price_on_date: type: string format: date readOnly: true example: '2019-08-24' next_page_available: description: This indicates the availability of the next page type: boolean readOnly: true InvestmentProductsGetCurrentPrices401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestmentProductsGetCurrentPrices403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestmentProductsGetCurrentPrices404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestmentProductsGetCurrentPrices429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestmentProductsGetCurrentPrices500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestmentProductsGetDetailsResponse: required: - investment_product_id - id_type - asset_type - pricing_method - additional_provider_details - currency - applicable_financial_products - settlement_date_offset - status - close_price - close_price_on_date - created_at - updated_at properties: investment_product_id: description: Unique identifier of an investment product type: string readOnly: true example: MAX2854 id_type: description: The type of id that is populated as investment_product_id type: string readOnly: true enum: - ISIN - CUSIP - FundServID name: description: Investment product name type: string readOnly: true example: Canada Life Canadian Growth T5 asset_type: description: Category of the investment product type: string readOnly: true enum: - funds asset_sub_type: description: Sub-category of the investment product type: string readOnly: true example: Canadian Open End currency: description: currency of the investment product in ISO 4217 format type: string readOnly: true example: CAD pricing_method: description: Method used to calculate the investment product price type: string readOnly: true example: NAV fund_asset_type: description: >- Sub-type of investment product. Relevant for investment products of type fund only type: string readOnly: true example: Mutual Funds fund_code: description: Fund code identifier. Relevant for investment products of type fund type: string readOnly: true example: MAX2854 applicable_financial_products: description: Financial products this investment product is applicable for type: array readOnly: true items: type: string enum: - gia - isa - pension settlement_date_offset: description: settlement date offset of investment product type: number readOnly: true example: 3 status: description: Status of the investment product type: string readOnly: true enum: - active - inactive close_price: description: The final price for the day of the investment product type: string readOnly: true example: '12.745' close_price_on_date: description: Exact day the close_price was recorded for the investment product type: string format: date readOnly: true example: '2021-09-03' additional_provider_details: description: Supplies additional custom information of an investment product type: object readOnly: true created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' InvestmentProductsGetDetails401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestmentProductsGetDetails403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestmentProductsGetDetails404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestmentProductsGetDetails429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestmentProductsGetDetails500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestmentProductsGetCurrentPriceResponse: required: - investment_product_id - current_price - currency - price_on_date properties: investment_product_id: type: string readOnly: true example: FUND345 current_price: description: Numeral string with two decimal point precision type: string readOnly: true example: '45.78' currency: description: Currency of the current price type: string readOnly: true example: GBP price_on_date: type: string format: date readOnly: true example: '2019-08-24' InvestmentProductsGetCurrentPrice401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestmentProductsGetCurrentPrice403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestmentProductsGetCurrentPrice404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestmentProductsGetCurrentPrice429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestmentProductsGetCurrentPrice500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PortfolioTemplatesGetTemplateByIdResponse: required: - portfolio_template_id - reference_version - portfolio_name - ratios - owner - created_at - updated_at properties: portfolio_template_id: description: system generated id type: string readOnly: true maxLength: 64 example: pft-c60c9472-6668-4f7a-aa69 portfolio_name: type: string minLength: 3 maxLength: 50 example: PFT5689 reference_version: type: integer readOnly: true example: 1 owner: type: string readOnly: true example: SYSTEM ratios: type: array items: required: - investment_product_id - ratio properties: investment_product_id: description: must be an investment product id or 'cash' type: string ratio: description: 'must be in correct pattern (eg: 25.00, 33.34, 50.25, 100.00)' type: string example: - investment_product_id: ETF069GBP ratio: '60' - investment_product_id: BND058GBP ratio: '40' created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' PortfolioTemplatesGetTemplateById401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PortfolioTemplatesGetTemplateById403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PortfolioTemplatesGetTemplateById404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PortfolioTemplatesGetTemplateById429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PortfolioTemplatesGetTemplateById500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PortfolioTemplatesUpdateTemplateResponse: required: - portfolio_template_id - reference_version - portfolio_name - ratios - owner - created_at - updated_at properties: portfolio_template_id: description: system generated id type: string readOnly: true maxLength: 64 example: pft-c60c9472-6668-4f7a-aa69 portfolio_name: type: string minLength: 3 maxLength: 50 example: PFT5689 reference_version: type: integer readOnly: true example: 1 owner: type: string readOnly: true example: SYSTEM ratios: type: array items: required: - investment_product_id - ratio properties: investment_product_id: description: must be an investment product id or 'cash' type: string ratio: description: 'must be in correct pattern (eg: 25.00, 33.34, 50.25, 100.00)' type: string example: - investment_product_id: ETF069GBP ratio: '60' - investment_product_id: BND058GBP ratio: '40' created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' PortfolioTemplatesUpdateTemplate400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object PortfolioTemplatesUpdateTemplate401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PortfolioTemplatesUpdateTemplate403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PortfolioTemplatesUpdateTemplate404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PortfolioTemplatesUpdateTemplate429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PortfolioTemplatesUpdateTemplate500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string TransactionsExecuteBuyTransactionResponse: allOf: - type: object required: - status - pot_id properties: status: description: >- status of the transaction request . `success`: All requested transactions success . `partially_success`: Some (but not all) requested transactions success type: string enum: - success - partially_success example: partially_success pot_id: type: string readOnly: true example: pot-UKW3452850 - type: object properties: results: description: >- Array of successes and failures. Failures will include a reason for the error type: array items: allOf: - type: object required: - transaction_id - created_at - updated_at - primary_transaction_type - sub_transaction_type - investment_product_id - currency - direction - type - sub_type - origin - success properties: success: type: boolean enum: - true - false message: description: Reason for failure if success = false type: string parent_transaction_id: description: parent_transaction_id type: string transaction_id: description: transaction_id of successful transaction type: string external_transaction_reference: description: External Transaction Reference type: string readOnly: true created_at: description: Will indicate the date where this record was created type: string format: date-time readOnly: true updated_at: description: >- Will indicate the date where this record was last changed type: string format: date-time readOnly: true primary_transaction_type: type: string sub_transaction_type: type: string investment_product_id: description: Investment product id of the transaction type: string readOnly: true client_order_id: description: >- (optional) Order identifier assigned by the wealth manager type: string maxLength: 20 transaction_quantity: description: >- (optional) quantity of the investment product, required for unit based orders type: string transaction_value: description: >- (optional) value of the investment product, required for value based orders type: string execution_price: type: string trade_date: description: Date the transaction was effected type: string format: date readOnly: true settlement_date: description: >- Intended settlement date of the pending transaction or actual the settled day of the transaction type: string format: date readOnly: true currency: description: Currency of the transaction type: string readOnly: true direction: type: string type: description: State of the transaction type: string readOnly: true enum: - pending - archived sub_type: description: >- Sub state of the transaction. instructed, confirmed, priced and scheduled sub_types are applicable for pending state and rejected, cancelled, settled sub_types applicable for archived state type: string readOnly: true enum: - instructed - confirmed - priced - rejected - settled - cancelled - scheduled additional_external_details: description: >- Additional external details of the transaction, This may be populated in reconciliation process type: object readOnly: true origin: description: Origin of the transaction type: string readOnly: true enum: - api - type: object properties: primary_transaction_type: readOnly: true enum: - Buy type: string sub_transaction_type: description: Sub transaction type readOnly: true enum: - Buy type: string execution_price: description: Executed price of the buy transaction readOnly: true direction: description: pending buy transaction readOnly: true enum: - in type: string example: - transaction_quantity: '10' success: true transaction_id: 738b9aaa-6320-4132-b7c7-1a57d607c15e investment_product_id: EPCCTST7 client_order_id: cl-02456s42sd3 primary_transaction_type: Buy sub_transaction_type: Buy type: pending sub_type: instructed currency: GBP direction: in created_at: '2023-01-27T11:33:32.285Z' updated_at: '2023-01-27T11:33:32.285Z' trade_date: '2023-01-27' origin: api - message: >- Transaction quantity is lower than the minimum allowed (EPCCTST9) success: false TransactionsExecuteBuyTransaction400Response: type: object properties: {} example: {} TransactionsExecuteBuyTransaction401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string TransactionsExecuteBuyTransaction403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string TransactionsExecuteBuyTransaction404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string TransactionsExecuteBuyTransaction429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string TransactionsExecuteBuyTransaction500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string TransactionsExecuteSellTransactionResponse: allOf: - type: object required: - status - pot_id properties: status: description: >- status of the transaction request . `success`: All requested transactions success . `partially_success`: Some (but not all) requested transactions success type: string enum: - success - partially_success example: partially_success pot_id: type: string readOnly: true example: pot-UKW3452850 - type: object properties: results: description: >- Array of successes and failures. Failures will include a reason for the error type: array items: allOf: - type: object required: - transaction_id - created_at - updated_at - primary_transaction_type - sub_transaction_type - investment_product_id - currency - direction - type - sub_type - origin - success properties: success: type: boolean enum: - true - false message: description: Reason for failure if success = false type: string parent_transaction_id: description: parent_transaction_id type: string transaction_id: description: transaction_id of successful transaction type: string external_transaction_reference: description: External Transaction Reference type: string readOnly: true created_at: description: Will indicate the date where this record was created type: string format: date-time readOnly: true updated_at: description: >- Will indicate the date where this record was last changed type: string format: date-time readOnly: true primary_transaction_type: type: string sub_transaction_type: type: string investment_product_id: description: Investment product id of the transaction type: string readOnly: true client_order_id: description: >- (optional) Order identifier assigned by the wealth manager type: string maxLength: 20 transaction_quantity: description: >- (optional) quantity of the investment product, required for unit based orders type: string transaction_value: description: >- (optional) value of the investment product, required for value based orders type: string execution_price: type: string trade_date: description: Date the transaction was effected type: string format: date readOnly: true settlement_date: description: >- Intended settlement date of the pending transaction or actual the settled day of the transaction type: string format: date readOnly: true currency: description: Currency of the transaction type: string readOnly: true direction: type: string type: description: State of the transaction type: string readOnly: true enum: - pending - archived sub_type: description: >- Sub state of the transaction. instructed, confirmed, priced and scheduled sub_types are applicable for pending state and rejected, cancelled, settled sub_types applicable for archived state type: string readOnly: true enum: - instructed - confirmed - priced - rejected - settled - cancelled - scheduled additional_external_details: description: >- Additional external details of the transaction, This may be populated in reconciliation process type: object readOnly: true origin: description: Origin of the transaction type: string readOnly: true enum: - api - type: object properties: primary_transaction_type: readOnly: true enum: - Sell type: string sub_transaction_type: description: Sub transaction type readOnly: true enum: - Sell type: string execution_price: description: Executed price of the sell transaction readOnly: true direction: description: pending sell transaction readOnly: true enum: - out type: string example: - transaction_quantity: '10' success: true transaction_id: 738b9aaa-6320-4132-b7c7-1a57d607c15e investment_product_id: EPCCTST7 client_order_id: cl-02456s42sd3 primary_transaction_type: Sell sub_transaction_type: Sell type: pending sub_type: instructed currency: GBP direction: out created_at: '2023-01-27T11:33:32.285Z' updated_at: '2023-01-27T11:33:32.285Z' trade_date: '2023-01-27' origin: api - message: >- Transaction quantity is lower than the minimum allowed (EPCCTST9) success: false TransactionsExecuteSellTransaction400Response: type: object properties: {} example: {} TransactionsExecuteSellTransaction401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string TransactionsExecuteSellTransaction403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string TransactionsExecuteSellTransaction404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string TransactionsExecuteSellTransaction429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string TransactionsExecuteSellTransaction500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string SwitchInstructionGetSwitchStatusResponse: required: - status - switch_transaction_id - pot_id - sell_instructions - buy_instructions - origin - created_at properties: status: description: Status of the Switch instruction type: string example: sell_in_progress enum: - initiated - sell_in_progress - buy_in_progress - completed - failed switch_transaction_id: description: Unique identifier of the switch instruction type: string example: def85ee2-c98d-44d8-a644-c91caa84fa6e pot_id: description: Identifier of the pot the instruction is sent to type: string example: pot-UKW3452850 sell_instructions: type: array items: title: each buy or sell instruction of the Switch request description: >- Each individual buy side and sell side instruction of the Switch request example: investment_product_id: ETF069GBP1 mode: value value: '300' required: - investment_product_id - mode - value type: object properties: investment_product_id: description: >- Identifier of the investment product sold or bought. If the instruction is to use a cash holding (relevant only for sell instruction) this must be `cash` type: string mode: description: >- Mode of the instruction. If investment_product_id is `cash` mode can only be set to `value` or `percentage` type: string enum: - percentage - unit - value value: description: >- value according to the mode. e.g. mode `percentage` and value `10` implies 10% type: string buy_instructions: type: array items: title: each buy or sell instruction of the Switch request description: >- Each individual buy side and sell side instruction of the Switch request example: investment_product_id: ETF931GBP5 mode: percentage value: '100' required: - investment_product_id - mode - value type: object properties: investment_product_id: description: >- Identifier of the investment product sold or bought. If the instruction is to use a cash holding (relevant only for sell instruction) this must be `cash` type: string mode: description: >- Mode of the instruction. If investment_product_id is `cash` mode can only be set to `value` or `percentage` type: string enum: - percentage - unit - value value: description: >- value according to the mode. e.g. mode `percentage` and value `10` implies 10% type: string transactions: description: >- Array with status of all buy and sell transactions. Will be sent only if `include_details` = true. type: array items: required: - investment_product_id - status - side - transaction_id - created_at properties: investment_product_id: description: Identifier of investment product that is bought or sold. type: string status: type: string enum: - instructed - priced - settled - rejected side: description: Side of the transaction type: string enum: - buy - sell transaction_id: description: Unique identifier of the transaction type: string quantity: description: quantity (in units) type: string price: description: Executed price of the transaction type: string value: description: Monetary value of the transaction type: string created_at: description: Date and time of transaction creation type: string format: date-time updated_at: description: Date and time of transaction update type: string format: date-time example: investment_product_id: ETF069GBP1 status: scheduled side: sell transaction_id: de78ce12-0ad4-4a10-af51-11a572912449 value: '300' created_at: '2023-01-29T23:33:09.460Z' updated_at: '2023-01-29T23:33:09.460Z' origin: description: Describe the origin from where the switch transaction is triggered type: string example: api enum: - api - rebalance created_at: description: Will indicate the date where this record was created type: string format: date-time example: '2023-01-29T23:33:06.678Z' updated_at: description: Will indicate the date where this record was last updated type: string format: date-time example: '2023-01-29T23:33:06.678Z' reason: description: >- Failure reason (shown only for switch transactions in `failed` state) type: string SwitchInstructionGetSwitchStatus400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object SwitchInstructionGetSwitchStatus401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string SwitchInstructionGetSwitchStatus403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string SwitchInstructionGetSwitchStatus404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string SwitchInstructionGetSwitchStatus429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string SwitchInstructionGetSwitchStatus500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string SwitchInstructionExecuteSwitchTransactionResponse: required: - status - switch_transaction_id - pot_id - sell_instructions - buy_instructions - origin properties: status: description: Status of the Switch instruction type: string example: sell_in_progress enum: - initiated - sell_in_progress - buy_in_progress - completed switch_transaction_id: description: Unique identifier of the switch instruction type: string example: def85ee2-c98d-44d8-a644-c91caa84fa6e pot_id: description: Identifier of the pot the instruction is sent to type: string example: pot-UKW3452850 origin: description: Describe the origin from where the switch transaction is triggered type: string example: api enum: - api - rebalance sell_instructions: type: array items: title: each buy or sell instruction of the Switch request description: >- Each individual buy side and sell side instruction of the Switch request example: investment_product_id: ETF031GBP1 mode: value value: '500' required: - investment_product_id - mode - value type: object properties: investment_product_id: description: >- Identifier of the investment product sold or bought. If the instruction is to use a cash holding (relevant only for sell instruction) this must be `cash` type: string mode: description: >- Mode of the instruction. If investment_product_id is `cash` mode can only be set to `value` or `percentage` type: string enum: - percentage - unit - value value: description: >- value according to the mode. e.g. mode `percentage` and value `10` implies 10% type: string buy_instructions: type: array items: title: each buy or sell instruction of the Switch request description: >- Each individual buy side and sell side instruction of the Switch request example: investment_product_id: ETF069GBP1 mode: value value: '800' required: - investment_product_id - mode - value type: object properties: investment_product_id: description: >- Identifier of the investment product sold or bought. If the instruction is to use a cash holding (relevant only for sell instruction) this must be `cash` type: string mode: description: >- Mode of the instruction. If investment_product_id is `cash` mode can only be set to `value` or `percentage` type: string enum: - percentage - unit - value value: description: >- value according to the mode. e.g. mode `percentage` and value `10` implies 10% type: string SwitchInstructionExecuteSwitchTransaction400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object SwitchInstructionExecuteSwitchTransaction401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string SwitchInstructionExecuteSwitchTransaction403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string SwitchInstructionExecuteSwitchTransaction404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string SwitchInstructionExecuteSwitchTransaction429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string SwitchInstructionExecuteSwitchTransaction500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RatesGetRateDetailsResponse: required: - rates type: object properties: rates: type: array items: required: - rate_id - rate_type - rate properties: rate_id: description: Unique identifier of the rate type: string example: USDCAD rate_type: description: Type of rate type: string example: fx-spot enum: - fx-spot rate: description: Latest available rate type: string example: '1.27863' rate_on_date: description: Date and time of rate type: string example: '20220203' RatesGetRateDetails401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RatesGetRateDetails403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RatesGetRateDetails404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RatesGetRateDetails429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RatesGetRateDetails500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string FeesCreateFeeTransactionResponse: title: Root Type for Fee creation response description: JSON for the Fee creation response required: - transaction_id - created_at - updated_at - primary_transaction_type - pot_id - sub_transaction_type - investment_product_id - transaction_value - currency - direction - type - sub_type - origin properties: transaction_id: description: Unique ID of the fee transaction type: string format: uuid example: 378f7443-515c-4947-be3f-e7bd51be68c2 investment_product_id: description: investment_product_id type: string example: cash transaction_value: description: Fee Amount upto 2 decimal places type: string example: '123.45' pot_id: description: Pot ID type: string maxLength: 64 example: pot-UKW3452850 primary_transaction_type: type: string readOnly: true example: Fees enum: - Fees sub_transaction_type: description: Sub transaction type type: string readOnly: true example: Custody fees enum: - Ancillary fee - Advisor ongoing fee - One-off advisor fee - Custody fees - Commission - Management fee - Fee credit - Fee rebate - Commission rebate type: description: State of the transaction type: string readOnly: true example: archived enum: - pending - archived sub_type: description: >- Sub state of the transaction. instructed, confirmed, priced sub_types applicable for pending state and rejected, cancelled, settled sub_types applicable for archived state type: string readOnly: true example: settled enum: - instructed - confirmed - priced - rejected - settled - cancelled - scheduled currency: description: Currency of the Fee type: string readOnly: true example: GBP direction: description: >- in = cash payment or pending buy transaction, out= cash out or pending sell transaction. type: string readOnly: true example: out enum: - in - out external_transaction_reference: description: External Transaction Reference type: string readOnly: true created_at: description: Will indicate the date where this record was created type: string format: date-time readOnly: true example: '2023-01-30T00:42:36.624Z' updated_at: description: Will indicate the date where this record was last changed type: string format: date-time readOnly: true example: '2023-01-30T00:42:36.624Z' trade_date: description: Date the transaction was effected type: string format: date readOnly: true example: '2023-01-30' settlement_date: description: >- Intended settlement date of the pending transaction or actual the settled day of the transaction type: string format: date readOnly: true example: '2023-01-30' origin: description: Origin of the transaction type: string readOnly: true example: api enum: - api - admin_ui - file_upload - system FeesCreateFeeTransaction400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object FeesCreateFeeTransaction401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string FeesCreateFeeTransaction403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string FeesCreateFeeTransaction404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string FeesCreateFeeTransaction429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string FeesCreateFeeTransaction500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WithdrawalsCreateSingleWithdrawalResponse: title: Root Type for Withdrawal creation response description: JSON for the Withdrawal creation response required: - transaction_id - created_at - updated_at - primary_transaction_type - sub_transaction_type - pot_id - investment_product_id - transaction_value - currency - direction - type - sub_type - origin properties: transaction_id: description: Unique ID of the withdrawal transaction type: string format: uuid investment_product_id: description: investment_product_id type: string transaction_value: description: Withdrawal Amount upto 2 decimal places type: string pot_id: description: Pot ID type: string maxLength: 64 example: pot-SDQ5659730 primary_transaction_type: type: string readOnly: true enum: - Withdrawal sub_transaction_type: description: Withdrawal sub transaction type type: string example: Withdrawal enum: - Withdrawal type: description: State of the transaction type: string readOnly: true enum: - pending - archived sub_type: description: >- Sub state of the transaction. instructed, confirmed, priced sub_types applicable for pending state and rejected, cancelled, settled sub_types applicable for archived state type: string readOnly: true enum: - instructed - confirmed - priced - rejected - settled - cancelled - scheduled currency: description: Currency of the Withdrawal type: string readOnly: true direction: description: >- in = cash payment or pending buy transaction, out= cash out or pending sell transaction. type: string readOnly: true enum: - in - out external_transaction_reference: description: External Transaction Reference type: string readOnly: true created_at: description: Will indicate the date where this record was created type: string format: date-time readOnly: true updated_at: description: Will indicate the date where this record was last changed type: string format: date-time readOnly: true trade_date: description: Date the transaction was effected type: string format: date readOnly: true settlement_date: description: >- Intended settlement date of the pending transaction or actual the settled day of the transaction type: string format: date readOnly: true origin: description: Origin of the transaction type: string readOnly: true enum: - api - admin_ui - file_upload - system WithdrawalsCreateSingleWithdrawal400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object WithdrawalsCreateSingleWithdrawal401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WithdrawalsCreateSingleWithdrawal403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WithdrawalsCreateSingleWithdrawal404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WithdrawalsCreateSingleWithdrawal429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WithdrawalsCreateSingleWithdrawal500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string LisaTransactionsUpdateWithdrawalPaymentDateResponse: title: Root Type for LISA Withdrawal update response description: JSON for the LISA Withdrawal update response required: - transaction_id - investment_product_id - transaction_value - pot_id - primary_transaction_type - sub_transaction_type - type - sub_type - currency - direction - created_at - updated_at - trade_date - origin type: object properties: transaction_id: description: Unique ID of the withdrawal transaction type: string format: uuid investment_product_id: description: investment_product_id type: string transaction_value: description: Withdrawal amount upto 2 decimal places type: string pot_id: description: Pot ID type: string maxLength: 64 example: pot-SDQ5659730 primary_transaction_type: type: string readOnly: true enum: - Withdrawal sub_transaction_type: description: Withdrawal sub transaction type type: string example: Withdrawal enum: - Withdrawal type: description: State of the transaction type: string readOnly: true enum: - pending - archived sub_type: description: >- Sub state of the transaction. The sub-states "scheduled", "instructed" and confirmed will be applicable under "pending" state, while the sub-state "rejected", "cancelled", "settled" under "archived" state type: string readOnly: true enum: - scheduled - instructed - confirmed - rejected - settled - cancelled currency: description: Currency of the Withdrawal type: string readOnly: true direction: description: >- in = cash payment or pending buy transaction, out= cash out or pending sell transaction. type: string readOnly: true enum: - in - out external_transaction_reference: description: External Transaction Reference type: string readOnly: true created_at: description: Will indicate the date where this record was created type: string readOnly: true updated_at: description: Will indicate the date where this record was last changed type: string readOnly: true trade_date: description: Date the transaction was effected type: string readOnly: true settlement_date: description: >- Intended settlement date of the pending transaction or actual the settled day of the transaction type: string readOnly: true origin: description: Origin of the transaction type: string readOnly: true enum: - api - admin_ui - file_upload - system withdrawal_charge_applicable: description: >- Mandatory only if the financial product is LISA. Flag to indicate if a withdrawal charge is applicable on the gross withdrawal amount type: boolean readOnly: true enum: - true - false withdrawal_charge: description: >- Mandatory only if the withdrawal_charge_applicable = true. Value of the withdrawal charge applicable for the unauthorized withdrawal type: string LisaTransactionsUpdateWithdrawalPaymentDate400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object LisaTransactionsUpdateWithdrawalPaymentDate401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string LisaTransactionsUpdateWithdrawalPaymentDate403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string LisaTransactionsUpdateWithdrawalPaymentDate404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string LisaTransactionsUpdateWithdrawalPaymentDate429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string LisaTransactionsUpdateWithdrawalPaymentDate500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string UtilityCopyFileToInternalStoreResponse: required: - bucket - keys properties: bucket: description: name of the bucket which the files were copied type: string example: wos-dev13-reconciliation-files-us-east-2 keys: description: array of keys, one for each file stored during the request type: array items: type: string example: morganstanley/input_files/2023-01-27_bk_bk-220908-2.FID UtilityCopyFileToInternalStore400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object UtilityCopyFileToInternalStore401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string UtilityCopyFileToInternalStore403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string UtilityCopyFileToInternalStore404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string UtilityCopyFileToInternalStore429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string UtilityCopyFileToInternalStore500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string BankAccountsGetAllResponse: description: Array of bank accounts type: object properties: bankAccounts: type: array items: required: - bank_account_id - account_status - reference_version - created_at - updated_at properties: bank_account_id: description: system generated id type: string readOnly: true maxLength: 100 example: ba-20b904f7-8d05-4efd-bd36-4ec3b1ce8e03 investor_id: type: string example: inv-QXR38578 account_name: type: string maxLength: 100 example: David Brown bank_account_type: type: string enum: - investor - contributing_employer example: investor default_account: description: Only one account should be the default type: string enum: - 'yes' - 'no' example: 'no' bank_account_number: description: Unique for the investor type: string minLength: 6 maxLength: 8 example: '****5678' account_status: description: If not populated, will be defaulted to inactive type: string enum: - active - inactive example: active sort_code: type: string minLength: 6 maxLength: 8 example: '****56' building_society_roll_number: type: string minLength: 1 maxLength: 18 example: '******72' reference_version: type: integer readOnly: true example: 1 created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' BankAccountsGetAll400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object BankAccountsGetAll401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string BankAccountsGetAll403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string BankAccountsGetAll404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string BankAccountsGetAll429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string BankAccountsGetAll500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string BankAccountsCreateNewAccountResponse: required: - bank_account_id - account_status - reference_version - created_at - updated_at properties: bank_account_id: description: system generated id type: string readOnly: true maxLength: 100 example: ba-20b904f7-8d05-4efd-bd36-4ec3b1ce8e03 investor_id: type: string example: inv-QXR38578 account_name: type: string maxLength: 100 example: David Brown bank_account_type: type: string enum: - investor - contributing_employer example: investor default_account: description: Only one account should be the default type: string enum: - 'yes' - 'no' example: 'no' bank_account_number: description: Unique for the investor type: string minLength: 6 maxLength: 8 example: '****5678' account_status: description: If not populated, will be defaulted to inactive type: string enum: - active - inactive example: active sort_code: type: string minLength: 6 maxLength: 8 example: '****56' building_society_roll_number: type: string minLength: 1 maxLength: 18 example: '******72' reference_version: type: integer readOnly: true example: 1 created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' BankAccountsCreateNewAccount400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object BankAccountsCreateNewAccount401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string BankAccountsCreateNewAccount403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string BankAccountsCreateNewAccount404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string BankAccountsCreateNewAccount429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string BankAccountsCreateNewAccount500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string BankAccountsGetBankAccountByIdResponse: required: - bank_account_id - account_status - reference_version - created_at - updated_at properties: bank_account_id: description: system generated id type: string readOnly: true maxLength: 100 example: ba-20b904f7-8d05-4efd-bd36-4ec3b1ce8e03 investor_id: type: string example: inv-QXR38578 account_name: type: string maxLength: 100 example: David Brown bank_account_type: type: string enum: - investor - contributing_employer example: investor default_account: description: Only one account should be the default type: string enum: - 'yes' - 'no' example: 'no' bank_account_number: description: Unique for the investor type: string minLength: 6 maxLength: 8 example: '****5678' account_status: description: If not populated, will be defaulted to inactive type: string enum: - active - inactive example: active sort_code: type: string minLength: 6 maxLength: 8 example: '****56' building_society_roll_number: type: string minLength: 1 maxLength: 18 example: '******72' reference_version: type: integer readOnly: true example: 1 created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' BankAccountsGetBankAccountById400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object BankAccountsGetBankAccountById401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string BankAccountsGetBankAccountById403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string BankAccountsGetBankAccountById404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string BankAccountsGetBankAccountById429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string BankAccountsGetBankAccountById500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string BankAccountsUpdateDetailsResponse: required: - bank_account_id - account_status - reference_version - created_at - updated_at properties: bank_account_id: description: system generated id type: string readOnly: true maxLength: 100 example: ba-20b904f7-8d05-4efd-bd36-4ec3b1ce8e03 investor_id: type: string example: inv-QXR38578 account_name: type: string maxLength: 100 example: David Brown bank_account_type: type: string enum: - investor - contributing_employer example: investor default_account: description: Only one account should be the default type: string enum: - 'yes' - 'no' example: 'no' bank_account_number: description: Unique for the investor type: string minLength: 6 maxLength: 8 example: '****5678' account_status: description: If not populated, will be defaulted to inactive type: string enum: - active - inactive example: active sort_code: type: string minLength: 6 maxLength: 8 example: '****56' building_society_roll_number: type: string minLength: 1 maxLength: 18 example: '******72' reference_version: type: integer readOnly: true example: 1 created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' BankAccountsUpdateDetails400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object BankAccountsUpdateDetails401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string BankAccountsUpdateDetails403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string BankAccountsUpdateDetails404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string BankAccountsUpdateDetails429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string BankAccountsUpdateDetails500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorAccountsGetAllResponse: description: Array of investor accounts type: object required: - investor_accounts - next_page_available properties: investor_accounts: type: array items: required: - account_id - investor_id - financial_product_id - status - pot_id - created_at - updated_at properties: account_id: description: Investor account id type: string example: SIPPACC1674797806011 investor_id: type: string example: inv-QXR38578 financial_product_id: type: string example: sipp_accumulation date_of_account_activation: description: >- The first date the account was opened by the investor. For LISA accounts, this will be set with the date of the initial subscription to the account type: string format: date-time example: '2023-01-27T05:36:46.011Z' status: description: Account status type: string enum: - active - pending_cancellation - cancelled - closed example: active current_year_subscription: description: Does the Account have contributions for the current tax year type: boolean example: true first_subscription_date_for_current_year: description: >- Date of the first subscription received for the current tax year type: string nullable: true format: date-time example: '2023-01-27T05:41:15.651Z' current_year_total_contribution: description: >- Total contribution by investor for account for the current tax year type: string example: '22000' current_year_total_withdrawals: description: >- Total withdrawal by investor for account for the current tax year type: string current_year_RAS_claimed: description: >- Total relief at source claimed for the tax year. This is only relevant for SIPP type: string current_year_gross_contribution: description: >- Total contributions made into pensions pots including relief at source claims for the tax year or total contribution made into LISA pots including government bonus claimed. This is only relevant for SIPP and LISA type: string current_year_RAS_claims_pending: description: >- Total relief at source amount to be claimed from HMRC. This is only relevant for SIPP type: string current_year_MPAA_utilized: description: >- Total MPAA utilized by investor for account for the current tax year type: string current_year_LISA_bonus_claimed: description: >- Government bonus claimed for current tax year for LISA accounts type: string current_year_LISA_bonus_pending: description: >- Government bonus pending for current tax year for LISA accounts type: string current_year_withdrawal_charges: description: >- Total withdrawal charges deducted for unauthorized withdrawals from a LISA account for the current tax year. Mandatory only if the financial product is LISA type: string current_year_pending_withdrawals: description: >- Total withdrawals scheduled for the account to be paid to investor for the current tax year type: string total_contribution: description: Total lifetime contribution by investor for the account type: string total_gross_contribution: description: >- Total lifetime contribution by investor for a LISA account including the government bonus claimed. Mandatory only if the financial product is LISA type: string total_bonus_claimed: description: >- Total government bonus claimed for LISA account for contributions made across years. Mandatory only if the financial product is LISA type: string total_withdrawals: description: Total lifetime withdrawals by investor for the account type: string total_withdrawal_charges: description: >- Total withdrawal charges deducted for unauthorized withdrawals from a LISA account across years. Mandatory only if the financial product is LISA type: string account_type: type: string enum: - X - Z - B - G example: X isa_allowance_remaining: description: >- Total subscription allowance remaining for investor across all ISA product types for the current tax year type: string example: '20000' lisa_allowance_remaining: description: >- Mandatory only if the financial product is LISA. The remaining total allowance available to the investor for the LISA product within the current tax year type: string example: '4000' custodian_account_reference: type: string nullable: true maxLength: 64 example: CAR573838383 custodian_id: type: string nullable: true maxLength: 64 example: CID594898ff custodian_client_reference: type: string nullable: true maxLength: 64 example: CCR578fh8 regulator_advisor_id: type: string nullable: true maxLength: 64 example: RAI48483jd life_events: description: Life events of the investor type: array items: required: - event_id - event_type - status properties: event_id: type: string example: LISALETI-SCX540 event_type: type: string example: Terminal illness status: type: string example: completed reference_version: type: integer example: 1 created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' pot_id: description: Array of pot IDs attached to Investor Account ID type: array items: type: string example: - pot-MKQ5634576 - pot-DFT5033872 hmrc_data: description: Mandatory only if the financial product is LISA type: object required: - status properties: status: description: >- Indicate the status of the LISA investor and investor account creation with HMRC type: string enum: - hmrc_process_not_started - hmrc_process_inprogress - hmrc_investor_creation_failed - hmrc_account_creation_successful - hmrc_account_creation_failed - hmrc_account_cancelled lisa_investor_reference: description: >- Investor account reference created at HMRC for a LISA account type: string reason: description: Error reason received from HMRC type: string nullable: true next_page_available: type: boolean InvestorAccountsGetAll400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object InvestorAccountsGetAll401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorAccountsGetAll403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorAccountsGetAll404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorAccountsGetAll429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorAccountsGetAll500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorAccountsGetAccountByIdResponse: required: - account_id - investor_id - financial_product_id - status - pot_id - created_at - updated_at properties: account_id: description: Investor account id type: string example: SSISA1663750577493 investor_id: type: string example: inv-QXR38578 financial_product_id: type: string example: stocks_isa date_of_account_activation: description: >- The first date the account was opened by the investor. For LISA accounts, this will be set with the date of the initial subscription to the account type: string format: date-time example: '2022-09-21T08:56:17.493Z' status: description: Account status type: string enum: - active - pending_cancellation - cancelled - closed example: active pot_id: description: Array of pot IDs attached to Investor Account ID type: array items: type: string example: - pot-MKQ5634576 - pot-DFT5033872 current_year_subscription: description: Does the Account have contributions for the current tax year type: boolean example: false first_subscription_date_for_current_year: description: Date of the first subscription received for the current tax year type: string nullable: true format: date-time current_year_total_contribution: description: Total contribution by investor for account for the current tax year type: string current_year_total_withdrawals: description: Total lifetime withdrawals by investor for the account type: string current_year_total_isa_contribution: description: >- Total contribution by investor for all ISA product types for the current tax year type: string current_year_total_isa_withdrawals: description: >- Total subscription allowance remaining for investor across all ISA product types for the current tax year type: string current_year_RAS_claimed: description: >- Total relief at source claimed for the tax year. This is only relevant for SIPP type: string current_year_gross_contribution: description: >- Applicable only if the financial product is LISA or SIPP. If LISA, the total contribution done by the investor for the current tax year including the government bonus. If SIPP, the total contributions made into pensions pots including relief at source claims for the tax year type: string current_year_MPAA_utilized: description: Total MPAA utilized by investor for account for the current tax year type: string current_year_RAS_claims_pending: description: >- Total relief at source amount to be claimed from HMRC. This is only relevant for SIPP type: string current_year_LISA_bonus_claimed: description: >- Applicable only if the financial product is LISA. The government bonus that has been claimed for the contributions made to the Cash LISA within the current tax year type: string current_year_LISA_bonus_pending: description: >- Applicable only if the financial product is LISA. The government bonus that is pending for the contributions made to the Cash LISA within the current tax year type: string current_year_withdrawal_charges: description: >- Total withdrawal charges deducted for unauthorized withdrawals from a LISA account for the current tax year. Mandatory only if the financial product is LISA type: string current_year_pending_withdrawals: description: >- Total withdrawals scheduled for the account to be paid to investor for the current tax year type: string total_contribution: description: Total lifetime contribution by investor for the account type: string total_gross_contribution: description: >- Total lifetime contribution by investor for a LISA account including the government bonus claimed. Mandatory only if the financial product is LISA type: string total_bonus_claimed: description: >- Total government bonus claimed for LISA account for contributions made across years. Mandatory only if the financial product is LISA type: string total_withdrawals: description: Total LISA withdrawals by investor across years type: string total_withdrawal_charges: description: >- Total withdrawal charges deducted for unauthorized withdrawals from a LISA account across years. Mandatory only if the financial product is LISA type: string total_market_value: description: >- Value of holdings across all pots attached to the account ID (including investment products and cash) type: string example: '0' account_type: type: string enum: - X - Z - B - G example: X isa_allowance_remaining: description: >- Total subscription allowance remaining for investor across all ISA product types for the current tax year type: string example: '20000' lisa_allowance_remaining: description: >- Mandatory only if the financial product is LISA. The remaining total allowance available to the investor for the LISA product within the current tax year type: string example: '4000' custodian_account_reference: type: string nullable: true maxLength: 64 example: CAR573838383 custodian_id: type: string nullable: true maxLength: 64 example: CID594898ff custodian_client_reference: type: string nullable: true maxLength: 64 example: CCR578fh8 regulator_advisor_id: type: string nullable: true maxLength: 64 example: RAI48483jd life_events: description: Life events of the investor type: array items: required: - event_id - event_type - status properties: event_id: type: string example: LISALETI-SCX540 event_type: type: string example: Terminal illness status: type: string example: completed reference_version: type: integer example: 1 created_at: type: string format: date-time readOnly: true example: '2022-12-29T10:36:03.064Z' updated_at: type: string format: date-time readOnly: true example: '2022-12-29T10:36:03.064Z' hmrc_data: description: Mandatory only if the financial product is LISA type: object required: - status properties: status: description: >- Indicate the status of the LISA investor and investor account creation with HMRC type: string enum: - hmrc_process_not_started - hmrc_process_inprogress - hmrc_investor_creation_failed - hmrc_account_creation_successful - hmrc_account_creation_failed - hmrc_account_cancelled lisa_investor_reference: description: Investor account reference created at HMRC for a LISA account type: string reason: description: Error reason received from HMRC type: string nullable: true InvestorAccountsGetAccountById400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object InvestorAccountsGetAccountById401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorAccountsGetAccountById403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorAccountsGetAccountById404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorAccountsGetAccountById429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorAccountsGetAccountById500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorAccountsUpdateDetailsResponse: required: - account_id - investor_id - financial_product_id - status - pot_id - created_at - updated_at properties: account_id: description: Investor account id type: string example: SSISA1663750577493 investor_id: type: string example: inv-QXR38578 financial_product_id: type: string example: stocks_isa date_of_account_activation: description: >- The first date the account was opened by the investor. For LISA accounts, this will be set with the date of the initial subscription to the account type: string format: date-time example: '2022-09-21T08:56:17.493Z' status: description: Account status type: string enum: - active - pending_cancellation - cancelled - closed example: active pot_id: description: Array of pot IDs attached to Investor Account ID type: array items: type: string example: - pot-MKQ5634576 - pot-DFT5033872 current_year_subscription: description: Does the Account have contributions for the current tax year type: boolean example: false first_subscription_date_for_current_year: description: Date of the first subscription received for the current tax year type: string nullable: true format: date-time current_year_total_contribution: description: Total contribution by investor for account for the current tax year type: string current_year_total_withdrawals: description: Total lifetime withdrawals by investor for the account type: string current_year_total_isa_contribution: description: >- Total contribution by investor for all ISA product types for the current tax year type: string current_year_total_isa_withdrawals: description: >- Total subscription allowance remaining for investor across all ISA product types for the current tax year type: string current_year_RAS_claimed: description: >- Total relief at source claimed for the tax year. This is only relevant for SIPP type: string current_year_gross_contribution: description: >- Applicable only if the financial product is LISA or SIPP. If LISA, the total contribution done by the investor for the current tax year including the government bonus. If SIPP, the total contributions made into pensions pots including relief at source claims for the tax year type: string current_year_MPAA_utilized: description: Total MPAA utilized by investor for account for the current tax year type: string current_year_RAS_claims_pending: description: >- Total relief at source amount to be claimed from HMRC. This is only relevant for SIPP type: string current_year_LISA_bonus_claimed: description: >- Applicable only if the financial product is LISA. The government bonus that has been claimed for the contributions made to the Cash LISA within the current tax year type: string current_year_LISA_bonus_pending: description: >- Applicable only if the financial product is LISA. The government bonus that is pending for the contributions made to the Cash LISA within the current tax year type: string current_year_withdrawal_charges: description: >- Total withdrawal charges deducted for unauthorized withdrawals from a LISA account for the current tax year. Mandatory only if the financial product is LISA type: string current_year_pending_withdrawals: description: >- Total withdrawals scheduled for the account to be paid to investor for the current tax year type: string total_contribution: description: Total lifetime contribution by investor for the account type: string total_gross_contribution: description: >- Total lifetime contribution by investor for a LISA account including the government bonus claimed. Mandatory only if the financial product is LISA type: string total_bonus_claimed: description: >- Total government bonus claimed for LISA account for contributions made across years. Mandatory only if the financial product is LISA type: string total_withdrawals: description: Total LISA withdrawals by investor across years type: string total_withdrawal_charges: description: >- Total withdrawal charges deducted for unauthorized withdrawals from a LISA account across years. Mandatory only if the financial product is LISA type: string total_market_value: description: >- Value of holdings across all pots attached to the account ID (including investment products and cash) type: string example: '0' account_type: type: string enum: - X - Z - B - G example: X isa_allowance_remaining: description: >- Total subscription allowance remaining for investor across all ISA product types for the current tax year type: string example: '20000' lisa_allowance_remaining: description: >- Mandatory only if the financial product is LISA. The remaining total allowance available to the investor for the LISA product within the current tax year type: string example: '4000' custodian_account_reference: type: string nullable: true maxLength: 64 example: CAR573838383 custodian_id: type: string nullable: true maxLength: 64 example: CID594898ff custodian_client_reference: type: string nullable: true maxLength: 64 example: CCR578fh8 regulator_advisor_id: type: string nullable: true maxLength: 64 example: RAI48483jd life_events: description: Life events of the investor type: array items: required: - event_id - event_type - status properties: event_id: type: string example: LISALETI-SCX540 event_type: type: string example: Terminal illness status: type: string example: completed reference_version: type: integer example: 1 created_at: type: string format: date-time readOnly: true example: '2022-12-29T10:36:03.064Z' updated_at: type: string format: date-time readOnly: true example: '2022-12-29T10:36:03.064Z' hmrc_data: description: Mandatory only if the financial product is LISA type: object required: - status properties: status: description: >- Indicate the status of the LISA investor and investor account creation with HMRC type: string enum: - hmrc_process_not_started - hmrc_process_inprogress - hmrc_investor_creation_failed - hmrc_account_creation_successful - hmrc_account_creation_failed - hmrc_account_cancelled lisa_investor_reference: description: Investor account reference created at HMRC for a LISA account type: string reason: description: Error reason received from HMRC type: string nullable: true InvestorAccountsUpdateDetails400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object InvestorAccountsUpdateDetails401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorAccountsUpdateDetails403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorAccountsUpdateDetails404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorAccountsUpdateDetails429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorAccountsUpdateDetails500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string FeesGetFeeCodesResponse: title: Get fee code response description: Definition of Get fee code response required: - fee_codes properties: fee_codes: type: array items: title: Root Type for Fee Code description: JSON for the Fee code resource type required: - fee_code - fee_type - fee_rate - status - created_at - updated_at type: object properties: fee_code: type: string maxLength: 10 example: FF_50 fee_type: type: string example: Flat_fee_percentage_based enum: - Flat_fee_percentage_based fee_rate: description: Fee rate in basis points. Numeric with 2 decimals type: string example: '50.00' status: type: string example: Active enum: - Active - Inactive created_at: type: string format: date-time updated_at: type: string format: date-time FeesGetFeeCodes400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object FeesGetFeeCodes401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string FeesGetFeeCodes403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string FeesGetFeeCodes404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string FeesGetFeeCodes429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string FeesGetFeeCodes500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string FeesGetFeeSetupsResponse: title: Get fee setup response description: Definition of Get fee setup response required: - fee_setups properties: fee_setups: type: array items: title: Root Type for Fee Setup description: JSON for the Fee setup resource type required: - fee_setup_id - fee_calculation_entity - fee_calculation_method - sub_transaction_type - primary_transaction_type - fee_code - assigned_to - start_date - status - created_at - updated_at properties: fee_setup_id: type: string example: 6efa81d9-073f-4ac2-9e09-66d6934b57e3 fee_calculation_entity: type: string example: Investor enum: - Investor - Financial Product - Portfolio fee_calculation_method: type: string example: Daily Accrual enum: - Daily Accrual primary_transaction_type: type: string example: Fees sub_transaction_type: type: string example: Advisor ongoing fee enum: - Management fee - Advisor ongoing fee - Service fees - Product administration fees - Portfolio management fees - Platform fees fee_code: type: string example: FF_50 assigned_to: type: array example: All items: description: >- WARNING: Missing items property in array schema. Missing items property has been filled with this AnyType schema. start_date: type: string format: date example: '2022-10-31' end_date: type: string format: date example: '2023-10-31' status: type: string example: Active enum: - Active - Inactive created_at: type: string format: date-time example: '2022-10-26T13:24:00.459Z' updated_at: type: string format: date-time example: '2022-10-26T13:24:00.459Z' FeesGetFeeSetups400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object FeesGetFeeSetups401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string FeesGetFeeSetups403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string FeesGetFeeSetups404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string FeesGetFeeSetups429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string FeesGetFeeSetups500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string FeesGetExemptionsResponse: title: Get fee exemption response description: Definition of Get fee exemption response required: - fee_exemptions properties: fee_exemptions: type: array items: title: Root Type for Fee Exemption description: JSON for the Fee Exemption resource type required: - fee_exemption_id - fee_exemption_entity - sub_transaction_type - primary_transaction_type - assigned_to - exempted_assets - start_date - status - created_at - updated_at properties: fee_exemption_id: type: string example: c4b7bca6-7020-42c2-b74b-2116fb23b124 fee_exemption_entity: type: string example: Investor enum: - Investor - Financial Product - Portfolio primary_transaction_type: type: string example: Fees sub_transaction_type: type: string example: Service fees enum: - Management fee - Advisor ongoing fee - Service fees - Product administration fees - Portfolio management fees - Platform fees assigned_to: type: array example: All items: description: >- WARNING: Missing items property in array schema. Missing items property has been filled with this AnyType schema. exempted_assets: type: array items: type: string example: cash start_date: type: string format: date example: '2023-01-26' end_date: type: string format: date example: '2023-02-26' status: type: string example: Active enum: - Active - Inactive created_at: type: string format: date-time example: '2023-01-26T16:01:49.002Z' updated_at: type: string format: date-time example: '2023-01-26T16:01:49.002Z' FeesGetExemptions400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object FeesGetExemptions401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string FeesGetExemptions403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string FeesGetExemptions404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string FeesGetExemptions429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string FeesGetExemptions500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsDeleteFeeNominationResponse: title: Fee nomination delete response description: Success message required: - message properties: message: type: string example: Successfully deleted nominations for investor [inv-XUT11265] InvestorsDeleteFeeNomination400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object InvestorsDeleteFeeNomination401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsDeleteFeeNomination403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsDeleteFeeNomination404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsDeleteFeeNomination429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsDeleteFeeNomination500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsGetFeeNominationResponse: title: Fee nomination creation response description: Definition of Fee nomination creation response required: - nominations - reference_version - investor_id - created_at - updated_at properties: nominations: type: array items: title: Fee nominee pots description: Definition of an single fee nominee pot required: - nominee_pot_id type: object properties: nominee_pot_id: description: Pot id of the nominee pot type: string example: - nominee_pot_id: pot-UKW3452800 reference_version: type: integer readOnly: true example: 1 investor_id: description: Investor Id of the nominee pot type: string example: inv-XUT11265 created_at: type: string format: date-time readOnly: true example: '2023-02-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2023-02-10T07:36:05.884Z' InvestorsGetFeeNomination400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object InvestorsGetFeeNomination401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsGetFeeNomination403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsGetFeeNomination404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsGetFeeNomination429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsGetFeeNomination500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsUpdateFeeNominationResponse: title: Fee nomination creation response description: Definition of Fee nomination creation response required: - nominations - reference_version - investor_id - created_at - updated_at properties: nominations: type: array items: title: Fee nominee pots description: Definition of an single fee nominee pot required: - nominee_pot_id type: object properties: nominee_pot_id: description: Pot id of the nominee pot type: string example: - nominee_pot_id: pot-UKW3452800 reference_version: type: integer readOnly: true example: 1 investor_id: description: Investor Id of the nominee pot type: string example: inv-XUT11265 created_at: type: string format: date-time readOnly: true example: '2023-02-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2023-02-10T07:36:05.884Z' InvestorsUpdateFeeNomination400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object InvestorsUpdateFeeNomination401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsUpdateFeeNomination403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsUpdateFeeNomination404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsUpdateFeeNomination429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsUpdateFeeNomination500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsCreateFeeNominationForInvestorResponse: title: Fee nomination creation response description: Definition of Fee nomination creation response required: - nominations - reference_version - investor_id - created_at - updated_at properties: nominations: type: array items: title: Fee nominee pots description: Definition of an single fee nominee pot required: - nominee_pot_id type: object properties: nominee_pot_id: description: Pot id of the nominee pot type: string example: - nominee_pot_id: pot-UKW3452800 reference_version: type: integer readOnly: true example: 1 investor_id: description: Investor Id of the nominee pot type: string example: inv-XUT11265 created_at: type: string format: date-time readOnly: true example: '2023-02-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2023-02-10T07:36:05.884Z' InvestorsCreateFeeNominationForInvestor400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object InvestorsCreateFeeNominationForInvestor401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsCreateFeeNominationForInvestor403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsCreateFeeNominationForInvestor404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsCreateFeeNominationForInvestor429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsCreateFeeNominationForInvestor500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ContributingEmployersGetByInvestorResponse: description: Array of contributing employers type: object properties: contributingEmployers: type: array items: description: Contributing Employer type: object properties: contributing_employer_id: description: system generated id type: string readOnly: true maxLength: 100 example: cem-ZWY58878 name: description: Name of the contributing employer type: string maxLength: 100 example: Acme Ltd investor_id: description: Id of the investor type: string example: inv-QXR38578 registration_number: description: Registration number of the contributing employer type: string example: '12345678' address: type: object properties: address_line_1: description: Address line 1 type: string example: 123 Main Street address_line_2: description: Address line 2 type: string example: Suite 100 city: description: City type: string example: San Francisco state: description: State type: string example: CA country: description: Country type: string example: US postal_code: description: Postal code type: string example: '94105' status: description: Status of the contributing employer type: string example: active bank_accounts: description: Array of bank account IDs type: array items: type: string example: ba-bc00c28f-b3fc-42b7 reference_version: type: integer example: 1 readOnly: true created_at: description: Date and time when the contributing employer was created type: string format: date-time readOnly: true example: '2020-01-01T00:00:00.000Z' updated_at: description: Date and time when the contributing employer was last updated type: string format: date-time readOnly: true example: '2020-01-01T00:00:00.000Z' ContributingEmployersGetByInvestor400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object ContributingEmployersGetByInvestor401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ContributingEmployersGetByInvestor403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ContributingEmployersGetByInvestor404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ContributingEmployersGetByInvestor429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ContributingEmployersGetByInvestor500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ContributingEmployersCreateNewEmployerResponse: description: Contributing Employer type: object properties: contributing_employer_id: description: system generated id type: string readOnly: true maxLength: 100 example: cem-ZWY58878 name: description: Name of the contributing employer type: string maxLength: 100 example: Acme Ltd investor_id: description: Id of the investor type: string example: inv-QXR38578 registration_number: description: Registration number of the contributing employer type: string example: '12345678' address: type: object properties: address_line: description: Address line type: string example: '14' city: description: City type: string example: London state: description: State type: string example: England country: description: Country type: string example: GBR postal_code: description: Postal code type: string example: S2 2DF status: description: Status of the contributing employer type: string example: active bank_accounts: description: >- Allowed to create only one bank account when creating a new contributing employer. type: array items: properties: bank_account_id: description: system generated id type: string readOnly: true maxLength: 100 example: ba-20b904f7-8d05-4efd-bd36-4ec3b1ce8e03 investor_id: description: Id of the investor type: string example: inv-QXR38578 contributing_party_id: description: Id of the contributing party type: string example: cem-ZWY58878 account_name: type: string maxLength: 100 example: David Brown bank_account_type: type: string enum: - investor - contributing_employer example: contributing_employer default_account: description: For contributing employer, this will always be no type: string enum: - 'yes' - 'no' example: 'no' bank_account_number: description: Unique for the investor and contributing employer type: string minLength: 6 maxLength: 8 example: '****5678' account_status: type: string enum: - active - inactive example: active sort_code: type: string minLength: 6 maxLength: 8 example: '****56' building_society_roll_number: type: string minLength: 1 maxLength: 18 example: '******72' reference_version: type: integer readOnly: true example: 1 created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' reference_version: type: integer example: 1 created_at: description: Date and time when the contributing employer was created type: string format: date-time readOnly: true example: '2020-01-01T00:00:00.000Z' updated_at: description: Date and time when the contributing employer was last updated type: string format: date-time readOnly: true example: '2020-01-01T00:00:00.000Z' ContributingEmployersCreateNewEmployer400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object ContributingEmployersCreateNewEmployer401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ContributingEmployersCreateNewEmployer403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ContributingEmployersCreateNewEmployer404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ContributingEmployersCreateNewEmployer429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ContributingEmployersCreateNewEmployer500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ContributingEmployersGetParticularEmployerResponse: description: Contributing Employer type: object properties: contributing_employer_id: description: system generated id type: string readOnly: true maxLength: 100 example: cem-ZWY58878 name: description: Name of the contributing employer type: string maxLength: 100 example: Acme Ltd investor_id: description: Id of the investor type: string example: inv-QXR38578 registration_number: description: Registration number of the contributing employer type: string example: '12345678' address: type: object properties: address_line_1: description: Address line 1 type: string example: 123 Main Street address_line_2: description: Address line 2 type: string example: Suite 100 city: description: City type: string example: San Francisco state: description: State type: string example: CA country: description: Country type: string example: US postal_code: description: Postal code type: string example: '94105' status: description: Status of the contributing employer type: string example: active bank_accounts: description: Array of bank account IDs type: array items: type: string example: ba-bc00c28f-b3fc-42b7 reference_version: type: integer example: 1 readOnly: true created_at: description: Date and time when the contributing employer was created type: string format: date-time readOnly: true example: '2020-01-01T00:00:00.000Z' updated_at: description: Date and time when the contributing employer was last updated type: string format: date-time readOnly: true example: '2020-01-01T00:00:00.000Z' ContributingEmployersGetParticularEmployer400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object ContributingEmployersGetParticularEmployer401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ContributingEmployersGetParticularEmployer403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ContributingEmployersGetParticularEmployer404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ContributingEmployersGetParticularEmployer429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ContributingEmployersGetParticularEmployer500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ContributingEmployersUpdateParticularEmployerResponse: description: Contributing Employer type: object properties: contributing_employer_id: description: system generated id type: string readOnly: true maxLength: 100 example: cem-ZWY58878 name: description: Name of the contributing employer type: string maxLength: 100 example: Acme Ltd investor_id: description: Id of the investor type: string example: inv-QXR38578 registration_number: description: Registration number of the contributing employer type: string example: '12345678' address: type: object properties: address_line_1: description: Address line 1 type: string example: 123 Main Street address_line_2: description: Address line 2 type: string example: Suite 100 city: description: City type: string example: San Francisco state: description: State type: string example: CA country: description: Country type: string example: US postal_code: description: Postal code type: string example: '94105' status: description: Status of the contributing employer type: string example: active bank_accounts: description: Array of bank account IDs type: array items: type: string example: ba-bc00c28f-b3fc-42b7 reference_version: type: integer example: 1 readOnly: true created_at: description: Date and time when the contributing employer was created type: string format: date-time readOnly: true example: '2020-01-01T00:00:00.000Z' updated_at: description: Date and time when the contributing employer was last updated type: string format: date-time readOnly: true example: '2020-01-01T00:00:00.000Z' ContributingEmployersUpdateParticularEmployer400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object ContributingEmployersUpdateParticularEmployer401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ContributingEmployersUpdateParticularEmployer403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ContributingEmployersUpdateParticularEmployer404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ContributingEmployersUpdateParticularEmployer429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ContributingEmployersUpdateParticularEmployer500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringContributionsGetAllContributionsResponse: required: - recurring_contributions - next_page_available type: object properties: recurring_contributions: type: array items: required: - contribution_id - contribution_name - pot_id - financial_product_id - investor_id - amount - sub_transaction_type - currency - payment_type - service_provider - purpose - payment_schedule - service_provider_params - status - created_at - updated_at properties: contribution_id: description: System generated unique id type: string example: RCB-GC-AB24DE7 contribution_name: description: User given identifier for the contribution type: string maxLength: 100 example: Contributions to SIPP pot_id: description: Pot ID of investor to direct the payment type: string example: pot-UKW34528503 financial_product_id: description: Financial Product Id type: string example: sipp_accumulation investor_id: description: >- Investor ID of the investor making the contribution. For a joint pot, Investor ID of the party making contribution should be included. type: string example: inv-XUT11265 amount: description: >- Amount as a numeral string with two decimal points. (ex: 1500.00). Should be greater than or equal to the minimum investment for the financial product. type: string example: '100.00' sub_transaction_type: description: >- Sub transaction type for recurring contribution. Regular contribution - non relievable is only allowed for pots linked to SIPP Accumulation product type type: string example: Regular contribution - Employer enum: - Regular contribution - Regular contribution - non relievable - Regular contribution - Employer currency: description: Must be a currency configured for the Pot type: string example: GBP payment_type: description: Type of payment type: string example: direct_debit enum: - direct_debit service_provider: description: Service provider managing the recurring payment subscription type: string example: gocardless enum: - gocardless purpose: description: >- invest option is allowed only if investment_instructions given or a portfolio is attached, if not the purpose should be cash. type: string example: invest enum: - cash - invest investment_instructions: description: >- Mandatory only if purpose:"invest" and pot does not have a portfolio template attached (e.g. An execution-only or direct-to-consumer wealth manager). type: array items: required: - investment_product_id properties: investment_product_id: type: string quantity: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 332.34, 1050.0025). For `funds`, upto 4 decimal places. For `equities`, `bonds` and `etf`, 0 decimal places allowed. type: string value: description: >- Require if `quantity` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string example: - investment_product_id: isa_1223931892 quantity: '300' - investment_product_id: isa_9913091898 quantity: '500' source_id: description: >- Only for payments intents for employer contributions made towards SIPP Accumulation Products type: string example: cem-ASP43560 payment_schedule: description: Parameters based on payment schedule type: object required: - interval_unit - interval - start_date properties: interval_unit: description: Repeating interval unit of recurring payment type: string enum: - monthly interval: description: >- Repeating interval of recurring payment. For monthly, should be 1-12 type: integer date: description: >- Date the payment is expected to be triggered if frequency is monthly. 1-28 or -1 to indicate the last day of the month type: integer start_date: description: >- Date to initiate the recurring payments. If approvals haven't been received by the given start date, the start date will be moved to the subscription activation date. Should be in YYYY-MM-DD format type: string format: date end_date: description: >- Date to conclude the recurring payments, if count is not provided. Should be in YYYY-MM-DD format type: string format: date count: description: >- No of recurring payments to trigger before concluding the payments, if an end date is not provided type: integer example: interval_unit: monthly interval: 2 date: 1 start_date: '2023-04-02' end_date: '2023-11-02' service_provider_params: type: object required: - status properties: status: description: Status transitions depend on the service provider type: string example: Subscription created enum: - Pending service provider setup - Customer data collection completed - Customer data created - Customer data creation failed - Authorization received - Authorization failed - Subscription created - Subscription creation failed - Subscription paused - Subscription resumed - Subscription cancelled - Subscription finished - Mandate cancelled - Mandate expired - Mandate replaced - Mandate transferred authorization_reference: description: >- Authorization reference ID provided by a service provider maintained under payment authorizations for an investor type: string example: MD000VDMMYGD0T contribution_reference: description: >- Contribution reference ID provided by a service provider maintained under payment authorizations for an investor type: string example: SB000A6A5EVJHE customer_reference: description: >- Customer reference ID provided by a service provider maintained under payment authorizations for an investor type: string example: CU000Y5VVH7TDQ request_id: description: >- Request ID used to create a contribution with the service provider type: string example: BRQ0004CZJA19GF reason: description: Reason for disabling/cancelling the contribution type: string example: Paid out authorization_url: description: >- Authorization URL sent by service provider to setup customer reference data and bank account information type: string example: https://authexample.gocardless-sandbox.com status: type: string example: Active enum: - Pending - Active - Finished - Rejected - Paused - Cancelled next_payment_dates: type: array example: - '2023-04-16' - '2023-04-30' items: type: string format: date created_at: type: string format: date-time updated_at: type: string format: date-time next_page_available: description: This indicates the availability of the next page type: boolean readOnly: true RecurringContributionsGetAllContributions400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object RecurringContributionsGetAllContributions401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringContributionsGetAllContributions403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringContributionsGetAllContributions404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringContributionsGetAllContributions429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringContributionsGetAllContributions500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringContributionsCreatePaymentResponse: required: - contribution_id - contribution_name - pot_id - investor_id - amount - sub_transaction_type - currency - payment_type - service_provider - purpose - payment_schedule - service_provider_params - status properties: contribution_id: description: System generated unique id type: string example: RCB-GC-AB24DE7 contribution_name: description: User given identifier for the contribution type: string maxLength: 100 example: Contributions to SIPP pot_id: description: Pot ID of investor to direct the payment type: string example: pot-UKW34528503 investor_id: description: >- Investor ID of the investor making the contribution. For a joint pot, Investor ID of the party making contribution should be included. type: string example: inv-XUT11265 amount: description: >- Amount as a numeral string with two decimal points. (ex: 1500.00). Should be greater than or equal to the minimum investment for the financial product. type: string example: '100.00' sub_transaction_type: description: >- Sub transaction type for recurring contribution. Regular contribution - non relievable is only allowed for pots linked to SIPP Accumulation product type type: string example: Regular contribution - Employer enum: - Regular contribution - Regular contribution - non relievable - Regular contribution - Employer currency: description: Must be a currency configured for the Pot type: string example: GBP payment_type: description: Type of payment type: string example: direct_debit enum: - direct_debit service_provider: description: Service provider managing the recurring payment subscription type: string example: gocardless enum: - gocardless purpose: description: >- invest option is allowed only if investment_instructions given or a portfolio is attached, if not the purpose should be cash. type: string example: invest enum: - cash - invest investment_instructions: description: >- Mandatory only if purpose:"invest" and pot does not have a portfolio template attached (e.g. An execution-only or direct-to-consumer wealth manager). type: array items: required: - investment_product_id properties: investment_product_id: type: string quantity: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 332.34, 1050.0025). For `funds`, upto 4 decimal places. For `equities`, `bonds` and `etf`, 0 decimal places allowed. type: string value: description: >- Require if `quantity` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string example: - investment_product_id: isa_1223931892 quantity: '300' - investment_product_id: isa_9913091898 quantity: '500' source_id: description: >- Only for payments intents for employer contributions made towards SIPP Accumulation Products type: string example: cem-ASP43560 payment_schedule: description: Parameters based on payment schedule type: object required: - interval_unit - interval - start_date properties: interval_unit: description: Repeating interval unit of recurring payment type: string enum: - monthly interval: description: >- Repeating interval of recurring payment. For monthly, should be 1-12 type: integer date: description: >- Date the payment is expected to be triggered if frequency is monthly. 1-28 or -1 to indicate the last day of the month type: integer start_date: description: >- Date to initiate the recurring payments. If approvals haven't been received by the given start date, the start date will be moved to the subscription activation date. Should be in YYYY-MM-DD format type: string format: date end_date: description: >- Date to conclude the recurring payments, if count is not provided. Should be in YYYY-MM-DD format type: string format: date count: description: >- No of recurring payments to trigger before concluding the payments, if an end date is not provided type: integer example: interval_unit: monthly interval: 2 date: 1 start_date: '2023-04-02' end_date: '2023-11-02' service_provider_params: type: object required: - status properties: status: description: Status transitions depend on the service provider type: string example: Pending service provider setup enum: - Pending service provider setup - Customer data collection completed - Customer data created - Customer data creation failed - Authorization received - Authorization failed - Subscription created - Subscription creation failed - Subscription paused - Subscription resumed - Subscription cancelled - Subscription finished - Mandate cancelled - Mandate expired - Mandate replaced - Mandate transferred status: type: string example: Pending enum: - Pending - Active - Finished - Rejected - Paused - Cancelled RecurringContributionsCreatePayment400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object RecurringContributionsCreatePayment401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringContributionsCreatePayment403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringContributionsCreatePayment429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringContributionsCreatePayment500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringContributionsUpdateRecurringPaymentResponse: required: - contribution_id - contribution_name - pot_id - financial_product_id - investor_id - amount - sub_transaction_type - currency - payment_type - service_provider - purpose - payment_schedule - service_provider_params - status - created_at - updated_at properties: contribution_id: description: System generated unique id type: string example: RCB-GC-AB24DE7 contribution_name: description: User given identifier for the contribution type: string maxLength: 100 example: Contributions to SIPP pot_id: description: Pot ID of investor to direct the payment type: string example: pot-UKW34528503 financial_product_id: description: Financial Product Id type: string example: sipp_accumulation investor_id: description: >- Investor ID of the investor making the contribution. For a joint pot, Investor ID of the party making contribution should be included. type: string example: inv-XUT11265 amount: description: >- Amount as a numeral string with two decimal points. (ex: 1500.00). Should be greater than or equal to the minimum investment for the financial product. type: string example: '100.00' sub_transaction_type: description: >- Sub transaction type for recurring contribution. Regular contribution - non relievable is only allowed for pots linked to SIPP Accumulation product type type: string example: Regular contribution - Employer enum: - Regular contribution - Regular contribution - non relievable - Regular contribution - Employer currency: description: Must be a currency configured for the Pot type: string example: GBP payment_type: description: Type of payment type: string example: direct_debit enum: - direct_debit service_provider: description: Service provider managing the recurring payment subscription type: string example: gocardless enum: - gocardless purpose: description: >- invest option is allowed only if investment_instructions given or a portfolio is attached, if not the purpose should be cash. type: string example: invest enum: - cash - invest investment_instructions: description: >- Mandatory only if purpose:"invest" and pot does not have a portfolio template attached (e.g. An execution-only or direct-to-consumer wealth manager). type: array items: required: - investment_product_id properties: investment_product_id: type: string quantity: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 332.34, 1050.0025). For `funds`, upto 4 decimal places. For `equities`, `bonds` and `etf`, 0 decimal places allowed. type: string value: description: >- Require if `quantity` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string example: - investment_product_id: isa_1223931892 quantity: '300' - investment_product_id: isa_9913091898 quantity: '500' source_id: description: >- Only for payments intents for employer contributions made towards SIPP Accumulation Products type: string example: cem-ASP43560 payment_schedule: description: Parameters based on payment schedule type: object required: - interval_unit - interval - start_date properties: interval_unit: description: Repeating interval unit of recurring payment type: string enum: - monthly interval: description: >- Repeating interval of recurring payment. For monthly, should be 1-12 type: integer date: description: >- Date the payment is expected to be triggered if frequency is monthly. 1-28 or -1 to indicate the last day of the month type: integer start_date: description: >- Date to initiate the recurring payments. If approvals haven't been received by the given start date, the start date will be moved to the subscription activation date. Should be in YYYY-MM-DD format type: string format: date end_date: description: >- Date to conclude the recurring payments, if count is not provided. Should be in YYYY-MM-DD format type: string format: date count: description: >- No of recurring payments to trigger before concluding the payments, if an end date is not provided type: integer example: interval_unit: monthly interval: 2 date: 1 start_date: '2023-04-02' end_date: '2023-11-02' service_provider_params: type: object required: - status properties: status: description: Status transitions depend on the service provider type: string example: Subscription created enum: - Pending service provider setup - Customer data collection completed - Customer data created - Customer data creation failed - Authorization received - Authorization failed - Subscription created - Subscription creation failed - Subscription paused - Subscription resumed - Subscription cancelled - Subscription finished - Mandate cancelled - Mandate expired - Mandate replaced - Mandate transferred authorization_reference: description: >- Authorization reference ID provided by a service provider maintained under payment authorizations for an investor type: string example: MD000VDMMYGD0T contribution_reference: description: >- Contribution reference ID provided by a service provider maintained under payment authorizations for an investor type: string example: SB000A6A5EVJHE customer_reference: description: >- Customer reference ID provided by a service provider maintained under payment authorizations for an investor type: string example: CU000Y5VVH7TDQ request_id: description: >- Request ID used to create a contribution with the service provider type: string example: BRQ0004CZJA19GF reason: description: Reason for disabling/cancelling the contribution type: string example: Paid out authorization_url: description: >- Authorization URL sent by service provider to setup customer reference data and bank account information type: string example: https://authexample.gocardless-sandbox.com status: type: string example: Active enum: - Pending - Active - Finished - Rejected - Paused - Cancelled next_payment_dates: type: array example: - '2023-04-16' - '2023-04-30' items: type: string format: date created_at: type: string format: date-time updated_at: type: string format: date-time RecurringContributionsUpdateRecurringPayment400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object RecurringContributionsUpdateRecurringPayment401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringContributionsUpdateRecurringPayment403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringContributionsUpdateRecurringPayment404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringContributionsUpdateRecurringPayment429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringContributionsUpdateRecurringPayment500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringContributionsPausePaymentSetupResponse: required: - contribution_id - contribution_name - pot_id - financial_product_id - investor_id - amount - sub_transaction_type - currency - payment_type - service_provider - purpose - payment_schedule - service_provider_params - status - created_at - updated_at properties: contribution_id: description: System generated unique id type: string example: RCB-GC-AB24DE7 contribution_name: description: User given identifier for the contribution type: string maxLength: 100 example: Contributions to SIPP pot_id: description: Pot ID of investor to direct the payment type: string example: pot-UKW34528503 financial_product_id: description: Financial Product Id type: string example: sipp_accumulation investor_id: description: >- Investor ID of the investor making the contribution. For a joint pot, Investor ID of the party making contribution should be included. type: string example: inv-XUT11265 amount: description: >- Amount as a numeral string with two decimal points. (ex: 1500.00). Should be greater than or equal to the minimum investment for the financial product. type: string example: '100.00' sub_transaction_type: description: >- Sub transaction type for recurring contribution. Regular contribution - non relievable is only allowed for pots linked to SIPP Accumulation product type type: string example: Regular contribution - Employer enum: - Regular contribution - Regular contribution - non relievable - Regular contribution - Employer currency: description: Must be a currency configured for the Pot type: string example: GBP payment_type: description: Type of payment type: string example: direct_debit enum: - direct_debit service_provider: description: Service provider managing the recurring payment subscription type: string example: gocardless enum: - gocardless purpose: description: >- invest option is allowed only if investment_instructions given or a portfolio is attached, if not the purpose should be cash. type: string example: invest enum: - cash - invest investment_instructions: description: >- Mandatory only if purpose:"invest" and pot does not have a portfolio template attached (e.g. An execution-only or direct-to-consumer wealth manager). type: array items: required: - investment_product_id properties: investment_product_id: type: string quantity: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 332.34, 1050.0025). For `funds`, upto 4 decimal places. For `equities`, `bonds` and `etf`, 0 decimal places allowed. type: string value: description: >- Require if `quantity` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string example: - investment_product_id: isa_1223931892 quantity: '300' - investment_product_id: isa_9913091898 quantity: '500' source_id: description: >- Only for payments intents for employer contributions made towards SIPP Accumulation Products type: string example: cem-ASP43560 payment_schedule: description: Parameters based on payment schedule type: object required: - interval_unit - interval - start_date properties: interval_unit: description: Repeating interval unit of recurring payment type: string enum: - monthly interval: description: >- Repeating interval of recurring payment. For monthly, should be 1-12 type: integer date: description: >- Date the payment is expected to be triggered if frequency is monthly. 1-28 or -1 to indicate the last day of the month type: integer start_date: description: >- Date to initiate the recurring payments. If approvals haven't been received by the given start date, the start date will be moved to the subscription activation date. Should be in YYYY-MM-DD format type: string format: date end_date: description: >- Date to conclude the recurring payments, if count is not provided. Should be in YYYY-MM-DD format type: string format: date count: description: >- No of recurring payments to trigger before concluding the payments, if an end date is not provided type: integer example: interval_unit: monthly interval: 2 date: 1 start_date: '2023-04-02' end_date: '2023-11-02' service_provider_params: type: object required: - status properties: status: description: Status transitions depend on the service provider type: string example: Subscription created enum: - Pending service provider setup - Customer data collection completed - Customer data created - Customer data creation failed - Authorization received - Authorization failed - Subscription created - Subscription creation failed - Subscription paused - Subscription resumed - Subscription cancelled - Subscription finished - Mandate cancelled - Mandate expired - Mandate replaced - Mandate transferred authorization_reference: description: >- Authorization reference ID provided by a service provider maintained under payment authorizations for an investor type: string example: MD000VDMMYGD0T contribution_reference: description: >- Contribution reference ID provided by a service provider maintained under payment authorizations for an investor type: string example: SB000A6A5EVJHE customer_reference: description: >- Customer reference ID provided by a service provider maintained under payment authorizations for an investor type: string example: CU000Y5VVH7TDQ request_id: description: >- Request ID used to create a contribution with the service provider type: string example: BRQ0004CZJA19GF reason: description: Reason for disabling/cancelling the contribution type: string example: Paid out authorization_url: description: >- Authorization URL sent by service provider to setup customer reference data and bank account information type: string example: https://authexample.gocardless-sandbox.com status: type: string example: Active enum: - Pending - Active - Finished - Rejected - Paused - Cancelled next_payment_dates: type: array example: - '2023-04-16' - '2023-04-30' items: type: string format: date created_at: type: string format: date-time updated_at: type: string format: date-time RecurringContributionsPausePaymentSetup400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object RecurringContributionsPausePaymentSetup401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringContributionsPausePaymentSetup403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringContributionsPausePaymentSetup429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringContributionsPausePaymentSetup500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringContributionsResumeContributionResponse: required: - contribution_id - contribution_name - pot_id - financial_product_id - investor_id - amount - sub_transaction_type - currency - payment_type - service_provider - purpose - payment_schedule - service_provider_params - status - created_at - updated_at properties: contribution_id: description: System generated unique id type: string example: RCB-GC-AB24DE7 contribution_name: description: User given identifier for the contribution type: string maxLength: 100 example: Contributions to SIPP pot_id: description: Pot ID of investor to direct the payment type: string example: pot-UKW34528503 financial_product_id: description: Financial Product Id type: string example: sipp_accumulation investor_id: description: >- Investor ID of the investor making the contribution. For a joint pot, Investor ID of the party making contribution should be included. type: string example: inv-XUT11265 amount: description: >- Amount as a numeral string with two decimal points. (ex: 1500.00). Should be greater than or equal to the minimum investment for the financial product. type: string example: '100.00' sub_transaction_type: description: >- Sub transaction type for recurring contribution. Regular contribution - non relievable is only allowed for pots linked to SIPP Accumulation product type type: string example: Regular contribution - Employer enum: - Regular contribution - Regular contribution - non relievable - Regular contribution - Employer currency: description: Must be a currency configured for the Pot type: string example: GBP payment_type: description: Type of payment type: string example: direct_debit enum: - direct_debit service_provider: description: Service provider managing the recurring payment subscription type: string example: gocardless enum: - gocardless purpose: description: >- invest option is allowed only if investment_instructions given or a portfolio is attached, if not the purpose should be cash. type: string example: invest enum: - cash - invest investment_instructions: description: >- Mandatory only if purpose:"invest" and pot does not have a portfolio template attached (e.g. An execution-only or direct-to-consumer wealth manager). type: array items: required: - investment_product_id properties: investment_product_id: type: string quantity: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 332.34, 1050.0025). For `funds`, upto 4 decimal places. For `equities`, `bonds` and `etf`, 0 decimal places allowed. type: string value: description: >- Require if `quantity` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string example: - investment_product_id: isa_1223931892 quantity: '300' - investment_product_id: isa_9913091898 quantity: '500' source_id: description: >- Only for payments intents for employer contributions made towards SIPP Accumulation Products type: string example: cem-ASP43560 payment_schedule: description: Parameters based on payment schedule type: object required: - interval_unit - interval - start_date properties: interval_unit: description: Repeating interval unit of recurring payment type: string enum: - monthly interval: description: >- Repeating interval of recurring payment. For monthly, should be 1-12 type: integer date: description: >- Date the payment is expected to be triggered if frequency is monthly. 1-28 or -1 to indicate the last day of the month type: integer start_date: description: >- Date to initiate the recurring payments. If approvals haven't been received by the given start date, the start date will be moved to the subscription activation date. Should be in YYYY-MM-DD format type: string format: date end_date: description: >- Date to conclude the recurring payments, if count is not provided. Should be in YYYY-MM-DD format type: string format: date count: description: >- No of recurring payments to trigger before concluding the payments, if an end date is not provided type: integer example: interval_unit: monthly interval: 2 date: 1 start_date: '2023-04-02' end_date: '2023-11-02' service_provider_params: type: object required: - status properties: status: description: Status transitions depend on the service provider type: string example: Subscription created enum: - Pending service provider setup - Customer data collection completed - Customer data created - Customer data creation failed - Authorization received - Authorization failed - Subscription created - Subscription creation failed - Subscription paused - Subscription resumed - Subscription cancelled - Subscription finished - Mandate cancelled - Mandate expired - Mandate replaced - Mandate transferred authorization_reference: description: >- Authorization reference ID provided by a service provider maintained under payment authorizations for an investor type: string example: MD000VDMMYGD0T contribution_reference: description: >- Contribution reference ID provided by a service provider maintained under payment authorizations for an investor type: string example: SB000A6A5EVJHE customer_reference: description: >- Customer reference ID provided by a service provider maintained under payment authorizations for an investor type: string example: CU000Y5VVH7TDQ request_id: description: >- Request ID used to create a contribution with the service provider type: string example: BRQ0004CZJA19GF reason: description: Reason for disabling/cancelling the contribution type: string example: Paid out authorization_url: description: >- Authorization URL sent by service provider to setup customer reference data and bank account information type: string example: https://authexample.gocardless-sandbox.com status: type: string example: Active enum: - Pending - Active - Finished - Rejected - Paused - Cancelled next_payment_dates: type: array example: - '2023-04-16' - '2023-04-30' items: type: string format: date created_at: type: string format: date-time updated_at: type: string format: date-time RecurringContributionsResumeContribution400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object RecurringContributionsResumeContribution401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringContributionsResumeContribution403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringContributionsResumeContribution429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringContributionsResumeContribution500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringContributionsCancelRecurringPaymentResponse: required: - contribution_id - contribution_name - pot_id - financial_product_id - investor_id - amount - sub_transaction_type - currency - payment_type - service_provider - purpose - payment_schedule - service_provider_params - status - created_at - updated_at properties: contribution_id: description: System generated unique id type: string example: RCB-GC-AB24DE7 contribution_name: description: User given identifier for the contribution type: string maxLength: 100 example: Contributions to SIPP pot_id: description: Pot ID of investor to direct the payment type: string example: pot-UKW34528503 financial_product_id: description: Financial Product Id type: string example: sipp_accumulation investor_id: description: >- Investor ID of the investor making the contribution. For a joint pot, Investor ID of the party making contribution should be included. type: string example: inv-XUT11265 amount: description: >- Amount as a numeral string with two decimal points. (ex: 1500.00). Should be greater than or equal to the minimum investment for the financial product. type: string example: '100.00' sub_transaction_type: description: >- Sub transaction type for recurring contribution. Regular contribution - non relievable is only allowed for pots linked to SIPP Accumulation product type type: string example: Regular contribution - Employer enum: - Regular contribution - Regular contribution - non relievable - Regular contribution - Employer currency: description: Must be a currency configured for the Pot type: string example: GBP payment_type: description: Type of payment type: string example: direct_debit enum: - direct_debit service_provider: description: Service provider managing the recurring payment subscription type: string example: gocardless enum: - gocardless purpose: description: >- invest option is allowed only if investment_instructions given or a portfolio is attached, if not the purpose should be cash. type: string example: invest enum: - cash - invest investment_instructions: description: >- Mandatory only if purpose:"invest" and pot does not have a portfolio template attached (e.g. An execution-only or direct-to-consumer wealth manager). type: array items: required: - investment_product_id properties: investment_product_id: type: string quantity: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 332.34, 1050.0025). For `funds`, upto 4 decimal places. For `equities`, `bonds` and `etf`, 0 decimal places allowed. type: string value: description: >- Require if `quantity` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string example: - investment_product_id: isa_1223931892 quantity: '300' - investment_product_id: isa_9913091898 quantity: '500' source_id: description: >- Only for payments intents for employer contributions made towards SIPP Accumulation Products type: string example: cem-ASP43560 payment_schedule: description: Parameters based on payment schedule type: object required: - interval_unit - interval - start_date properties: interval_unit: description: Repeating interval unit of recurring payment type: string enum: - monthly interval: description: >- Repeating interval of recurring payment. For monthly, should be 1-12 type: integer date: description: >- Date the payment is expected to be triggered if frequency is monthly. 1-28 or -1 to indicate the last day of the month type: integer start_date: description: >- Date to initiate the recurring payments. If approvals haven't been received by the given start date, the start date will be moved to the subscription activation date. Should be in YYYY-MM-DD format type: string format: date end_date: description: >- Date to conclude the recurring payments, if count is not provided. Should be in YYYY-MM-DD format type: string format: date count: description: >- No of recurring payments to trigger before concluding the payments, if an end date is not provided type: integer example: interval_unit: monthly interval: 2 date: 1 start_date: '2023-04-02' end_date: '2023-11-02' service_provider_params: type: object required: - status properties: status: description: Status transitions depend on the service provider type: string example: Subscription created enum: - Pending service provider setup - Customer data collection completed - Customer data created - Customer data creation failed - Authorization received - Authorization failed - Subscription created - Subscription creation failed - Subscription paused - Subscription resumed - Subscription cancelled - Subscription finished - Mandate cancelled - Mandate expired - Mandate replaced - Mandate transferred authorization_reference: description: >- Authorization reference ID provided by a service provider maintained under payment authorizations for an investor type: string example: MD000VDMMYGD0T contribution_reference: description: >- Contribution reference ID provided by a service provider maintained under payment authorizations for an investor type: string example: SB000A6A5EVJHE customer_reference: description: >- Customer reference ID provided by a service provider maintained under payment authorizations for an investor type: string example: CU000Y5VVH7TDQ request_id: description: >- Request ID used to create a contribution with the service provider type: string example: BRQ0004CZJA19GF reason: description: Reason for disabling/cancelling the contribution type: string example: Paid out authorization_url: description: >- Authorization URL sent by service provider to setup customer reference data and bank account information type: string example: https://authexample.gocardless-sandbox.com status: type: string example: Active enum: - Pending - Active - Finished - Rejected - Paused - Cancelled next_payment_dates: type: array example: - '2023-04-16' - '2023-04-30' items: type: string format: date created_at: type: string format: date-time updated_at: type: string format: date-time RecurringContributionsCancelRecurringPayment400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object RecurringContributionsCancelRecurringPayment401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringContributionsCancelRecurringPayment403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringContributionsCancelRecurringPayment429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringContributionsCancelRecurringPayment500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ProjectionsCalculatePensionProjectionResponse: allOf: - type: object required: - name - date_of_birth - intended_retirement_age - current_pension_value - growth_rate properties: name: description: Name of the investor type: string maxLength: 100 example: David Brown date_of_birth: description: Should be today or an earlier date type: string format: date example: '1963-07-19' intended_retirement_age: description: At most should be 100. Should be greater than current age type: integer example: 60 current_pension_value: description: >- Current value of the pension pot. Can contain up to 2 decimal points type: number example: 1000 growth_rate: description: >- Annual growth rate of the pot. Can contain up to 2 decimal points type: number example: 2.5 recurring_contributions: type: array items: required: - frequency - amount properties: frequency: description: frequency can have values `Monthly` type: string enum: - Monthly amount: description: The amount can have upto 2 decimal points type: number example: frequency: Monthly amount: 600 one_off_payment: description: >- One-off payments are added to the initial value as tax relievable. Can contain up to 2 decimal points type: number example: 500 transfer_in: description: >- Transfer-ins are added to the initial value as tax relievable. Can contain up to 2 decimal points type: number example: 500 fees: type: array items: required: - fee_type - frequency - amount properties: fee_type: description: Type of the fee type: string frequency: description: frequency can have values `Monthly` type: string enum: - Monthly amount: description: The amount can have upto 2 decimal points type: number example: fee_type: Management fee frequency: Monthly amount: 600 projection_coverage_years: description: >- Projection is given for the requested coverage years and the retirement year. If not given, projection is given for 1st, 3rd, 5th and retirement year. Can contains positive integers less than 100 type: array example: - 5 items: description: >- WARNING: Missing items property in array schema. Missing items property has been filled with this AnyType schema. - type: object required: - pension_projections - inflation_rate properties: pension_projections: description: Projection of the pension coverage years type: array readOnly: true items: required: - coverage_year - date - value properties: coverage_year: description: Given coverage year type: integer date: description: Date that indicate last date of coverage year type: string value: description: Value of the pot type: number example: coverage_year: 5 date: '2028-05-09' value: 1167.682 inflation_rate: description: Inflation rate considered for calculations type: number example: 2 ProjectionsCalculatePensionProjection400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object ProjectionsCalculatePensionProjection401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ProjectionsCalculatePensionProjection403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ProjectionsCalculatePensionProjection404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ProjectionsCalculatePensionProjection429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ProjectionsCalculatePensionProjection500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string SippCrystallisationGetAllRequestsResponse: required: - crystallisations - next_page_available type: object properties: crystallisations: type: array items: required: - crystallisation_id - investor_id - bank_account_id - crystallisation_instructions - drawdown_instructions - status - created_at - updated_at properties: crystallisation_id: description: System generated unique id type: string example: SIPPCR-AB24DE7 investor_id: description: Investor ID of the investor making the crystallisation type: string example: inv-XUT11265 bank_account_id: description: Bank account ID of Investor type: string example: ba-bc00c28f-b3fc-42b7 crystallisation_instructions: description: Crystallisation instructions type: array items: required: - pot_id properties: pot_id: description: >- SIPP Accumulation pot from which funds should be crystalised type: string percentage: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 15.34). type: string value: description: >- Require if `percentage` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string example: - pot_id: pot-GYQ5423100 value: '1000' drawdown_instructions: description: Drawdown instructions type: array items: required: - pot_id - purpose - percentage properties: pot_id: description: >- SIPP Flexi Access Drawdown pot to which funds should be allocated after PCLS withdrawals type: string purpose: description: >- invest option is allowed only if investment_instructions given or a portfolio is attached, if not the purpose should be cash. type: string enum: - cash - invest value: description: >- Percentage of funds remaining after PCLS withdrawal from each accumulation pot, to be allocated to this pot ID type: string example: - pot_id: pot-XWL3855774 purpose: cash percentage: '30' - pot_id: pot-SDQ5009730 purpose: invest percentage: '70' reason: description: Reason if the request was not completed successfully type: string example: Free cash not available status: description: Status of crystallisation request type: string enum: - Accepted - Partially completed - Completed - Rejected - Failed allocation_details: description: Allocation Details type: array items: required: - accumulation_pot_id - crystallisation_amount - pcls_amount - drawdown_amount - drawdown_allocation properties: accumulation_pot_id: description: SIPP Accumulation pot from which funds are crystalised type: string example: pot-GYQ5423100 crystallisation_amount: type: string example: '1000' pcls_amount: description: Tax free amount paid to the investors bank account type: string example: '250' drawdown_amount: description: Amount that will be distributed among the drawdown pots type: string example: '750' drawdown_allocation: description: Drawdown allocation type: array items: required: - pot_id - amount properties: pot_id: description: >- SIPP Flexi Access Drawdown pot to which funds should be allocated after PCLS withdrawals from the crystallisation pot type: string amount: description: Amount transferred from the crystallisation pot type: string example: - pot_id: pot-XWL3855774 amount: '225' - pot_id: pot-SDQ5009730 amount: '525' investor_drawdown_statistics: description: Investor Drawdown Statistics type: object required: - total_crystallisation_amount - total_drawdown_amount - pcls_allowance_utilized - pcls_allowance_remaining properties: total_crystallisation_amount: description: >- Total amount crystalized from the investors accumulation pots across years type: string total_drawdown_amount: description: >- Total amount transferred to investors drawdown pots across years type: string pcls_allowance_utilized: description: Total PCLS allowance utilized by investor across years type: string pcls_allowance_remaining: description: Total PCLS allowance remaining for investor across years type: string example: total_crystallisation_amount: '7000' total_drawdown_amount: '5250' pcls_allowance_utilized: '1750' pcls_allowance_remaining: '266525' created_at: type: string format: date-time updated_at: type: string format: date-time next_page_available: description: This indicates the availability of the next page type: boolean readOnly: true SippCrystallisationGetAllRequests400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object SippCrystallisationGetAllRequests401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string SippCrystallisationGetAllRequests403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string SippCrystallisationGetAllRequests404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string SippCrystallisationGetAllRequests429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string SippCrystallisationGetAllRequests500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string SippCrystallisationCreateRequestResponse: type: object properties: {} example: {} SippCrystallisationCreateRequest400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object SippCrystallisationCreateRequest401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string SippCrystallisationCreateRequest403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string SippCrystallisationCreateRequest404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string SippCrystallisationCreateRequest429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string SippCrystallisationCreateRequest500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ProjectionsCalculatePensionDrawdownResponse: allOf: - type: object required: - name - date_of_birth - current_pension_value - growth_rate properties: name: description: Name of the investor type: string maxLength: 100 example: David Brown date_of_birth: description: Should be today or an earlier date type: string format: date example: '1963-07-19' current_pension_value: description: >- Current value of the pension pot. Can contain up to 2 decimal points type: number example: 1000 growth_rate: description: >- Annual growth rate of the pot. Can contain up to 2 decimal points type: number example: 2.5 recurring_contributions: type: array items: required: - frequency - amount properties: frequency: description: frequency can have values `Monthly` type: string enum: - Monthly amount: description: The amount can have upto 2 decimal points type: number example: frequency: Monthly amount: 600 one_off_payment: description: >- One-off payments are added to the initial value as tax relievable. Can contain up to 2 decimal points type: number example: 500 transfer_in: description: >- Transfer-ins are added to the initial value as tax relievable. Can contain up to 2 decimal points type: number example: 500 fees: type: array items: required: - fee_type - frequency - amount properties: fee_type: description: Type of the fee type: string frequency: description: frequency can have values `Monthly` type: string enum: - Monthly amount: description: The amount can have upto 2 decimal points type: number example: fee_type: Management fee frequency: Monthly amount: 600 one_off_withdrawal: description: >- One-off withdrawals are deducted from the initial value. Can contain up to 2 decimal points type: number example: 500 recurring_withdrawals: type: array items: required: - frequency - amount properties: frequency: description: frequency can have values `Monthly` type: string enum: - Monthly amount: description: The amount can have upto 2 decimal points type: number example: frequency: Monthly amount: 600 projection_coverage_years: description: >- Projection is given for the requested coverage years. If not given, projection is given for 5th and 10th years. Can contain positive integers less than 100 type: array example: - 5 items: description: >- WARNING: Missing items property in array schema. Missing items property has been filled with this AnyType schema. - type: object required: - pension_projections - age_pension_runout - inflation_rate properties: age_pension_runout: description: >- Investor age where the pension fund goes to zero. The response will be a string (The pension will last beyond the 100th year) if not going to zero before 100 years of age type: number example: 60 pension_projections: description: Projection of the pension coverage years type: array readOnly: true items: required: - coverage_year - date - value properties: coverage_year: description: Given coverage year type: integer date: description: Date that indicate last date of coverage year type: string value: description: Value of the pot type: number example: coverage_year: 5 date: '2028-05-09' value: 1167.682 inflation_rate: description: Inflation rate considered for calculations type: number example: 2 ProjectionsCalculatePensionDrawdown400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object ProjectionsCalculatePensionDrawdown401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ProjectionsCalculatePensionDrawdown403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ProjectionsCalculatePensionDrawdown404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ProjectionsCalculatePensionDrawdown429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string ProjectionsCalculatePensionDrawdown500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsGetAllTaxCodesResponse: description: Array of tax codes required: - tax_codes - next_page_available type: object properties: tax_codes: type: array items: title: Root Type for Tax code description: JSON for the Tax code resource type required: - investor_id - tax_code - effective_date - origin - created_at - updated_at properties: investor_id: description: Investor Id of the tax code type: string example: inv-XUT11265 tax_code: description: Tax code of the Investor type: string example: 1080L effective_date: description: Effective day of the tax code type: string format: date-time example: '2023-04-06' end_date: description: End date of the tax code type: string format: date-time example: '2024-04-05' origin: description: Origin of the tax code type: string enum: - External API created_at: type: string format: date-time readOnly: true example: '2023-02-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2023-02-10T07:36:05.884Z' next_page_available: description: This indicates the availability of the next page type: boolean readOnly: true InvestorsGetAllTaxCodes400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object InvestorsGetAllTaxCodes401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsGetAllTaxCodes403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsGetAllTaxCodes429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string InvestorsGetAllTaxCodes500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringWithdrawalsListAllResponse: required: - recurring_withdrawals - next_page_available type: object properties: recurring_withdrawals: type: array items: required: - withdrawal_id - withdrawal_name - pot_id - investor_id - bank_account_id - amount - currency - withdrawal_schedule - status - created_at - updated_at - reference_version properties: withdrawal_id: description: System generated unique id type: string example: RCW-AB24DE7 withdrawal_name: description: User given identifier for the withdrawal type: string maxLength: 100 example: Withdrawals to SIPP investor_id: description: >- Investor ID of the investor making the withdrawal. For a joint pot, Investor ID of the party requesting the withdrawal should be included. type: string example: inv-AUX11265 pot_id: description: Pot ID of investor type: string example: pot-GYQ5423100 bank_account_id: description: >- Bank account ID of the investor where the withdrawn cash will go to type: string example: ba-92yu982d-at6u-4242-9856-83 amount: description: Withdrawal amount. type: string example: '100.00' currency: description: Must be a currency configured for the Pot type: string example: GBP withdrawal_schedule: description: Parameters based on withdrawal schedule type: object required: - interval_unit - interval - start_date properties: interval_unit: description: Repeating interval unit of recurring withdrawal type: string enum: - monthly interval: description: >- Repeating interval of recurring withdrawal. For monthly, should be 1-12 type: integer date: description: >- Date the withdrawal is expected to be triggered if frequency is monthly. 1-28 or -1 to indicate the last day of the month is accepted. type: integer start_date: description: >- Date to initiate the recurring withdrawals. Should be in YYYY-MM-DD format. type: string format: date-time end_date: description: >- Date to conclude the recurring withdrawals. Should be in YYYY-MM-DD format. type: string format: date-time example: interval_unit: monthly interval: 2 date: 1 start_date: '2023-04-02' end_date: '2023-11-02' status: type: string example: active enum: - active - cancelled next_withdrawal_date: type: string format: date-time example: '2023-05-01T00:00:00.000Z' created_at: type: string format: date-time example: '2023-04-04T15:12:30.000Z' updated_at: type: string format: date-time example: '2023-04-04T15:12:30.000Z' reference_version: type: number example: 1 next_page_available: description: This indicates the availability of the next page type: boolean readOnly: true RecurringWithdrawalsListAll400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object RecurringWithdrawalsListAll401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringWithdrawalsListAll403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringWithdrawalsListAll404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringWithdrawalsListAll429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringWithdrawalsListAll500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringWithdrawalsCreateNewWithdrawalResponse: required: - withdrawal_id - withdrawal_name - pot_id - investor_id - bank_account_id - amount - currency - withdrawal_schedule - status - created_at - updated_at - reference_version properties: withdrawal_id: description: System generated unique id type: string example: RCW-AB24DE7 withdrawal_name: description: User given identifier for the withdrawal type: string maxLength: 100 example: Withdrawals to SIPP investor_id: description: >- Investor ID of the investor making the withdrawal. For a joint pot, Investor ID of the party requesting the withdrawal should be included. type: string example: inv-AUX11265 pot_id: description: Pot ID of investor type: string example: pot-GYQ5423100 bank_account_id: description: Bank account ID of the investor where the withdrawn cash will go to type: string example: ba-92yu982d-at6u-4242-9856-83 amount: description: Withdrawal amount. type: string example: '100.00' currency: description: Must be a currency configured for the Pot type: string example: GBP withdrawal_schedule: description: Parameters based on withdrawal schedule type: object required: - interval_unit - interval - start_date properties: interval_unit: description: Repeating interval unit of recurring withdrawal type: string enum: - monthly interval: description: >- Repeating interval of recurring withdrawal. For monthly, should be 1-12 type: integer date: description: >- Date the withdrawal is expected to be triggered if frequency is monthly. 1-28 or -1 to indicate the last day of the month is accepted. type: integer start_date: description: >- Date to initiate the recurring withdrawals. Should be in YYYY-MM-DD format. type: string format: date-time end_date: description: >- Date to conclude the recurring withdrawals. Should be in YYYY-MM-DD format. type: string format: date-time example: interval_unit: monthly interval: 2 date: 1 start_date: '2023-04-02' end_date: '2023-11-02' status: type: string example: active enum: - active - cancelled next_withdrawal_date: type: string format: date-time example: '2023-05-01T00:00:00.000Z' created_at: type: string format: date-time example: '2023-04-04T15:12:30.000Z' updated_at: type: string format: date-time example: '2023-04-04T15:12:30.000Z' reference_version: type: number example: 1 RecurringWithdrawalsCreateNewWithdrawal400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object RecurringWithdrawalsCreateNewWithdrawal401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringWithdrawalsCreateNewWithdrawal403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringWithdrawalsCreateNewWithdrawal429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringWithdrawalsCreateNewWithdrawal500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringWithdrawalsUpdateActiveWithdrawalResponse: required: - withdrawal_id - withdrawal_name - pot_id - investor_id - bank_account_id - amount - currency - withdrawal_schedule - status - created_at - updated_at - reference_version properties: withdrawal_id: description: System generated unique id type: string example: RCW-AB24DE7 withdrawal_name: description: User given identifier for the withdrawal type: string maxLength: 100 example: Withdrawals to SIPP investor_id: description: >- Investor ID of the investor making the withdrawal. For a joint pot, Investor ID of the party requesting the withdrawal should be included. type: string example: inv-AUX11265 pot_id: description: Pot ID of investor type: string example: pot-GYQ5423100 bank_account_id: description: Bank account ID of the investor where the withdrawn cash will go to type: string example: ba-92yu982d-at6u-4242-9856-83 amount: description: Withdrawal amount. type: string example: '100.00' currency: description: Must be a currency configured for the Pot type: string example: GBP withdrawal_schedule: description: Parameters based on withdrawal schedule type: object required: - interval_unit - interval - start_date properties: interval_unit: description: Repeating interval unit of recurring withdrawal type: string enum: - monthly interval: description: >- Repeating interval of recurring withdrawal. For monthly, should be 1-12 type: integer date: description: >- Date the withdrawal is expected to be triggered if frequency is monthly. 1-28 or -1 to indicate the last day of the month is accepted. type: integer start_date: description: >- Date to initiate the recurring withdrawals. Should be in YYYY-MM-DD format. type: string format: date-time end_date: description: >- Date to conclude the recurring withdrawals. Should be in YYYY-MM-DD format. type: string format: date-time example: interval_unit: monthly interval: 2 date: 1 start_date: '2023-04-02' end_date: '2023-11-02' status: type: string example: active enum: - active - cancelled next_withdrawal_date: type: string format: date-time example: '2023-05-01T00:00:00.000Z' created_at: type: string format: date-time example: '2023-04-04T15:12:30.000Z' updated_at: type: string format: date-time example: '2023-04-04T15:12:30.000Z' reference_version: type: number example: 1 RecurringWithdrawalsUpdateActiveWithdrawal400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object RecurringWithdrawalsUpdateActiveWithdrawal401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringWithdrawalsUpdateActiveWithdrawal403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringWithdrawalsUpdateActiveWithdrawal404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringWithdrawalsUpdateActiveWithdrawal429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringWithdrawalsUpdateActiveWithdrawal500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringWithdrawalsCancelRecurringWithdrawalResponse: required: - withdrawal_id - withdrawal_name - pot_id - investor_id - bank_account_id - amount - currency - withdrawal_schedule - status - created_at - updated_at - reference_version properties: withdrawal_id: description: System generated unique id type: string example: RCW-AB24DE7 withdrawal_name: description: User given identifier for the withdrawal type: string maxLength: 100 example: Withdrawals to SIPP investor_id: description: >- Investor ID of the investor making the withdrawal. For a joint pot, Investor ID of the party requesting the withdrawal should be included. type: string example: inv-AUX11265 pot_id: description: Pot ID of investor type: string example: pot-GYQ5423100 bank_account_id: description: Bank account ID of the investor where the withdrawn cash will go to type: string example: ba-92yu982d-at6u-4242-9856-83 amount: description: Withdrawal amount. type: string example: '100.00' currency: description: Must be a currency configured for the Pot type: string example: GBP withdrawal_schedule: description: Parameters based on withdrawal schedule type: object required: - interval_unit - interval - start_date properties: interval_unit: description: Repeating interval unit of recurring withdrawal type: string enum: - monthly interval: description: >- Repeating interval of recurring withdrawal. For monthly, should be 1-12 type: integer date: description: >- Date the withdrawal is expected to be triggered if frequency is monthly. 1-28 or -1 to indicate the last day of the month is accepted. type: integer start_date: description: >- Date to initiate the recurring withdrawals. Should be in YYYY-MM-DD format. type: string format: date-time end_date: description: >- Date to conclude the recurring withdrawals. Should be in YYYY-MM-DD format. type: string format: date-time example: interval_unit: monthly interval: 2 date: 1 start_date: '2023-04-02' end_date: '2023-11-02' status: type: string example: active enum: - active - cancelled next_withdrawal_date: type: string format: date-time example: '2023-05-01T00:00:00.000Z' created_at: type: string format: date-time example: '2023-04-04T15:12:30.000Z' updated_at: type: string format: date-time example: '2023-04-04T15:12:30.000Z' reference_version: type: number example: 1 RecurringWithdrawalsCancelRecurringWithdrawal400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object RecurringWithdrawalsCancelRecurringWithdrawal401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringWithdrawalsCancelRecurringWithdrawal403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringWithdrawalsCancelRecurringWithdrawal429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string RecurringWithdrawalsCancelRecurringWithdrawal500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WorkplaceEmployersGetAllEmployersResponse: required: - workplace_employers - next_page_available type: object properties: workplace_employers: type: array items: allOf: - type: object required: - name - registration_number - registered_address - correspondence_address - status properties: name: description: Name of the workplace employer type: string maxLength: 100 example: Romayo Ltd registration_number: description: >- Registration number of the workplace employer, this should be unique for employers. type: string example: '12345678' registered_address: description: Registered address of the workplace employer type: object properties: postal_code: type: string example: S2 2DF address_line: type: string example: '14' street_name: type: string example: Tottenham Court Road city: type: string example: London state: type: string example: England country: description: >- 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country correspondence_address: description: >- Address of designated location for receiving official communications type: object properties: postal_code: type: string example: A3 2CF address_line: type: string example: '17' street_name: type: string example: Flower Road city: type: string example: London state: type: string example: England country: description: >- 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country company_structure: description: Structure of the company. type: string enum: - LLC example: LLC contact_details: description: Contact details of an individual of the company. type: object properties: name: type: string maxLength: 100 example: Adam Clark email: type: string maxLength: 100 example: adamclark@gmail.com phone_number: type: string maxLength: 16 example: '+441234567890' kyb_aml_status: description: Know Your Business status of the company type: string enum: - submitted - kyb_failed_error - pending - clear - not_started default: not_started example: clear status: description: >- Status of the workplace employer. Only the employers with the kyb_aml_status as clear can be set to active. type: string enum: - active - inactive example: active - type: object required: - kyb_aml_status - workplace_employer_id - reference_version - created_at - updated_at properties: workplace_employer_id: description: Unique ID of a workplace employer type: string readOnly: true maxLength: 20 example: wem-AHY58878 reference_version: type: number example: 1 created_at: type: string format: date-time readOnly: true example: '2023-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2023-07-10T07:36:05.884Z' next_page_available: description: This indicates the availability of the next page type: boolean readOnly: true WorkplaceEmployersGetAllEmployers400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object WorkplaceEmployersGetAllEmployers401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WorkplaceEmployersGetAllEmployers403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WorkplaceEmployersGetAllEmployers404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WorkplaceEmployersGetAllEmployers429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WorkplaceEmployersGetAllEmployers500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WorkplaceEmployersCreateEmployerResponse: allOf: - type: object required: - name - registration_number - registered_address - correspondence_address - status properties: name: description: Name of the workplace employer type: string maxLength: 100 example: Romayo Ltd registration_number: description: >- Registration number of the workplace employer, this should be unique for employers. type: string example: '12345678' registered_address: description: Registered address of the workplace employer type: object properties: postal_code: type: string example: S2 2DF address_line: type: string example: '14' street_name: type: string example: Tottenham Court Road city: type: string example: London state: type: string example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country correspondence_address: description: >- Address of designated location for receiving official communications type: object properties: postal_code: type: string example: A3 2CF address_line: type: string example: '17' street_name: type: string example: Flower Road city: type: string example: London state: type: string example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country company_structure: description: Structure of the company. type: string enum: - LLC example: LLC contact_details: description: Contact details of an individual of the company. type: object properties: name: type: string maxLength: 100 example: Adam Clark email: type: string maxLength: 100 example: adamclark@gmail.com phone_number: type: string maxLength: 16 example: '+441234567890' kyb_aml_status: description: Know Your Business status of the company type: string enum: - submitted - kyb_failed_error - pending - clear - not_started default: not_started example: clear status: description: >- Status of the workplace employer. Only the employers with the kyb_aml_status as clear can be set to active. type: string enum: - active - inactive example: active - type: object required: - kyb_aml_status - workplace_employer_id - reference_version - created_at - updated_at properties: workplace_employer_id: description: Unique ID of a workplace employer type: string readOnly: true maxLength: 20 example: wem-AHY58878 reference_version: type: number example: 1 created_at: type: string format: date-time readOnly: true example: '2023-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2023-07-10T07:36:05.884Z' WorkplaceEmployersCreateEmployer400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object WorkplaceEmployersCreateEmployer401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WorkplaceEmployersCreateEmployer403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WorkplaceEmployersCreateEmployer404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WorkplaceEmployersCreateEmployer429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WorkplaceEmployersCreateEmployer500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WorkplaceEmployersGetDetailsResponse: allOf: - type: object required: - name - registration_number - registered_address - correspondence_address - status properties: name: description: Name of the workplace employer type: string maxLength: 100 example: Romayo Ltd registration_number: description: >- Registration number of the workplace employer, this should be unique for employers. type: string example: '12345678' registered_address: description: Registered address of the workplace employer type: object properties: postal_code: type: string example: S2 2DF address_line: type: string example: '14' street_name: type: string example: Tottenham Court Road city: type: string example: London state: type: string example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country correspondence_address: description: >- Address of designated location for receiving official communications type: object properties: postal_code: type: string example: A3 2CF address_line: type: string example: '17' street_name: type: string example: Flower Road city: type: string example: London state: type: string example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country company_structure: description: Structure of the company. type: string enum: - LLC example: LLC contact_details: description: Contact details of an individual of the company. type: object properties: name: type: string maxLength: 100 example: Adam Clark email: type: string maxLength: 100 example: adamclark@gmail.com phone_number: type: string maxLength: 16 example: '+441234567890' kyb_aml_status: description: Know Your Business status of the company type: string enum: - submitted - kyb_failed_error - pending - clear - not_started default: not_started example: clear status: description: >- Status of the workplace employer. Only the employers with the kyb_aml_status as clear can be set to active. type: string enum: - active - inactive example: active - type: object required: - kyb_aml_status - workplace_employer_id - reference_version - created_at - updated_at properties: workplace_employer_id: description: Unique ID of a workplace employer type: string readOnly: true maxLength: 20 example: wem-AHY58878 reference_version: type: number example: 1 created_at: type: string format: date-time readOnly: true example: '2023-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2023-07-10T07:36:05.884Z' WorkplaceEmployersGetDetails400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object WorkplaceEmployersGetDetails401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WorkplaceEmployersGetDetails403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WorkplaceEmployersGetDetails404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WorkplaceEmployersGetDetails429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WorkplaceEmployersGetDetails500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WorkplaceEmployersUpdateEmployerDetailsResponse: allOf: - type: object required: - name - registration_number - registered_address - correspondence_address - status properties: name: description: Name of the workplace employer type: string maxLength: 100 example: Romayo Ltd registration_number: description: >- Registration number of the workplace employer, this should be unique for employers. type: string example: '12345678' registered_address: description: Registered address of the workplace employer type: object properties: postal_code: type: string example: S2 2DF address_line: type: string example: '14' street_name: type: string example: Tottenham Court Road city: type: string example: London state: type: string example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country correspondence_address: description: >- Address of designated location for receiving official communications type: object properties: postal_code: type: string example: A3 2CF address_line: type: string example: '17' street_name: type: string example: Flower Road city: type: string example: London state: type: string example: England country: description: 3 character country code inline with ISO 3166-1 alpha-3 type: string minLength: 3 maxLength: 3 example: GBR required: - postal_code - country company_structure: description: Structure of the company. type: string enum: - LLC example: LLC contact_details: description: Contact details of an individual of the company. type: object properties: name: type: string maxLength: 100 example: Adam Clark email: type: string maxLength: 100 example: adamclark@gmail.com phone_number: type: string maxLength: 16 example: '+441234567890' kyb_aml_status: description: Know Your Business status of the company type: string enum: - submitted - kyb_failed_error - pending - clear - not_started default: not_started example: clear status: description: >- Status of the workplace employer. Only the employers with the kyb_aml_status as clear can be set to active. type: string enum: - active - inactive example: active - type: object required: - kyb_aml_status - workplace_employer_id - reference_version - created_at - updated_at properties: workplace_employer_id: description: Unique ID of a workplace employer type: string readOnly: true maxLength: 20 example: wem-AHY58878 reference_version: type: number example: 1 created_at: type: string format: date-time readOnly: true example: '2023-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2023-07-10T07:36:05.884Z' WorkplaceEmployersUpdateEmployerDetails400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object WorkplaceEmployersUpdateEmployerDetails401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WorkplaceEmployersUpdateEmployerDetails403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WorkplaceEmployersUpdateEmployerDetails404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WorkplaceEmployersUpdateEmployerDetails429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WorkplaceEmployersUpdateEmployerDetails500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WorkplaceEmployersGetAllInvestorsResponse: required: - workplace_employer_id - investors type: object properties: workplace_employer_id: description: Unique ID of the workplace employer type: string example: wem-AHY58878 investors: type: array items: type: object required: - investor_id - first_name - last_name - tax_id properties: title: type: string example: Mr investor_id: description: System generated unique ID of the investor type: string example: inv-XUT11265 first_name: type: string example: John last_name: type: string example: Doe tax_id: description: >- A unique identifier assigned to individuals and businesses by the tax authorities for tax purposes type: string example: AB123456C WorkplaceEmployersGetAllInvestors400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object WorkplaceEmployersGetAllInvestors401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WorkplaceEmployersGetAllInvestors403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WorkplaceEmployersGetAllInvestors404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WorkplaceEmployersGetAllInvestors429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WorkplaceEmployersGetAllInvestors500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PaymentsGetAllResponse: required: - payments - next_page_available type: object properties: pot_id: description: Pot Id type: string example: pot-UKW3452875 payments: type: array items: title: Root Type for Payments required: - amount - currency - status - pot_id - payment_type - transaction_id - service_provider - purpose - origin properties: transaction_id: type: string investor_id: type: array items: type: string amount: type: string currency: type: string pot_id: type: string payment_type: type: string enum: - card - electronic_fund_transfer - direct_debit service_provider: type: string enum: - stripe - truelayer - gocardless - none sub_transaction_type: description: Type of contribution type: string enum: - Lump sum - Lump sum - non relievable - Employer contribution - Regular contribution - Regular contribution - non relievable - Regular contribution - Employer source_id: description: >- Required only for payments intents for employer contributions made towards SIPP Accumulation Products type: string service_provider_params: description: >- Custom parameters based on prerequisites of the selected provider type: object properties: bank_account_id: description: >- Bank account ID of Investor (include if service_provider="truelayer") type: string payment_reference: description: Recurring payment reference type: string created_at: description: Recurring payment created date type: string format: date-time desrciption: description: Recurring payment description type: string service_provider_status: description: >- Recurring payment status transitions depend on the service provider type: string authorization_reference: description: >- Recurring payment authorization reference ID provided by a service provider maintained under payment authorizations for an investor type: string purpose: type: string enum: - cash - invest investment_instructions: description: >- mandatory only if purpose:"invest" and pot does not have a portfolio template attached (e.g. An execution-only or direct-to-consumer wealth manager) type: array nullable: true items: required: - investment_product_id properties: investment_product_id: type: string quantity: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 332.34, 1050.0025). For `funds`, upto 4 decimal places. For `equities`, `bonds` and `etf`, 0 decimal places allowed. type: string value: description: >- Require if `quantity` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string status: description: >- Status of the payment - `pending_confirmation`: Payment is pending approvals and confirmation - `processing`: Payment is confirmed, and being processed. Depending on the payment method, this may be instantaneous (e.g. card) or take multiple days (e.g. cheque) - `succeeded`: Payment is successful. Cash is cleaned in account. - `cancelled`: Payment cancelled, and any held funds have been returned. - `failed`: Payment failed due to insufficient funds, invalid card details, network issues etc. type: string enum: - pending_confirmation - processing - succeeded - cancelled - failed origin: description: Origin of the payment type: string enum: - api - admin_ui settlement_date: description: Required if origin is admin_ui type: string format: date-time contribution_id: description: >- Required only for payments intents which created through a recurring contribution type: string reason: description: >- This field populated only when payment intent status is failed or cancelled, with reason for cancellation or failure type: string payment_reference: type: string example: transaction_id: 75d65d2b-60c6-45ad-979d-0e3e403e6c7e investor_id: - inv-XUT11265 amount: '20000' currency: GBP status: pending_confirmation pot_id: pot-UKW3452875 payment_type: electronic_fund_transfer service_provider: truelayer sub_transaction_type: Lump sum purpose: cash next_page_available: description: This indicates the availability of the next page type: boolean readOnly: true PaymentsGetAll400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object PaymentsGetAll401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PaymentsGetAll403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PaymentsGetAll404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PaymentsGetAll429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PaymentsGetAll500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PaymentsCreatePaymentIntentResponse: required: - amount - currency - status - pot_id - payment_type - transaction_id - service_provider - purpose properties: transaction_id: type: string amount: type: string currency: type: string status: type: string enum: - pending_confirmation - processing - succeeded pot_id: type: string payment_type: type: string enum: - card - electronic_fund_transfer sub_transaction_type: description: Type of contribution. type: string enum: - Lump sum - Lump sum - non relievable - Employer contribution source_id: description: >- Only for payments intents for employer contributions made towards SIPP Accumulation Products type: string service_provider: type: string enum: - stripe - truelayer - none service_provider_params: description: Parameters based on prerequisites of the selected provider type: object properties: bank_account_id: description: >- Bank account ID of Investor (include if service_provider="truelayer") type: string hpp_url: description: >- URL for Hosted Payment Page (include if service_provider="truelayer") type: string payment_intent_id: description: >- Payment intent ID (include if service_provider="truelayer" or service_provider="stripe") type: string client_secret: description: Client secret (include if service_provider="stripe") type: string publishable_key: description: Publishable key (include if service_provider="stripe") type: string purpose: type: string enum: - cash - invest investment_instructions: description: >- mandatory only if purpose:"invest" and pot does not have a portfolio template attached (e.g. An execution-only or direct-to-consumer wealth manager) type: array items: required: - investment_product_id properties: investment_product_id: type: string quantity: description: >- Require if `value` is not available. Must be in correct pattern (eg: 25, 332.34, 1050.0025). For `funds`, upto 4 decimal places. For `equities`, `bonds` and `etf`, 0 decimal places allowed. type: string value: description: >- Require if `quantity` is not available. Must be in correct pattern (upto 2 decimal places, eg: 25, 332.3, 1050.25). type: string example: transaction_id: 5badc696-5591-485f-9d7f-428b9b8460c2 amount: '100.00' currency: GBP status: pending_confirmation pot_id: pot-UKW3452850 payment_type: electronic_fund_transfer service_provider: truelayer sub_transaction_type: Lump sum source_id: cem-ASP43560 service_provider_params: bank_account_id: ba-bc00c28f-b3fc-42b7 hpp_url: https://paymentexample.truelayer-sandbox.com/payments#example purpose: invest investment_instructions: - investment_product_id: isa_1223931892 quantity: '300' - investment_product_id: isa_9913091898 quantity: '500' PaymentsCreatePaymentIntent400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object PaymentsCreatePaymentIntent401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PaymentsCreatePaymentIntent403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PaymentsCreatePaymentIntent429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PaymentsCreatePaymentIntent500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PortfolioTemplatesGetAllTemplatesResponse: description: Array of all portfolio templates applicable to the investor required: - portfolio_templates type: object properties: portfolio_templates: type: array items: required: - portfolio_template_id - reference_version - portfolio_name - ratios - owner - created_at - updated_at properties: portfolio_template_id: description: system generated id type: string readOnly: true maxLength: 64 example: pft-c60c9472-6668-4f7a-aa69 portfolio_name: type: string minLength: 3 maxLength: 50 example: PFT5689 reference_version: type: integer readOnly: true example: 1 owner: type: string readOnly: true example: SYSTEM ratios: type: array items: required: - investment_product_id - ratio properties: investment_product_id: description: must be an investment product id or 'cash' type: string ratio: description: >- must be in correct pattern (eg: 25.00, 33.34, 50.25, 100.00) type: string example: - investment_product_id: ETF069GBP ratio: '60' - investment_product_id: BND058GBP ratio: '40' created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' PortfolioTemplatesGetAllTemplates401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PortfolioTemplatesGetAllTemplates403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PortfolioTemplatesGetAllTemplates404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PortfolioTemplatesGetAllTemplates429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PortfolioTemplatesGetAllTemplates500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PortfolioTemplatesCreateNewTemplateResponse: required: - portfolio_template_id - reference_version - portfolio_name - ratios - owner - created_at - updated_at properties: portfolio_template_id: description: system generated id type: string readOnly: true maxLength: 64 example: pft-c60c9472-6668-4f7a-aa69 portfolio_name: type: string minLength: 3 maxLength: 50 example: PFT5689 reference_version: type: integer readOnly: true example: 1 owner: type: string readOnly: true example: SYSTEM ratios: type: array items: required: - investment_product_id - ratio properties: investment_product_id: description: must be an investment product id or 'cash' type: string ratio: description: 'must be in correct pattern (eg: 25.00, 33.34, 50.25, 100.00)' type: string example: - investment_product_id: ETF069GBP ratio: '60' - investment_product_id: BND058GBP ratio: '40' created_at: type: string format: date-time readOnly: true example: '2020-07-08T07:36:05.884Z' updated_at: type: string format: date-time readOnly: true example: '2020-07-10T07:36:05.884Z' PortfolioTemplatesCreateNewTemplate400Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string status: description: Current status of the original request type: string enum: - PROCESSING - COMPLETE response: description: Stringified original response body if status is `COMPLETE` type: object PortfolioTemplatesCreateNewTemplate401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PortfolioTemplatesCreateNewTemplate403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PortfolioTemplatesCreateNewTemplate404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PortfolioTemplatesCreateNewTemplate429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string PortfolioTemplatesCreateNewTemplate500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string TransactionsGetAllResponse: required: - transactions - next_page_available properties: transactions: type: array readOnly: true items: required: - transaction_id - created_at - updated_at - primary_transaction_type - sub_transaction_type - investment_product_id - direction - type - sub_type - origin properties: parent_transaction_id: description: Unique identifier for the parent transaction type: string readOnly: true transaction_id: description: Unique identifier for the transaction type: string readOnly: true aggregated_transaction_id: description: >- Unique identifier for the aggregated transaction. Only applicable for Switch Buy, Switch Sell, Rebalance Buy, Rebalance Sell, Tax Relief and Bonus Claim transactions type: string readOnly: true external_transaction_reference: description: External Transaction Reference type: string readOnly: true created_at: description: Indicates the transaction creation date/time type: string readOnly: true updated_at: description: Indicates the last updated date/time of the transaction type: string readOnly: true primary_transaction_type: description: Primary transaction type type: string readOnly: true enum: - Fees - Buy - Sell - Transfers - Income - Tax - Contribution - Withdrawal - Corporate actions sub_transaction_type: description: Sub transaction type type: string readOnly: true enum: - Dividend Reinvestment - Interest Reinvestment - Reinvestment - Buy - Sell Cancel - Switch Buy - Sell - Buy Cancel - Switch Sell - Lump sum - Lump sum - non relievable - Employer contribution - Employee contribution - Regular contribution - Regular contribution - non relievable - Regular contribution - Employer - Payment in for fees - Internal Transfer - Cash In - Internal Transfer - Stock In - Internal Transfer - Cash Out - Internal Transfer - Stock Out - Stock Transfer In - Cash Transfer In - Stock Transfer Out - Cash Transfer Out - Commission - Ancillary fee - Management fee - Fee credit - Fee rebate - Advisor ongoing fee - One-off advisor fee - Commission rebate - Custody fees - Service fees - Product administration fees - Portfolio management fees - Platform fees - Dividends - Distributions - Interest - Other income - Takeovers, Mergers & Name Changes - Create - Takeovers, Mergers & Name Changes - Extinguish - Rights Expiry - Rights Exercise - Warrant Exercise - Fixed Income Maturity - Receive Capital - Fixed Income Maturity - Extinguish Bond Units - Fund Merger - Create New Fund Units - Fund Merger - Extinguish Old Fund Units - Rights Issue - Stock Dividend - Spin-Off - Warrant Issue - Stock Split - Fee Tax - Tax Relief - GST - HST - PST - QST - Withholding Tax - PAYE Tax - Non-resident Tax - Penalty - Contribution Refund - Income Withdrawal - Reversal - Withdrawal - Miscellaneous Corporate Action Exercise - PCLS Withdrawal - Withdrawal Charge investment_product_id: description: >- Investment product id of the transaction. Will be 'cash' for cash transaction type: string readOnly: true fee_origin_pot: description: (optional) Fee originated pot for the fee transactions type: string readOnly: true client_order_id: description: (optional) Order identifier assigned by the wealth manager type: string maxLength: 20 transaction_quantity: description: >- Quantity of the investment product transaction. Will be empty for the cash transactions type: string readOnly: true transaction_value: description: Value of the transaction. Up to 2 decimal values type: number readOnly: true execution_price: description: Executed price of the buy, sell transaction type: string readOnly: true trade_date: description: Date the transaction was effected type: string readOnly: true settlement_date: description: >- Intended settlement date of the pending transaction or actual the settled day of the transaction type: string readOnly: true currency: description: Currency of the transaction type: string readOnly: true direction: description: >- in = cash payment or pending buy transaction, out = cash out or pending sell transaction. type: string readOnly: true enum: - in - out type: description: State of the transaction type: string readOnly: true enum: - pending - archived sub_type: description: >- Sub state of the transaction. instructed, confirmed, priced sub_types applicable for pending state and rejected, cancelled, settled sub_types applicable for archived state type: string readOnly: true enum: - instructed - confirmed - priced - rejected - settled - cancelled - scheduled - failed external_status: description: Externel status of the transaction type: string readOnly: true enum: - Submitted to HMRC - Submission pending - HMRC submission failed - HMRC resubmission failed - HMRC update failed - Pending - Paid - Cancelled - Void - Due - Collected - Superseded - Successful - Failed additional_external_details: description: >- Additional external details of the transaction, This may be populated in reconciliation process type: object readOnly: true origin: description: Origin of the transaction type: string readOnly: true enum: - api - admin_ui - file_upload - system source_id: description: >- Required only for transactions created for payments intents - employer contributions for SIPP Accumulation Products type: string reason: description: >- This field populated only when status is failed or cancelled, with reason for cancellation or failure type: string withdrawal_charge_applicable: description: >- Mandatory for LISA financial products only. Flag to indicate if a withdrawal charge is applicable on the gross withdrawal amount type: boolean readOnly: true enum: - true - false withdrawal_charge: description: >- Applicable for LISA financial products only. Mandatory only if the withdrawal_charge_applicable = true. Value of the withdrawal charge applicable for the unauthorized withdrawal type: string example: transaction_id: 80784c92-8f9d-4150-b83c-dc6d217a8155 created_at: '2023-01-27T05:45:56.839Z' updated_at: '2023-01-27T05:45:56.839Z' primary_transaction_type: Contribution sub_transaction_type: Lump sum investment_product_id: cash transaction_value: '20000' settlement_date: '2023-01-27' currency: GBP direction: in type: archived sub_type: settled origin: api next_page_available: description: This indicates the availability of the next page type: boolean readOnly: true TransactionsGetAll400Response: type: object properties: {} example: {} TransactionsGetAll401Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string TransactionsGetAll403Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string TransactionsGetAll404Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string TransactionsGetAll429Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string TransactionsGetAll500Response: required: - message properties: error_code: description: Optional error code type: string message: description: Human readable description of the error type: string WithdrawalsCreateSingleWithdrawal201Response: title: Root Type for Withdrawal response description: JSON for the Withdrawal response required: - transaction_id - investment_product_id - transaction_value - pot_id - primary_transaction_type - sub_transaction_type - type - sub_type - currency - direction - created_at - updated_at - origin type: object properties: transaction_id: description: Unique ID of the withdrawal transaction type: string format: uuid investment_product_id: description: investment_product_id type: string transaction_value: description: Withdrawal amount upto 2 decimal places type: string pot_id: description: Pot ID type: string maxLength: 64 example: pot-SDQ5659730 primary_transaction_type: type: string readOnly: true enum: - Withdrawal sub_transaction_type: description: Withdrawal sub transaction type type: string example: Withdrawal enum: - Withdrawal - Income Withdrawal type: description: State of the transaction type: string readOnly: true enum: - pending - archived sub_type: description: >- Sub state of the transaction. The sub-states "scheduled", "instructed" and confirmed will be applicable under "pending" state, while the sub-state "rejected", "cancelled", "settled" under "archived" state type: string readOnly: true enum: - scheduled - instructed - confirmed - rejected - settled - cancelled currency: description: Currency of the Withdrawal type: string readOnly: true direction: description: >- in = cash payment or pending buy transaction, out= cash out or pending sell transaction. type: string readOnly: true enum: - in - out external_transaction_reference: description: External Transaction Reference type: string readOnly: true created_at: description: Will indicate the date where this record was created type: string readOnly: true updated_at: description: Will indicate the date where this record was last changed type: string readOnly: true trade_date: description: Date the transaction was effected type: string readOnly: true settlement_date: description: >- Intended settlement date of the pending transaction or actual the settled day of the transaction type: string readOnly: true origin: description: Origin of the transaction type: string readOnly: true enum: - api - admin_ui - file_upload - system tax_transaction_id: description: Unique ID of the tax transaction associated with the withdrawal type: string format: uuid net_transaction_value: description: Withdrawal amount after tax upto 2 decimal places type: string tax_payable_on_transaction: description: Tax payable for withdrawal upto 2 decimal places type: string total_withdrawals_ytd: description: >- Total withdrawal by investor made in the current tax year upto 2 decimal places type: string tax_free_allowance_ytd: description: >- Total tax free allowance utilized by investor in the current tax year upto 2 decimal places type: string additional_pay_ytd: description: >- Total additional pay added to by investor's withdrawal in the current tax year upto 2 decimal places. (Applicable for K Codes) type: string taxable_withdrawal_ytd: description: >- Taxable withdrawal amount for the current tax year. (tax_free_allowance_ytd deducted from total_withdrawals_ytd that was rounded to nearest pound.) type: string tax_payable_ytd: description: Tax payable upto 2 decimal places type: string tax_paid_ytd: description: Total tax paid in current tax year upto 2 decimal places type: string tax_unpaid_ytd: description: Unpaid tax in the current tax year upto 2 decimal places type: string tax_overpaid_ytd: description: Overpaid tax in the current tax year upto 2 decimal places type: string withdrawal_charge_applicable: description: >- Mandatory only if the financial product is LISA. Flag to indicate if a withdrawal charge is applicable on the gross withdrawal amount type: boolean readOnly: true enum: - true - false withdrawal_charge: description: >- Mandatory only if the withdrawal_charge_applicable = true. Value of the withdrawal charge applicable for the unauthorized withdrawal type: string securitySchemes: ApiPubKey: description: >- GUI/Publisable key of the Wealth Manager. Needed when GUI needs to communicate directly with WealthOS API in certain scenarios. This key has limited permissions & life span and can only access few defined APIs. Usually this is sent as part of the response from another REST API type: apiKey in: header name: Authorization ApiSecretKey: description: >- Secret key for the Wealth Manager BE, needed to communicate with WealthOS REST API. This Key must be a secret and must be securely held and ONLY be used by Wealth Manager BE system. type: apiKey in: header name: x-api-key WsSecretKey: description: >- Secret key for the Wealth Manager BE, used for WebSocket API. This is the same secret key of REST API, but sent as a query paramater for web socket connections type: apiKey in: query name: x-token