XS2A.api.accounts
Retrieve the list of all bank accounts for a specific bank connection
get/api/connections/{connection-id}/accounts
Path parameters
connection-idstring required
The ID of the connection
Query parameters
per_pageinteger
Items per page
pageinteger
Which page to display
Response
Request successfully processed
Example response
{
"total": 1,
"per_page": 15,
"current_page": 1,
"last_page": 1,
"next_page_url": "https://api.xs2a.com/v1/accounts?page=2",
"prev_page_url": "https://api.xs2a.com/v1/accounts?page=1",
"from": 1,
"to": 1,
"data": [
{
"id": "bac_c8KYwjexO2iO5AE9",
"bank_connection_id": "bcn_xxxxxxxxxxxxxxxx",
"holder": "MUSTERMANN, HARTMUT",
"iban": "DE62888888880012345678",
"description": "Girokonto",
"bic": "TESTDE88XXX",
"account_number": "1234567890",
"bank_code": "88888888",
"bank_name": "Testbank",
"country_id": "DE",
"type": "giro",
"transaction_possible": "1",
"created_at": "2018-03-16 11:14:58",
"object": "bank_account"
}
]
}Changes
No recorded changes to this endpoint across all 1 revision of this API.