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

List bin numbers

Returns a paginated list of bin numbers, ordered by identifier ascending.

Use id, card, or bin_number to narrow the list. Each of these filters matches the whole value exactly, so ?bin_number=454671 returns the record while ?bin_number=4546 returns an empty page. Query parameters other than the ones listed below are ignored.

Deactivated records are included in the response and can be told apart by their is_active value; there is no filter for the active state.

Results can be ordered with sort on pk, bin_number, card, and is_active.

get
/bin_numbers/
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 bin number record.

cardintegerOptional

Filter by the identifier of the card the digits belong to.

bin_numberstringOptional

Filter by the leading digits. Exact match; partial values return an empty page.

Example: 454671
Responses
200

A page of bin numbers.

application/json

A paginated list of bin numbers.

countintegerOptional

Total number of bin numbers 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/bin_numbers/
GET /api/v1/remote/1/bin_numbers/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "pk": 41,
      "bin_number": "454671",
      "card": 7,
      "is_active": true,
      "bin_number_length": "6"
    }
  ]
}

Last updated

Was this helpful?