Metadata
Look up metadata for a payment method
POST
Documentation Index
Fetch the complete documentation index at: https://docs.mangopay.com/llms.txt
Use this file to discover all available pages before exploring further.
Best practice – For BIN lookup, use an 8-digit version if availableAn 8-digit BIN provides the most detailed and accurate data for card identification and assessment, and is becoming the industry standard. The 6-digit version continues to be used but provides less granular classification that may be ambiguous if 8-digit sub-ranges have been introduced by the issuer.A transaction’s
CardInfo.BIN property returns the 8-digit BIN if its available. In the Card object, the Alias only ever reveals the first 6 digits – the 8-digit version should be preferred.Body parameters
Allowed values:
BIN, GOOGLE_PAYThe type of metadata.Format: 6 or 8 digitsRequired if the
Type is BIN.The bank identification number (BIN).Required if the
Type is GOOGLE_PAY.The tokenized payment data provided by the third-party payment method.Responses
200 - BIN: 8 digits
200 - BIN: 8 digits
The type of metadata.
Format: 6 or 8 digitsThe bank identification number (BIN).
Format: Two-letter country code (ISO 3166-1 alpha-2 format)The country where the card was issued.
The name of the card issuer.
objectAdditional data about the card based on the BIN. In the case of co-branded card products, two objects are returned.
200 - BIN: 6 digits
200 - BIN: 6 digits
The type of metadata.
Format: 6 or 8 digitsThe bank identification number (BIN).
Format: Two-letter country code (ISO 3166-1 alpha-2 format)The country where the card was issued.
The name of the card issuer.
objectAdditional data about the card based on the BIN. In the case of co-branded card products, two objects are returned.
200 - Co-branded
200 - Co-branded
The type of metadata.
Format: 6 or 8 digitsThe bank identification number (BIN).
Format: Two-letter country code (ISO 3166-1 alpha-2 format)The country where the card was issued.
The name of the card issuer.
objectAdditional data about the card based on the BIN. In the case of co-branded card products, two objects are returned.
200 - Google Pay
200 - Google Pay
The type of metadata.
Returned values:
PAN_ONLY, CRYPTOGRAM_3DSIn the case of Google Pay, the format of the Token.PAN_ONLY– The card is registered in the Google account and requires 3DS authentication.CRYPTOGRAM_3DS– The card is enrolled in the customer’s Google Wallet and authentication is handled by the Android device.
Format: 6 or 8 digitsThe bank identification number (BIN).
Format: Two-letter country code (ISO 3166-1 alpha-2 format)The country where the card was issued.
The name of the card issuer.
objectAdditional data about the card based on the BIN. In the case of co-branded card products, two objects are returned.