cURL
curl --request GET \ --url https://api.smokeball.com/bankaccounts/{id} \ --header 'Authorization: <api-key>' \ --header 'x-api-key: <api-key>'
{ "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" }
Retrieves a specified bank account.
When request is successful. Returns a 'BankAccount' object.
The response is of type object.
object