{"_id":"57192dd9b69de417004784af","version":{"_id":"563cc7119799fb0d00047688","__v":18,"project":"563cc7119799fb0d00047685","createdAt":"2015-11-06T15:28:17.683Z","releaseDate":"2015-11-06T15:28:17.683Z","categories":["563cc7129799fb0d00047689","566f37f37ffa002300c3cd5b","56914e9bd47b020d002225ac","5692b19ffe72e00d00e4f0a8","56940bc2d8c04d1700e5adb6","56940bc83e9d080d00f064f0","56951b2dfcb1032d0089df7a","569522aecaa32519009c410c","569523ce562335190016da97","569523fddcaf0d1700cb86bf","56980e4a8560a60d00e2c3c3","569921a41693520d002e1305","5699323b7465970d00650b82","569e6cc4fbee990d0072d927","56a2768a0aefae0d00b7fe66","5862e862b8b7fa23009665b7","592835c7bc8bca0f000cc9ff","596f693df43cca002e690e1c"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Model T","version_clean":"1.0.0","version":"1"},"parentDoc":null,"project":"563cc7119799fb0d00047685","category":{"_id":"56a2768a0aefae0d00b7fe66","__v":3,"project":"563cc7119799fb0d00047685","version":"563cc7119799fb0d00047688","pages":["56a276d82029df19002b58e7","56aa9fdfae894f190059508d","56c34c68e1e4190d00342980"],"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-01-22T18:35:54.303Z","from_sync":false,"order":14,"slug":"funding","title":"Widgets"},"__v":3,"user":"563cc6fa8894d20d00014ea3","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-04-21T19:45:29.638Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"The disclosures widget allows you to link to or embed the necessary disclosures and disclaimers for end-users to open an account with DriveWealth. \n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"We provide a UAT environment for testing and integration purposes.\",\n  \"title\": \"UAT Environment\"\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"http://apps.drivewealth.io/disclosures/?citizenship=CHN&country=CHN&accountType=Individual&lang=zh_CN\",\n      \"language\": \"html\",\n      \"name\": \"UAT - Test Environment\"\n    },\n    {\n      \"code\": \"https://apps.drivewealth.com/disclosures/?citizenship=CHN&country=CHN&accountType=Individual&lang=zh_CN\",\n      \"language\": \"text\",\n      \"name\": \"Production\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Querystring Variables\"\n}\n[/block]\nBelow are query string variables required to view the disclosures.\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Attributes\",\n    \"h-1\": \"Description\",\n    \"h-2\": \"Required\",\n    \"0-0\": \"`referralCode`\",\n    \"1-0\": \"`citizenship`\",\n    \"2-0\": \"`country`\",\n    \"3-0\": \"`accountType`\",\n    \"0-1\": \"User's signup referral code\",\n    \"1-1\": \"User's country of citizenship<br />Follows the [ISO 3166-1 format](https://en.wikipedia.org/wiki/ISO_3166-1).\",\n    \"2-1\": \"User's residing country<br />Follows the [ISO 3166-1 format](https://en.wikipedia.org/wiki/ISO_3166-1).\",\n    \"3-1\": \"User's account type <br />**Options**:<br />&bull; `Individual`<br />&bull; `Joint`\",\n    \"3-2\": \"**Yes**\",\n    \"2-2\": \"**Yes**\",\n    \"1-2\": \"**Yes**\",\n    \"0-2\": \"**No**\",\n    \"4-0\": \"`lang`\",\n    \"4-1\": \"Language.<br />**Options**: <br />&bull; `\\\"en_US\\\"` - English (Default)<br />&bull; `\\\"zh_CN\\\"` - Chinese<br />&bull; `\\\"es_ES\\\"` - Spanish<br />&bull; `\\\"pt_BR\\\"` - Portuguese\",\n    \"4-2\": \"**Yes**\",\n    \"5-0\": \"`tradingType`\",\n    \"5-1\": \"Account Trading Type:<br />**Options**:<br />&bull; `\\\"c\\\"` - Cash (Default)<br />&bull; `\\\"m\\\"` - Margin\",\n    \"5-2\": \"**No**\",\n    \"6-0\": \"`showOnlyTaxDoc`\",\n    \"6-2\": \"**No**\",\n    \"6-1\": \"If true, shows only the W-8/W-9 agreement. If false, shows everything but the W-8/W-9 agreement.<br />**Options**: `false`\",\n    \"7-0\": \"`ria`\",\n    \"7-1\": \"**For RIAs only.** If RIA, the value should be your company's legal name.\",\n    \"7-2\": \"**No**\"\n  },\n  \"cols\": 3,\n  \"rows\": 8\n}\n[/block]","excerpt":"","slug":"disclosures-widget","type":"basic","title":"Disclosures Widget"}

Disclosures Widget


The disclosures widget allows you to link to or embed the necessary disclosures and disclaimers for end-users to open an account with DriveWealth. [block:callout] { "type": "info", "body": "We provide a UAT environment for testing and integration purposes.", "title": "UAT Environment" } [/block] [block:code] { "codes": [ { "code": "http://apps.drivewealth.io/disclosures/?citizenship=CHN&country=CHN&accountType=Individual&lang=zh_CN", "language": "html", "name": "UAT - Test Environment" }, { "code": "https://apps.drivewealth.com/disclosures/?citizenship=CHN&country=CHN&accountType=Individual&lang=zh_CN", "language": "text", "name": "Production" } ] } [/block] [block:api-header] { "type": "basic", "title": "Querystring Variables" } [/block] Below are query string variables required to view the disclosures. [block:parameters] { "data": { "h-0": "Attributes", "h-1": "Description", "h-2": "Required", "0-0": "`referralCode`", "1-0": "`citizenship`", "2-0": "`country`", "3-0": "`accountType`", "0-1": "User's signup referral code", "1-1": "User's country of citizenship<br />Follows the [ISO 3166-1 format](https://en.wikipedia.org/wiki/ISO_3166-1).", "2-1": "User's residing country<br />Follows the [ISO 3166-1 format](https://en.wikipedia.org/wiki/ISO_3166-1).", "3-1": "User's account type <br />**Options**:<br />&bull; `Individual`<br />&bull; `Joint`", "3-2": "**Yes**", "2-2": "**Yes**", "1-2": "**Yes**", "0-2": "**No**", "4-0": "`lang`", "4-1": "Language.<br />**Options**: <br />&bull; `\"en_US\"` - English (Default)<br />&bull; `\"zh_CN\"` - Chinese<br />&bull; `\"es_ES\"` - Spanish<br />&bull; `\"pt_BR\"` - Portuguese", "4-2": "**Yes**", "5-0": "`tradingType`", "5-1": "Account Trading Type:<br />**Options**:<br />&bull; `\"c\"` - Cash (Default)<br />&bull; `\"m\"` - Margin", "5-2": "**No**", "6-0": "`showOnlyTaxDoc`", "6-2": "**No**", "6-1": "If true, shows only the W-8/W-9 agreement. If false, shows everything but the W-8/W-9 agreement.<br />**Options**: `false`", "7-0": "`ria`", "7-1": "**For RIAs only.** If RIA, the value should be your company's legal name.", "7-2": "**No**" }, "cols": 3, "rows": 8 } [/block]