{"_id":"5b75bf88360ec900031151b3","project":"563cc7119799fb0d00047685","version":{"_id":"563cc7119799fb0d00047688","__v":20,"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","5b75bb897de08a00033661ac","5ba524c9d82bbc0003d451f3"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Model T","version_clean":"1.0.0","version":"1"},"category":{"_id":"5b75bb897de08a00033661ac","project":"563cc7119799fb0d00047685","version":"563cc7119799fb0d00047688","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2018-08-16T17:59:37.266Z","from_sync":false,"order":2,"slug":"bank-accounts","title":"Bank Accounts"},"user":"563cc6fa8894d20d00014ea3","__v":3,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2018-08-16T18:16:40.909Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"method":"get","examples":{"codes":[{"code":"GET /v1/users/97209cc8-8374-4ede-8842-53629390cd23/bank-accounts\nHost: api.drivewealth.io\nContent-Type: application/json\nAccept: application/json\nx-mysolomeo-session-key :sessionKey","language":"http"}]},"results":{"codes":[{"name":"","code":"[{\n  \"id\": \"bank_bcba1c66-51b2-494f-8553-b9e2e18b1123\",\n  \"userID\": \"97209cc8-8374-4ede-8842-53629390cd23\",\n  \"bankAccountDetails\": {\n    \"bankAccountNickname\": \"Bob's Checking\",\n    \"bankAccountNumber\": \"****2227\",\n    \"bankRoutingNumber\": \"110000000\"\n  },\n  \"default\": true,\n  \"status\": \"ACTIVE\",\n  \"created\": \"2018-05-29T16:32:11.478Z\",\n  \"updated\": \"2018-05-29T16:32:11.478Z\"\n}, {\n  \"id\": \"bank_3011755b-3ef9-42aa-b476-74642dfe1365\",\n  \"userID\": \"97209cc8-8374-4ede-8842-53629390cd23\",\n  \"bankAccountDetails\": {\n    \"bankAccountNickname\": \"Bob's 2nd Checking\",\n    \"bankAccountNumber\": \"****1123\",\n    \"bankRoutingNumber\": \"110000000\"\n  },\n  \"default\": false,\n  \"status\": \"DISABLED\",\n  \"created\": \"2018-05-29T16:32:11.478Z\",\n  \"updated\": \"2018-05-29T16:32:11.478Z\"\n}]","language":"json","status":200}]},"settings":"","auth":"required","params":[{"_id":"5b75bf88360ec900031151b4","ref":"","in":"path","required":true,"desc":"User ID","default":"","type":"string","name":"userID"}],"url":"/users/:userID/bank-accounts/"},"isReference":false,"order":2,"body":"[block:api-header]\n{\n  \"title\": \"Results Explained\"\n}\n[/block]\n\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Attribute\",\n    \"h-1\": \"Type\",\n    \"h-2\": \"Notes\",\n    \"0-0\": \"`id`\",\n    \"0-1\": \"string\",\n    \"0-2\": \"Bank account token\",\n    \"1-0\": \"`userID`\",\n    \"1-1\": \"string\",\n    \"1-2\": \"User ID\",\n    \"2-0\": \"`bankAccountDetails.bankAccountNickname`\",\n    \"2-1\": \"string\",\n    \"2-2\": \"Bank account nickname\",\n    \"3-0\": \"`bankAccountDetails.bankAccountNumber`\",\n    \"3-1\": \"string\",\n    \"3-2\": \"Bank account number\",\n    \"4-0\": \"`bankAccountDetails.bankRoutingNumber`\",\n    \"4-1\": \"string\",\n    \"4-2\": \"Bank account transit routing number\",\n    \"5-0\": \"`default`\",\n    \"5-1\": \"boolean\",\n    \"5-2\": \"User's default account is set to `true`\",\n    \"6-0\": \"`status`\",\n    \"6-1\": \"string\",\n    \"6-2\": \"Status of bank account. Options:\\n • `\\\"ACTIVE\\\"` — Can be used to deposit funds\\n • `\\\"DISABLED\\\"`— Cannot be used to deposit funds.\"\n  },\n  \"cols\": 3,\n  \"rows\": 7\n}\n[/block]","excerpt":"","slug":"list-all-users-bank-accounts","type":"endpoint","title":"List All User's Bank Accounts"}

getList All User's Bank Accounts


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

userID:
required
string
User ID

Examples


Result Format


Documentation

[block:api-header] { "title": "Results Explained" } [/block] [block:parameters] { "data": { "h-0": "Attribute", "h-1": "Type", "h-2": "Notes", "0-0": "`id`", "0-1": "string", "0-2": "Bank account token", "1-0": "`userID`", "1-1": "string", "1-2": "User ID", "2-0": "`bankAccountDetails.bankAccountNickname`", "2-1": "string", "2-2": "Bank account nickname", "3-0": "`bankAccountDetails.bankAccountNumber`", "3-1": "string", "3-2": "Bank account number", "4-0": "`bankAccountDetails.bankRoutingNumber`", "4-1": "string", "4-2": "Bank account transit routing number", "5-0": "`default`", "5-1": "boolean", "5-2": "User's default account is set to `true`", "6-0": "`status`", "6-1": "string", "6-2": "Status of bank account. Options:\n • `\"ACTIVE\"` — Can be used to deposit funds\n • `\"DISABLED\"`— Cannot be used to deposit funds." }, "cols": 3, "rows": 7 } [/block]