List linked bank accounts
/v1/linked_bank_accounts
Returns a list of bank accounts associated with a specific Straddle account. The linked bank accounts are returned sorted by creation date, with the most recently created appearing first. This endpoint supports pagination to handle accounts with multiple linked bank accounts.
Query Parameters
Header Parameters
"correlation-id": optional string
"request-id": optional string
Returns
List linked bank accounts
curl https://sandbox.straddle.com/v1/linked_bank_accounts \
-H "Authorization: Bearer $STRADDLE_API_KEY"
{
"data": [
{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"account_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"bank_account": {
"account_holder": "account_holder",
"account_mask": "account_mask",
"institution_name": "institution_name",
"routing_number": "routing_number"
},
"created_at": "2019-12-27T18:11:19.117Z",
"purposes": [
"charges"
],
"status": "created",
"status_detail": {
"code": "code",
"message": "message",
"reason": "unverified",
"source": "watchtower"
},
"updated_at": "2019-12-27T18:11:19.117Z",
"description": "description",
"metadata": {
"foo": "string"
},
"platform_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
}
],
"meta": {
"api_request_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"api_request_timestamp": "2019-12-27T18:11:19.117Z",
"max_page_size": 0,
"page_number": 0,
"page_size": 0,
"sort_by": "sort_by",
"sort_order": "asc",
"total_items": 0,
"total_pages": 0
},
"response_type": "object"
}Returns Examples
{
"data": [
{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"account_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"bank_account": {
"account_holder": "account_holder",
"account_mask": "account_mask",
"institution_name": "institution_name",
"routing_number": "routing_number"
},
"created_at": "2019-12-27T18:11:19.117Z",
"purposes": [
"charges"
],
"status": "created",
"status_detail": {
"code": "code",
"message": "message",
"reason": "unverified",
"source": "watchtower"
},
"updated_at": "2019-12-27T18:11:19.117Z",
"description": "description",
"metadata": {
"foo": "string"
},
"platform_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
}
],
"meta": {
"api_request_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"api_request_timestamp": "2019-12-27T18:11:19.117Z",
"max_page_size": 0,
"page_number": 0,
"page_size": 0,
"sort_by": "sort_by",
"sort_order": "asc",
"total_items": 0,
"total_pages": 0
},
"response_type": "object"
}