GET
/
bankaccounts
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": "<string>"
      },
      "id": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2",
      "accountType": 0,
      "accountName": "John Smith",
      "accountNumber": "10436489",
      "bankName": "Commonwealth Bank",
      "branchNumber": "062201",
      "branchName": "Sydney"
    }
  ]
}

Authorizations

x-api-key
string
header
required
Authorization
string
header
required

Response

200 - application/json

When request is successful. Returns a list of 'BankAccount' objects.

The response is of type object.