List all accounts
Changed onGet a list of all accounts that the user has connected to your application.
ℹ️
The format for the returned account depends on the permissions you have!
For more details see:
- 📚 Accessing account data guide
- 📖 Account model
Request
- Base URLhttps://api.akahu.io/v1
- URLhttps://api.akahu.io/v1/accounts
- AuthHTTP bearer
Headers
Your App ID Token.
Response
Successful response.
Example response
{
"items": [
{
"_id": "acc_c01234567890123456789012345",
"_migrated": "acc_c01234567890123456789012344",
"_authorisation": "authorisation_c01234567890123456789012345",
"connection": {
"_id": "conn_cjgaac5at000001qi2yw8ftil",
"name": "My Bank",
"logo": "https://cdn.akahu.nz/logos/connections/conn_cjgaac5at000001qi2yw8ftil",
"connection_type": "official"
},
"name": "Demo Account",
"status": "ACTIVE",
"balance": {
"currency": "NZD",
"current": 99.9,
"available": 99.9,
"limit": 1000
},
"type": "CHECKING",
"attributes": [
"TRANSACTIONS",
"PAYMENT_TO",
"PAYMENT_FROM"
],
"formatted_account": "12-1234-1234567-12",
"payment_consents": [
{
"_id": "consent_c01234567890123456789012345",
"single_limit": 1000,
"periodic_limit": {
"amount": 1000,
"frequency": "DAILY"
},
"payees": [
{
"name": "Bilbo Baggins",
"account_number": "12-1234-1234567-12"
}
]
}
],
"meta": {
"holder": "MR DEMO HOLDER & MS DEMO HOLDER",
"loan_details": {
"purpose": "HOME",
"type": "TABLE",
"interest": {
"rate": 4.5,
"type": "FIXED",
"expires_at": "2021-01-01T12:00:00.000Z"
},
"interest_only_expires_at": "2021-01-01T12:00:00.000Z",
"term": {
"years": 30,
"months": 5
},
"matures_at": "2021-01-01T12:00:00.000Z",
"initial_principal": 100000,
"repayment": {
"frequency": "MONTHLY",
"next_date": "2021-01-01T12:00:00.000Z",
"next_amount": 1000
}
}
},
"refreshed": {
"balance": "2021-01-01T12:00:00.000Z",
"meta": "2021-01-01T12:00:00.000Z",
"transactions": "2021-01-01T12:00:00.000Z",
"party": "2021-01-01T12:00:00.000Z"
}
}
]
}Changes
- breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
the response property
//became optional for the status - breaking
removed the required property
//from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
///from the response with the status - warning
added the new
CHECKINGenum value to the//response property for the response status - warning
added the new
CREDITCARDenum value to the//response property for the response status - warning
added the new
FOREIGNenum value to the//response property for the response status - warning
added the new
INVESTMENTenum value to the//response property for the response status - warning
added the new
KIWISAVERenum value to the//response property for the response status - warning
added the new
PAYMENT_FROMenum value to the///response property for the response status - warning
added the new
PAYMENT_TOenum value to the///response property for the response status - warning
added the new
REWARDSenum value to the//response property for the response status - warning
added the new
SAVINGSenum value to the//response property for the response status - warning
added the new
TAXenum value to the//response property for the response status - warning
added the new
TERMDEPOSITenum value to the//response property for the response status - warning
added the new
WALLETenum value to the//response property for the response status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
removed the
CREDIT CARDenum value from the//response property for the response status - info
removed the
DEPOSITORYenum value from the//response property for the response status - info
removed the
STATEMENTSenum value from the///response property for the response status - info
removed the
TRANSACTION_EXPORTSenum value from the///response property for the response status - info
the
//response's property pattern^acc_[a-z0-9]{25,27}$was added for the status - info
added the required property
//to the response with the status - info
added the required property
///to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- breaking