Accounts
List accounts
Changed onEndpoint for retrieving a list of accounts.
get/accounts/
Request
- Base URLhttps://api.wafeq.com/v1
- URLhttps://api.wafeq.com/v1/accounts/
- AuthAPI key in header Authorization
Query parameters
classification'ASSET' | 'EQUITY' | 'EXPENSE' | 'LIABILITY' | 'REVENUE' | '__null__'
- ASSET - ASSET
- EQUITY - EQUITY
- EXPENSE - EXPENSE
- LIABILITY - LIABILITY
- REVENUE - REVENUE
- __null__ - null
Classification
- REVENUE - Revenue
- EXPENSE - Expense
- ASSET - Asset
- LIABILITY - Liability
- EQUITY - Equity
created_ts_afterstring date-time
The timestamp in UTC when the account was created
created_ts_beforestring date-time
The timestamp in UTC when the account was created
expandstring
Comma-separated related objects to return in full instead of as IDs. Accepted values: parent, parent.parent. Nested relations are joined with a dot.
external_idstring
External identifier
is_payment_enabledboolean
Is payment enabled
is_systemboolean
Filter system accounts
modified_ts_afterstring date-time
The timestamp in UTC when the account was last modified
modified_ts_beforestring date-time
The timestamp in UTC when the account was last modified
pageinteger
A page number within the paginated result set.
page_sizeinteger
Number of results to return per page.
Response
Example response
{
"count": 123,
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2"
}Changes
- info
added the new optional
queryrequest parameterexpand
- info