Skip to main content

Card

Inspect card metadata and issuer details via $paystack->miscellaneous->card.

Resolve Card BIN​

Retrieve card brand, card type (debit or credit), issuing bank, and country metadata from the first 6 digits (Bank Identification Number) of a payment card.

$response = $paystack->miscellaneous->card->resolveInfo('539983');
ParameterTypeRequiredDescription
$binstringYesThe first 6 digits of the customer's card number.
PCI Compliance Note

Only pass the first 6 digits (BIN) of the card to resolveInfo(). Never collect, transmit, or log full Primary Account Numbers (PAN) or CVV codes on your backend server unless you maintain full PCI-DSS certification.