Bolt · Schema

test-credit-card

CheckoutPaymentseCommerceOne-Click CheckoutShopper NetworkFraud Protection

Properties

Name Type Description
network object
bin string The Bank Identification Number (BIN). This is typically the first 4 to 6 digits of the account number.
last4 string The account number's last four digits.
expiration string The token's expiration date. Tokens used past their expiration will be rejected.
token string The Bolt token associated with the credit card.
View JSON Schema on GitHub

JSON Schema

test-credit-card.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api.bolt.com/schemas/test-credit-card",
  "title": "test-credit-card",
  "required": [
    "network",
    "bin",
    "last4",
    "expiration",
    "token"
  ],
  "type": "object",
  "properties": {
    "network": {
      "$ref": "#/components/schemas/credit-card-network"
    },
    "bin": {
      "type": "string",
      "description": "The Bank Identification Number (BIN). This is typically the first 4 to 6 digits of the account number.",
      "pattern": "^\\d+$",
      "example": "411111"
    },
    "last4": {
      "type": "string",
      "description": "The account number's last four digits.",
      "pattern": "^\\d{4}$",
      "example": "1004"
    },
    "expiration": {
      "type": "string",
      "format": "date-time",
      "description": "The token's expiration date. Tokens used past their expiration will be rejected.",
      "example": "2023-10-31T06:00:00Z"
    },
    "token": {
      "type": "string",
      "description": "The Bolt token associated with the credit card.",
      "example": "a1B2c3D4e5F6G7H8i9J0k1L2m3N4o5P6Q7r8S9t0"
    }
  }
}