curl --request GET \
--url https://api.smokeball.com/bankaccounts \
--header 'Authorization: <api-key>' \
--header 'x-api-key: <api-key>'{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
},
"value": [
{
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
},
"id": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2",
"type": "Trust",
"status": 0,
"matter": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
},
"accountName": "John Smith",
"accountNumber": "10436489",
"bankName": "Commonwealth Bank",
"branchNumber": "062201",
"branchName": "Sydney",
"balance": 1000,
"contactBalances": [
{
"matter": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
},
"contact": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
},
"balance": 1000,
"protectedBalance": 1000,
"availableBalance": 1000
}
],
"matterBalances": [
{
"matter": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
},
"balance": 1000,
"protectedBalance": 1000,
"availableBalance": 1000,
"unpresentedChequesBalance": 0
}
]
}
]
}Returns a list of bank accounts.
curl --request GET \
--url https://api.smokeball.com/bankaccounts \
--header 'Authorization: <api-key>' \
--header 'x-api-key: <api-key>'{
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
},
"value": [
{
"href": "<string>",
"relation": "<string>",
"method": "GET",
"self": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
},
"id": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2",
"type": "Trust",
"status": 0,
"matter": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
},
"accountName": "John Smith",
"accountNumber": "10436489",
"bankName": "Commonwealth Bank",
"branchNumber": "062201",
"branchName": "Sydney",
"balance": 1000,
"contactBalances": [
{
"matter": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
},
"contact": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
},
"balance": 1000,
"protectedBalance": 1000,
"availableBalance": 1000
}
],
"matterBalances": [
{
"matter": {
"id": "<string>",
"href": "<string>",
"relation": "<string>",
"method": "GET"
},
"balance": 1000,
"protectedBalance": 1000,
"availableBalance": 1000,
"unpresentedChequesBalance": 0
}
]
}
]
}