BigCommerce · Schema

Credit Card

A credit-card model.

E-CommerceRetailCatalogOrdersCheckoutPaymentsSaaS

Properties

Name Type Description
card_type string **Allowed values**: alelo, alia, american_express, cabal, carnet, dankort, diners_club, discover, elo, forbrugsforeningen, jcb, maestro, master, naranja, sodexo, unionpay, visa, vr
card_iin string The IIN of a credit-card number.
card_last4 string The last 4 digits of a credit-card number.
card_expiry_month integer The expiry month of a credit-card.
card_expiry_year integer The expiry year of a credit-card.
View JSON Schema on GitHub

JSON Schema

bigcommerce-creditcard-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreditCard",
  "title": "Credit Card",
  "type": "object",
  "description": "A credit-card model.",
  "properties": {
    "card_type": {
      "type": "string",
      "enum": [
        "alelo",
        "alia",
        "american_express",
        "cabal",
        "carnet",
        "dankort",
        "diners_club",
        "discover",
        "elo",
        "forbrugsforeningen",
        "jcb",
        "maestro",
        "master",
        "naranja",
        "sodexo",
        "unionpay",
        "visa",
        "vr"
      ],
      "description": "**Allowed values**: alelo, alia, american_express, cabal, carnet, dankort, diners_club, discover, elo, forbrugsforeningen, jcb, maestro, master, naranja, sodexo, unionpay, visa, vr"
    },
    "card_iin": {
      "description": "The IIN of a credit-card number.\n",
      "type": "string"
    },
    "card_last4": {
      "description": "The last 4 digits of a credit-card number.\n",
      "type": "string"
    },
    "card_expiry_month": {
      "description": "The expiry month of a credit-card.\n",
      "type": "integer",
      "minimum": 1,
      "maximum": 12
    },
    "card_expiry_year": {
      "description": "The expiry year of a credit-card.\n",
      "type": "integer"
    }
  },
  "x-internal": false
}