JSON Objekt

card:response

card:response

ParameterFormatBedingungBeschreibung
cardholderNamestringCDas Vorhandensein hängt von der Händler-Konfiguration ab. Name des Karteninhabers, wie auf der Karte angegeben.
numberstringCDas Vorhandensein hängt von der Händler-Konfiguration ab. Falls vorhanden, enthält dieses Element entweder die maskierte Kartennummer oder das 1cs Online Bezahlsystem-Kartentoken.
expiryDatestringCVorhanden, falls number das 1cs Online Bezahlsystem-Kartentoken enthält
binobjectMBankleitzahl (BIN) einschließlich Kontenbereich, falls zutreffend
brandstringMName des Kartennetzwerkes (z.B. ‘Visa’, ‘MasterCard’)
productstringCKartenproduktname (falls verfügbar) (z.B. ‘Business Premium Debit’).
sourcestringCKartenfinanzierungsquelle (falls verfügbar) Zulässige Werte: · DEBIT · CREDIT · DEFERRED DEBIT · PREPAID · CHARGE
typestringCDer Kartentyp gibt das zur Karte gehörige Programm, Anwendung oder Karten-Level an, falls vorhanden (z.B. Classic, Standard, Gold, Business usw.)
countryJSONMLand, in dem die Karte ausgestellt ist
issuerstringCKartenaussteller (falls verfügbar)

bin

Parameter

Format

Bedingung

Beschreibung

accountBIN

string

M

Die ersten sechs Ziffern der Kontonummer, die auch als Bankleitzahl bekannt sind (BIN)

accountRangeLow

string

C

Die Kontonummer am unteren Ende des Kontenbereichs

accountRangeHigh

string

C

Die Kontonummer am oberen Ende des Kontenbereichs

Schema

{

    “$schema”: “http://json-schema.org/draft-07/schema#”,

    “$id”: “https://www.computop-paygate.com/schemas/card_response.json”,

    “title”: “card”,

    “description”: “Card Information”,

    “type”: “object”,

    “properties”: {

        “cardholderName”: {

            “type”: “string”,

            “maxLength” : 50,

            “minLength” : 1,

            “description” : “The name of the cardholder as printed on the card.”

        },

        “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

}

Beispiel

{

    “cardholderName”: “John Doe”,

    “bin”: {

        “accountBin”: “492947”,

        “accountRangeLow”: “492947000000”,

        “accountRangeHigh”: “492948387999”

    },

    “brand”: “VISA”,

    “product”: “Business”,

    “source”: “CREDIT”,

    “type”: “CLASSIC”,

    “country”: {

        “countryName”: “United Kingdom of Great Britain and Northern Ireland”,

        “countryA2”: “GB”,

        “countryA3”: “GBR”,

        “countryNumber”: “826”

    },

    “issuer”: “BARCLAYS BANK PLC”

}