Mastercard · Schema

AccountDetails

Credit CardsDigital IdentityFinancial ServicesFraud DetectionOpen BankingPaymentsFortune 500

Properties

Name Type Description
accountNumber string Unique identifier for the Primary Account Number of the card.
cardLast4 string The last four digits of the card number.
cardExpiryDate string The expiry year and month of the card in YYMM format.
cardBin string The first digits of the card number.
View JSON Schema on GitHub

JSON Schema

mastercard-identity-insights-for-transactions-account-details-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "AccountDetails",
  "type": "object",
  "properties": {
    "accountNumber": {
      "type": "string",
      "description": "Unique identifier for the Primary Account Number of the card."
    },
    "cardLast4": {
      "type": "string",
      "description": "The last four digits of the card number."
    },
    "cardExpiryDate": {
      "type": "string",
      "description": "The expiry year and month of the card in YYMM format."
    },
    "cardBin": {
      "type": "string",
      "description": "The first digits of the card number."
    }
  }
}