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",
"accountType": 0,
"accountName": "John Smith",
"accountNumber": "10436489",
"bankName": "Commonwealth Bank",
"branchNumber": "062201",
"branchName": "Sydney"
}
]
}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",
"accountType": 0,
"accountName": "John Smith",
"accountNumber": "10436489",
"bankName": "Commonwealth Bank",
"branchNumber": "062201",
"branchName": "Sydney"
}
]
}When request is successful. Returns a collection of 'BankAccount' objects.
Show child attributes
Unique identifier of the bank account.
"b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2"
The type of the bank account (Operating = 0, Trust = 1, Credit = 2, ControlledMoney = 3).
0, 1, 2, 3 0
Account Name.
"John Smith"
Account Number.
"10436489"
Bank Name.
"Commonwealth Bank"
Branch Number.
"062201"
Branch Name.
"Sydney"