BIN 512345

BIN 512345 identifies a Mastercard debit card issued by Afriland First Bank in Liberia. Card numbers in this range are 16 digits long and belong to the Standard product tier. Enter a longer prefix below for a more precise match — the API accepts 6 to 11 digits.

Card Information

BIN / IIN 512345 Scheme Mastercard Funding Type Debit Card Level Standard Issuer Afriland First Bank Country Liberia (LR) Card Number Length 16 digits Segment Personal

What BIN 512345 Tells You

The first digit, 5, is the Major Industry Identifier under ISO/IEC 7812 and is reserved for Mastercard. Mastercard card numbers start with 51-55, 2221-2720 and run to 16 digits, so the prefix alone is enough to identify the network before any lookup happens.

The full 6-digit prefix narrows that down to one product from one issuer. Afriland First Bank holds this range and issues it as a debit card, meaning purchases draw directly on a deposit account. The Standard level marks it as the standard consumer tier with no premium benefits attached. The record carries no commercial flag, so this is a consumer product.

The country is that of the issuing bank, Liberia. It is the most useful single field for fraud screening: a mismatch between the issuing country and the billing or shipping country is one of the strongest signals available before authorisation.

Card Number Structure for 512345

A 16-digit Mastercard number in this range breaks down as follows:

DigitsPartMeaning
1 Major Industry Identifier 5 — Mastercard
1–6 BIN / IIN 512345 — the issuer range this page describes
7–15 Account identifier 9 digits assigned by Afriland First Bank to the individual account
16 Check digit Computed with the Luhn algorithm over the preceding digits

The BIN describes the card product. Everything after it is specific to one account and should never be sent to a lookup service — our API rejects anything longer than 11 digits and redacts it from logs.

Verifying a Card That Starts With 512345

  1. Check the prefix. A lookup on 512345 confirms the range is live and returns the issuer, funding type and country above. A prefix that returns 404 was never allocated or has been retired.
  2. Check the full number with Luhn. The final digit is a checksum over the rest. A number that fails it was mistyped or generated. Use the Luhn calculator to see the arithmetic.
  3. Submit more digits if you have them. Issuers subdivide 6-digit ranges. An 8-digit lookup on this range may resolve to a more specific product than the 6-digit record, and the meta.longer_bin_available field tells you when that is the case.

Look Up BIN 512345 via API

The same record is available programmatically from one POST request:

Terminal
$ curl -X POST "https://api.binlookupapi.com/v1/bin" \
    -H "Authorization: Bearer YOUR_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{"number": 512345}'

{
  "mode": "live",
  "data": {
    "bin": "512345",
    "scheme": "mastercard",
    "funding": "debit",
    "brand": "MASTERCARD",
    "category": "Standard",
    "country": {
      "code": "LR",
      "name": "Liberia"
    },
    "issuer": {
      "name": "Afriland First Bank"
    },
    "commercial": false
  }
}

Every field above comes from the live dataset. Where a record is missing an issuer, card type, or country, we don't publish a page for it. See the API reference →

Get Free API Key

What This Record Cannot Tell You

BIN data describes a card product, not a card. Nothing here says whether a particular number beginning 512345 was ever issued, whether it is active, what its balance is, or who holds it. Those answers only come from an authorisation request to Afriland First Bank. For the broader picture, read what a BIN number is and how it is structured.

FAQ

Is BIN 512345 a credit or debit card?
BIN 512345 is a Mastercard debit card. That means purchases draw directly on a deposit account.
Which bank issues cards starting with 512345?
Cards beginning 512345 are issued by Afriland First Bank in Liberia. Issuers hold many ranges, so Afriland First Bank also issues cards under other prefixes, and a lookup on those returns the same issuer with a different product.
What country is BIN 512345 from?
Liberia (ISO code LR). This is the country of the issuing bank, not necessarily where the cardholder lives or where the card is being used.
How many digits does a card starting with 512345 have?
16. The first 6 identify the issuer range, the next 9 identify the account, and the final digit is a Luhn check digit that catches typos.
Does a card number starting with 512345 mean the card is valid?
No. The BIN only confirms the prefix belongs to a real Mastercard range issued by Afriland First Bank. Whether a specific number was ever issued, is active, or has funds can only be established by an authorisation against the issuer.

Related