Returns card metadata for the supplied payment instrument. This is a read-only lookup with no side effects - safe to retry on network errors.
Provide a paymentInstrument with type card (PAN or Network Token Number, 12-19 digits) or type token (Worldpay token href). The merchant.entity field identifies your routing entity; use the value assigned during on-boarding.
- Test (Try) - use for integration and QAhttps://try.access.worldpay-bsh.securedataplatform.co.uk/api/cardBin/panLookup
- Live - use for production traffichttps://access.worldpay-bsh.securedataplatform.co.uk/api/cardBin/panLookup
{ "merchant": { "entity": "default" }, "paymentInstrument": { "type": "card", "number": "4444333322221111" } }
BIN lookup succeeded. Response contains card metadata including brand, BIN and BIN length, PAN length, funding type, issuer details, DCC eligibility, AMLD5 status, card category, scheme product ID and sub-type, flexible credential participation, Visa Direct Account Funding Transaction eligibility and Visa (Direct) and Mastercard (Send) payout support.
Indicates whether the card belongs to a tokenized issuer range.
Card brand(s). Co-branded cards return multiple values.
This list may grow as new schemes are added. Treat unrecognised values as valid strings and handle them gracefully rather than failing.
[ "visa" ]
Bank Identification Number extracted from the card. Capped at 8 digits to protect PCI-sensitive data where the BIN length exceeds 8 digits. Use binLength to determine the full BIN length for this card.
Expected length of the Primary Account Number. A value of 0 indicates the PAN length is variable for this BIN range.
Funding source of the card. Use to select the correct interchange category, apply surcharging rules, or restrict card acceptance by type.
ISO 3166-1 alpha-2 country code of the card issuer. Use for cross-border fee logic or geographic restrictions.
ISO 4217 alpha-3 default currency of the card. Use together with dccAllowed to determine whether to offer Dynamic Currency Conversion.
true if Dynamic Currency Conversion may be offered to the cardholder for this card. Always check this flag before presenting a DCC offer.
AMLD5 anonymous prepaid status.
| Enum Value | Description |
|---|---|
| notPrepaidOrNonAnonymous | No AMLD5 concern. |
| anonymousCompliant | Anonymous prepaid but AMLD5-compliant. |
| anonymousNonCompliant | Anonymous prepaid and non-compliant; block if your compliance policy requires it. |
| unknown | Status could not be determined. |
Whether the card is a commercial (business) or consumer card.
Scheme product identifier assigned by the card scheme. Can be used to determine card product tier and support interchange cost analysis. Values are scheme-defined and subject to change.
Scheme product sub-type providing further classification within a product, for example agriculture or healthcare segments for Visa. Values are scheme-defined, subject to change, and not consistent across schemes.
Visa Direct Account Funding Transaction (AFT) eligibility for this BIN. AFTs are used to pull funds from a Visa card account to fund a push payment (OCT) to another account. Check these flags before initiating a Visa Direct pull payment to determine whether the transaction is permitted for this card.
{ "type": "networkToken", "brand": [ "visa" ], "bin": "491183", "binLength": 6, "panLength": 16, "fundingType": "debit", "issuerName": "Bank of America", "countryCode": "US", "currency": "USD", "dccAllowed": false, "anonymousPrepaid": "notPrepaidOrNonAnonymous", "category": "consumer", "productId": "A", "productSubType": "HC", "flexibleCredential": { "participating": false }, "accountFundingTransactions": { "domestic": "supported", "crossBorder": "notSupported" } }