List banks
Returns a paginated list of banks.
Use id, name, or slug to narrow the list. Each of these filters is an exact, case-sensitive match, so ?name=Example Bank returns the bank while ?name=example bank returns an empty page. Query parameters other than the ones listed below are ignored.
Results can be ordered with sort on pk, name, and slug. Any other value is ignored.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The page number to return.
1The number of items to return per page.
10Orders the results by one or more fields. Separate multiple fields with commas. Prefix a field with a hyphen (-) for descending order.
-idFilter by the exact identifier of a bank.
Filter by name. Exact, case-sensitive match.
Example BankFilter by slug. Exact, case-sensitive match.
example-bankA page of banks.
A paginated list of banks.
Total number of banks matching the request.
URL of the next page, or null if this is the last page.
URL of the previous page, or null if this is the first page.
The request contains invalid or missing data.
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested page of the bank list does not exist — the page number is beyond the last page or is not a number.
GET /api/v1/remote/1/banks/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"pk": 12,
"name": "Example Bank",
"slug": "example-bank",
"logo": "https://sandbox.akinon.com/media/banks/example-bank.png",
"logo_path": null
}
]
}Last updated
Was this helpful?

