Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

get
/banks/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Query parameters
pageintegerOptional

The page number to return.

Default: 1
limitintegerOptional

The number of items to return per page.

Default: 10
sortstringOptional

Orders the results by one or more fields. Separate multiple fields with commas. Prefix a field with a hyphen (-) for descending order.

Example: -id
idintegerOptional

Filter by the exact identifier of a bank.

namestringOptional

Filter by name. Exact, case-sensitive match.

Example: Example Bank
slugstringOptional

Filter by slug. Exact, case-sensitive match.

Example: example-bank
Responses
200

A page of banks.

application/json

A paginated list of banks.

countintegerOptional

Total number of banks matching the request.

nextstring · nullableOptional

URL of the next page, or null if this is the last page.

previousstring · nullableOptional

URL of the previous page, or null if this is the first page.

get/banks/
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?