{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://paymentpage.axepta.bnpparibas/schemas/card_response.json",
"title": "card",
"description": "Card Information",
"type": "object",
"properties": {
"cardholderName": {
"type": "string",
"maxLength" : 5045,
"minLength" : 12,
"description" : "The name of the cardholder as printed on the card. Alphanumeric special characters, listed in EMV Book 4, “Appendix B”."
},
"number": {
"type" : "string",
"maxLength" : 19,
"minLength" : 12
},
"expiryDate": {
"type": "string",
"description": "YYYYMM",
"minLength": 6,
"maxLength": 6
},
"bin": {
"type": "object",
"properties": {
"accountBin": { "type": "string" },
"accountRangeLow": { "type": "string" },
"accountRangeHigh": { "type": "string" }
},
"additionalProperties": false,
"required": ["accountBin"]
},
"brand": {
"type": "string",
"enum": [
"MasterCard",
"VISA",
"AMEX",
"Diners",
"CBN",
"JCB",
"Dankort",
"Maestro",
"Cartes Bancaires",
"DISCOVER",
"Bancontact",
"Hipercard",
"Elo",
"Aura",
"Carte 4Etoiles",
"AirPlus",
"CUP",
"NARANJA",
"SHOPPING",
"CABAL",
"ARGENCARD",
"CENCOSUD",
"KOOKMIN",
"KEB",
"BC",
"SHINHAN",
"SAMSUNG",
"HYUNDAI",
"LOTTE",
"1euro",
"echequevacances",
"cofidis3xcb",
"cofidis4xcb",
"facilypay-3x",
"facilypay-3xsansfrais",
"facilypay-4x",
"facilypay-4xsansfrais",
"RuPay"
]
},
"product": {
"type": "string"
},
"source": {
"type": "string",
"enum": ["DEBIT", "CREDIT", "DEFERRED DEBIT", "PREPAID", "CHARGE"]
},
"type": {
"type": "string"
},
"country": {
"type": "object",
"properties": {
"countryName": {
"type": "string",
"description": "Name of the country."
},
"countryA2": {
"type": "string",
"description": "ISO-3166 alpha-2 code."
},
"countryA3": {
"type": "string",
"description": "ISO 3166-1:2013 alpha-3"
},
"countryNumber": {
"type": "string",
"description": "ISO-3166 numeric code."
}
},
"required": ["countryA3"],
"additionalProperties": false
},
"issuer": {
"type": "string"
}
},
"required": ["bin", "brand", "country"],
"additionalProperties": false
} |