GET
/accounts
curl \
--request GET 'https://bank.bank.place/accounts' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Workspace-ID: 42"
Response examples (200)
[
{
"alias": "string",
"code": "string",
"createdAt": "string",
"edges": {
"balances": [
{
"amount": 42,
"createdAt": "string",
"id": 42,
"updatedAt": "string"
}
],
"currency": {
"code": "string",
"createdAt": "string",
"decimals": 42,
"id": 42,
"name": "string",
"swiftMinimumWithdrawalAmount": "string",
"symbol": "string",
"updatedAt": "string"
},
"product": {
"createdAt": "string",
"description": "string",
"edges": {
"currency": {
"code": "string",
"createdAt": "string",
"decimals": 42,
"id": 42,
"name": "string",
"swiftMinimumWithdrawalAmount": "string",
"symbol": "string",
"updatedAt": "string"
}
},
"id": 42,
"name": "string",
"updatedAt": "string"
}
},
"id": 42,
"name": "string",
"status": "string",
"type": "string",
"updatedAt": "string"
}
]
Response examples (401)
{
"message": "Invalid request parameters",
"errorCode": "invalid_request"
}