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.
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 bin number record.
Filter by the identifier of the card the digits belong to.
Filter by the leading digits. Exact match; partial values return an empty page.
454671A page of bin numbers.
A paginated list of bin numbers.
Total number of bin numbers 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 bin number list does not exist — the page number is beyond the last page or is not a number.
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?

