{
  "card_validation_rules": [{
    "type": "Visa",
    "bin_regex": "^4([0-9]?){1,}$",
    "card_length_array": [13, 16],
    "max_card_length": 16,
    "min_card_length": 13,
    "cvv_length": 3,
    "luhn_check": true
  }, {
    "type": "MasterCard",
    "bin_regex": "^(5[1-5]|222[1-9]|22[3-9]|2[3-6]|27[0-1]|2720)([0-9]?){1,}$",
    "card_length_array": [16],
    "max_card_length": 16,
    "min_card_length": 16,
    "cvv_length": 3,
    "luhn_check": true
  }, {
    "type": "Amex",
    "bin_regex": "^3[47]([0-9]?){1,}$",
    "card_length_array": [15],
    "max_card_length": 15,
    "min_card_length": 15,
    "cvv_length": 4,
    "luhn_check": true
  }, {
    "type": "CUP",
    "bin_regex": "^6([25])([0-9]?){1,}$",
    "card_length_array": [14, 15, 16, 17, 18, 19],
    "max_card_length": 19,
    "min_card_length": 14,
    "cvv_length": 3,
    "luhn_check": false
  }, {
    "type": "JCB",
    "bin_regex": "^35(2[89]|[3-8][0-9])([0-9]?){1,}$",
    "card_length_array": [16, 17, 18, 19],
    "max_card_length": 19,
    "min_card_length": 16,
    "cvv_length": 3,
    "luhn_check": true
  }],
  "postal_code_rules": {
    "GB": {
      "validate_regex": "^[a zA-Z0-9]{5,8}$",
      "max_postal_code_length": 8,
      "keyboard_type": "default"
    },
    "US": {
      "validate_regex": "^[0-9]{5,5}$",
      "max_postal_code_length": 5,
      "keyboard_type": "number"
    },
    "CA": {
      "validate_regex": "^[a-zA-Z0-9]{6,6}$",
      "max_postal_code_length": 6,
      "keyboard_type": "default"
    }
  },
  "suggested_countries": ["SG", "ID", "VN", "PH"]
}
