...
consumer
...
object
...
C
...
Objekt zur Beschreibung von Privatkunden. Erforderlich, wenn der Kunde eine Person ist.
...
business
...
object
...
C
...
Objekt zur Beschreibung von Geschäftskunden. Erforderlich, wenn der Kunde eine juristische Person ist.
...
...
object
...
C
...
Telefonnummer. Erforderlich (falls verfügbar), sofern nicht Markt- oder regionale Mandate die Übermittlung dieser Information beschränken.
...
...
object
...
C
...
Mobiltelefonnummer. Erforderlich (falls verfügbar), sofern nicht Markt- oder regionale Mandate die Übermittlung dieser Information beschränken.
...
...
string
...
C
...
E-Mail-Adresse. Erforderlich, sofern nicht Markt- oder regionale Mandate die Übermittlung dieser Information beschränken.
consumer
...
salutation
...
string
...
O
...
Anrede
Zulässige Werte:
Mr
Mrs
Miss
...
firstName
...
string
...
M
...
Vorname des Kunden
...
lastName
...
string
...
M
...
Nachname des Kunden
...
birthDate
...
string
...
O
...
Geburtsdatum des Kunden im Format JJJJ-MM-TT
business
...
legalName
...
string
...
M
...
Firmenname
...
dbaName
...
string
...
O
...
Geschäfte tätigens als
...
registrationNumber
...
string
...
O
...
Unternehmens-Registrierungsnummer
Schema
Code Block | ||||
---|---|---|---|---|
| ||||
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.computop-paygate.com/schemas/customerInfo.json",
"title": "customerInfo",
"description": "Kundeninformationen",
"type": "object",
"properties": {
"consumer": {
"properties": {
"salutation": {
"type": "string",
"enum": ["Mr", "Mrs", "Miss"]
},
"firstName": {
"type": "string",
"maxLength": 30
},
"lastName": {
"type": "string",
"maxLenght": 30
},
"birthDate": {
"type": "string",
"format": "full-date",
"description": "JJJJ-MM-TT"
}
},
"required": ["firstName", "lastName"],
"additionalProperties": false
},
"business": {
"properties": {
"legalName": {
"type": "string",
"maxLenght": 50
},
"dbaName": {
"type": "string",
"maxLenght": 50,
"description": "Geschäfte tätigens als. Unternehmensname, wie er üblicherweise den Kunden bekannt ist."
},
"registrationNumber": {
"type": "string",
"maxLenght": 20
}
},
"required": ["legalName"],
"additionalProperties": false
},
"phone": {
"type": "object",
"properties": {
"countryCode": {
"type": "string",
"minLength": 1,
"maxLenght": 3
},
"subscriberNumber": {
"type": "string",
"maxLenght": 12
}
},
"required": ["countryCode", "subscriberNumber"],
"additionalProperties": false
},
"mobilePhone": {
"type": "object",
"properties": {
"countryCode": {
"type": "string",
"minLength": 1,
"maxLenght": 3
},
"subscriberNumber": {
"type": "string",
"maxLenght": 12
}
},
"required": ["countryCode", "subscriberNumber"],
"additionalProperties": false
},
"email": {
"type": "string",
"maxLenght": 50,
"format": "idn-email"
}
},
"oneOf": [
{"required": ["consumer"]},
{"required": ["business"]}
],
"additionalProperties": false
} |
Beispiel
Code Block | ||||
---|---|---|---|---|
| ||||
{
"consumer": {
"salutation": "Mr",
"firstName": "Napoleon",
"lastName": "Bonaparte",
"birthDate": "1769-08-15"
},
"mobilePhone": {
"countryCode": "33",
"subscriberNumber" : "12345678910"
},
"email": "napoleon.bonaparte@france.com"
} |
...