{"_id":"585024d534b4a3190022948b","githubsync":"","parentDoc":null,"__v":0,"version":{"_id":"556dd000d0f4740d00380e00","project":"556dd000d0f4740d00380dfd","__v":14,"createdAt":"2015-06-02T15:47:12.583Z","releaseDate":"2015-06-02T15:47:12.583Z","categories":["556dd001d0f4740d00380e01","556e17023f11b01900a36978","556eff53fc3aa80d00e1aa67","557078cf910c090d00c43414","557078dc9ea7860d008b24ed","5571a533dbb3632100974aed","5571c4ed6d8908230061f39e","5575b9b10b81dc230069c981","5580706cbe698419008f2ca7","55a4117d53611017004387d4","58502492f744712700462b20","588279ccd63d450f00e1aa58","59e76819193831002803721e","5a6899886b88e400403c3ce5"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"user":"550e28af11e8d00d00b803f2","category":{"_id":"58502492f744712700462b20","project":"556dd000d0f4740d00380dfd","__v":0,"version":"556dd000d0f4740d00380e00","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2016-12-13T16:40:50.101Z","from_sync":false,"order":9,"slug":"webhooks","title":"Webhooks"},"project":"556dd000d0f4740d00380dfd","metadata":{"title":"","description":"","image":[]},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-12-13T16:41:57.279Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":true,"order":6,"body":"[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n\\\"applicationId\\\": 677,\\n\\\"clearingAccount\\\": null,\\n\\\"email\\\": \\\"test:::at:::example.com\\\",\\n\\\"type\\\": \\\"APPLICATION\\\",\\n\\\"action\\\": \\\"SUBMITTED\\\",\\n\\\"branchId\\\": 1\\n}\",\n      \"language\": \"json\",\n      \"name\": \"Application Submitted\"\n    }\n  ]\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n\\\"applicationId\\\": 677,\\n\\\"clearingAccount\\\": \\\"6YA00000\\\",\\n\\\"email\\\": \\\"test@example.com\\\",\\n\\\"type\\\": \\\"APPLICATION\\\",\\n\\\"action\\\": \\\"APPROVED\\\",\\n\\\"branchId\\\": 1\\n}\",\n      \"language\": \"json\",\n      \"name\": \"Application Approved\"\n    }\n  ]\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n\\\"applicationId\\\": 677,\\n\\\"clearingAccount\\\": null,\\n\\\"email\\\": \\\"test@example.com\\\",\\n\\\"type\\\": \\\"APPLICATION\\\",\\n\\\"action\\\": \\\"REJECTED\\\",\\n\\\"branchId\\\": 1\\n}\",\n      \"language\": \"json\",\n      \"name\": \"Application Rejected\"\n    }\n  ]\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n\\\"applicationId\\\": 677,\\n\\\"clearingAccount\\\": \\\"6YA00000\\\",\\n\\\"email\\\": \\\"test@example.com\\\",\\n\\\"type\\\": \\\"APPLICATION\\\",\\n\\\"action\\\": \\\"PENDING\\\",\\n\\\"branchId\\\": 1\\n}\",\n      \"language\": \"json\",\n      \"name\": \"Application Pending\"\n    }\n  ]\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n\\\"applicationId\\\": 677,\\n\\\"clearingAccount\\\": \\\"6YA00000\\\",\\n\\\"email\\\": \\\"test@example.com\\\",\\n\\\"type\\\": \\\"APPLICATION\\\",\\n\\\"action\\\": \\\"VERIFIED\\\",\\n\\\"branchId\\\": 1\\n}\",\n      \"language\": \"json\",\n      \"name\": \"Application Verified\"\n    }\n  ]\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n\\\"applicationId\\\": 677,\\n\\\"clearingAccount\\\": \\\"6YA00000\\\",\\n\\\"email\\\": \\\"test@example.com\\\",\\n\\\"type\\\": \\\"APPLICATION\\\",\\n\\\"action\\\": \\\"COMPLETED\\\",\\n\\\"branchId\\\": 1\\n}\",\n      \"language\": \"json\",\n      \"name\": \"Application Completed\"\n    }\n  ]\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n\\\"applicationId\\\": 677,\\n\\\"clearingAccount\\\": \\\"6YA00000\\\",\\n\\\"email\\\": \\\"test@example.com\\\",\\n\\\"type\\\": \\\"APPLICATION\\\",\\n\\\"action\\\": \\\"CANCELED\\\",\\n\\\"branchId\\\": 1\\n}\",\n      \"language\": \"json\",\n      \"name\": \"Application Canceled\"\n    }\n  ]\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{  \\n   \\\"applicationId\\\":123,\\n   \\\"clearingAccount\\\":\\\"6YA0000\\\",\\n   \\\"type\\\":\\\"APPLICATION\\\",\\n   \\\"action\\\":\\\"AUTHORIZED\\\",\\n   \\\"branchId\\\":1,\\n   \\\"email\\\":\\\"test@example.com\\\",\\n   \\\"accessToken\\\":\\\"8ZEY1RFSKJHDS29384tT4PAW4tsNfze\\\"\\n}\",\n      \"language\": \"json\",\n      \"name\": \"Application Authorized\"\n    }\n  ]\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{  \\n   \\\"applicationId\\\":123,\\n   \\\"type\\\":\\\"APPLICATION\\\",\\n   \\\"action\\\":\\\"VERIFICATION\\\",\\n   \\\"branchId\\\":1,\\n   \\\"email\\\":\\\"test@example.com\\\",\\n   \\\"verifications\\\":[  \\n      {  \\n         \\\"applicantId\\\":1,\\n         \\\"name\\\":\\\"George Washington\\\",\\n         \\\"address\\\":false,\\n         \\\"dob\\\":false,\\n         \\\"snn\\\":false\\n      }\\n   ]\\n}\",\n      \"language\": \"json\",\n      \"name\": \"Application Verification\"\n    }\n  ]\n}\n[/block]","excerpt":"Example application webhook payloads for the Tradier Brokerage API","slug":"example-payloads","type":"basic","title":"Application Payloads"}

Application Payloads

Example application webhook payloads for the Tradier Brokerage API

[block:code] { "codes": [ { "code": "{\n\"applicationId\": 677,\n\"clearingAccount\": null,\n\"email\": \"test@example.com\",\n\"type\": \"APPLICATION\",\n\"action\": \"SUBMITTED\",\n\"branchId\": 1\n}", "language": "json", "name": "Application Submitted" } ] } [/block] [block:code] { "codes": [ { "code": "{\n\"applicationId\": 677,\n\"clearingAccount\": \"6YA00000\",\n\"email\": \"test@example.com\",\n\"type\": \"APPLICATION\",\n\"action\": \"APPROVED\",\n\"branchId\": 1\n}", "language": "json", "name": "Application Approved" } ] } [/block] [block:code] { "codes": [ { "code": "{\n\"applicationId\": 677,\n\"clearingAccount\": null,\n\"email\": \"test@example.com\",\n\"type\": \"APPLICATION\",\n\"action\": \"REJECTED\",\n\"branchId\": 1\n}", "language": "json", "name": "Application Rejected" } ] } [/block] [block:code] { "codes": [ { "code": "{\n\"applicationId\": 677,\n\"clearingAccount\": \"6YA00000\",\n\"email\": \"test@example.com\",\n\"type\": \"APPLICATION\",\n\"action\": \"PENDING\",\n\"branchId\": 1\n}", "language": "json", "name": "Application Pending" } ] } [/block] [block:code] { "codes": [ { "code": "{\n\"applicationId\": 677,\n\"clearingAccount\": \"6YA00000\",\n\"email\": \"test@example.com\",\n\"type\": \"APPLICATION\",\n\"action\": \"VERIFIED\",\n\"branchId\": 1\n}", "language": "json", "name": "Application Verified" } ] } [/block] [block:code] { "codes": [ { "code": "{\n\"applicationId\": 677,\n\"clearingAccount\": \"6YA00000\",\n\"email\": \"test@example.com\",\n\"type\": \"APPLICATION\",\n\"action\": \"COMPLETED\",\n\"branchId\": 1\n}", "language": "json", "name": "Application Completed" } ] } [/block] [block:code] { "codes": [ { "code": "{\n\"applicationId\": 677,\n\"clearingAccount\": \"6YA00000\",\n\"email\": \"test@example.com\",\n\"type\": \"APPLICATION\",\n\"action\": \"CANCELED\",\n\"branchId\": 1\n}", "language": "json", "name": "Application Canceled" } ] } [/block] [block:code] { "codes": [ { "code": "{ \n \"applicationId\":123,\n \"clearingAccount\":\"6YA0000\",\n \"type\":\"APPLICATION\",\n \"action\":\"AUTHORIZED\",\n \"branchId\":1,\n \"email\":\"test@example.com\",\n \"accessToken\":\"8ZEY1RFSKJHDS29384tT4PAW4tsNfze\"\n}", "language": "json", "name": "Application Authorized" } ] } [/block] [block:code] { "codes": [ { "code": "{ \n \"applicationId\":123,\n \"type\":\"APPLICATION\",\n \"action\":\"VERIFICATION\",\n \"branchId\":1,\n \"email\":\"test@example.com\",\n \"verifications\":[ \n { \n \"applicantId\":1,\n \"name\":\"George Washington\",\n \"address\":false,\n \"dob\":false,\n \"snn\":false\n }\n ]\n}", "language": "json", "name": "Application Verification" } ] } [/block]