spec release

This commit is contained in:
Adyen Automation
2024-05-10 14:30:39 +02:00
parent 3ca868857a
commit 4959bfd8aa
6 changed files with 279 additions and 11 deletions

View File

@@ -3610,7 +3610,7 @@
"type" : "string"
},
"type" : {
"description" : "Type of identity data. For **individual**, the `type` value is **nationalIdNumber**.",
"description" : "Type of identity data. For individuals, the `type` value is **nationalIdNumber**.",
"enum" : [
"nationalIdNumber"
],

View File

@@ -904,6 +904,9 @@
"content" : {
"application/json" : {
"examples" : {
"createLegalEntityIndividualAU" : {
"$ref" : "#/components/examples/post-legalEntities-createLegalEntityIndividualAU"
},
"createLegalEntityIndividualNL" : {
"$ref" : "#/components/examples/post-legalEntities-createLegalEntityIndividualNL"
},
@@ -948,6 +951,9 @@
"content" : {
"application/json" : {
"examples" : {
"createLegalEntityIndividualAU" : {
"$ref" : "#/components/examples/post-legalEntities-createLegalEntityIndividualAU-200"
},
"createLegalEntityIndividualNL" : {
"$ref" : "#/components/examples/post-legalEntities-createLegalEntityIndividualNL-200"
},
@@ -3871,9 +3877,12 @@
"type" : "string"
},
"type" : {
"description" : "Type of identity data. For **individual**, the `type` value is **nationalIdNumber**.",
"description" : "Type of identity data. For individuals, the `type` value is **nationalIdNumber**. For individuals in these countries, the following types are supported.\n\n- Australia: **driversLicense**, **passport**\n\n- Hong Kong: **driversLicense**, **nationalIdNumber**, **passport**\n\n- New Zealand: **driversLicense**, **passport**\n\n- Singapore: **driversLicense**, **nationalIdNumber**, **passport** \n\n",
"enum" : [
"nationalIdNumber"
"nationalIdNumber",
"passport",
"driversLicense",
"identityCard"
],
"type" : "string"
}
@@ -6033,6 +6042,69 @@
"id" : "SE322JV223222F5GV2N9L8GDK"
}
},
"post-legalEntities-createLegalEntityIndividualAU" : {
"summary" : "Create a legal entity for an individual residing in Australia",
"description" : "Example request for creating a legal entity for an individual residing in Australia",
"value" : {
"type" : "individual",
"individual" : {
"residentialAddress" : {
"city" : "Sydney",
"country" : "AU",
"postalCode" : "1122",
"stateOrProvince" : "NSW",
"street" : "Winfield Avenue",
"street2" : "12"
},
"name" : {
"firstName" : "Shelly",
"lastName" : "Eller"
},
"identificationData" : {
"issuerState" : "NSW",
"number" : "1234567891",
"type" : "driversLicense",
"cardNumber" : "112327"
},
"birthData" : {
"dateOfBirth" : "1991-01-01"
},
"email" : "s.hopper@example.com"
}
}
},
"post-legalEntities-createLegalEntityIndividualAU-200" : {
"summary" : "Individual legal entity created",
"description" : "Example response for creating a legal entity for an individual residing in Australia",
"value" : {
"individual" : {
"email" : "s.hopper@example.com",
"birthData" : {
"dateOfBirth" : "1991-01-01"
},
"identificationData" : {
"cardNumber" : "112327",
"issuerState" : "NSW",
"number" : "1234567891",
"type" : "driversLicense"
},
"name" : {
"firstName" : "Shelly",
"lastName" : "Eller"
},
"residentialAddress" : {
"city" : "Sydney",
"country" : "AU",
"postalCode" : "1122",
"stateOrProvince" : "NSW",
"street" : "Winfield Avenue",
"street2" : "12"
}
},
"type" : "individual",
"id" : "LE00000000000000000000001"
}
},
"post-legalEntities-createLegalEntityIndividualNL" : {
"summary" : "Create a legal entity for an individual residing in the Netherlands",
"description" : "Example request for creating a legal entity for an individual residing in the Netherlands",

View File

@@ -910,6 +910,9 @@
"content" : {
"application/json" : {
"examples" : {
"createLegalEntityIndividualAU" : {
"$ref" : "#/components/examples/post-legalEntities-createLegalEntityIndividualAU"
},
"createLegalEntityIndividualNL" : {
"$ref" : "#/components/examples/post-legalEntities-createLegalEntityIndividualNL"
},
@@ -954,6 +957,9 @@
"content" : {
"application/json" : {
"examples" : {
"createLegalEntityIndividualAU" : {
"$ref" : "#/components/examples/post-legalEntities-createLegalEntityIndividualAU-200"
},
"createLegalEntityIndividualNL" : {
"$ref" : "#/components/examples/post-legalEntities-createLegalEntityIndividualNL-200"
},
@@ -4384,9 +4390,12 @@
"type" : "string"
},
"type" : {
"description" : "Type of identity data. For **individual**, the `type` value is **nationalIdNumber**.",
"description" : "Type of identity data. For individuals, the `type` value is **nationalIdNumber**. For individuals in these countries, the following types are supported.\n\n- Australia: **driversLicense**, **passport**\n\n- Hong Kong: **driversLicense**, **nationalIdNumber**, **passport**\n\n- New Zealand: **driversLicense**, **passport**\n\n- Singapore: **driversLicense**, **nationalIdNumber**, **passport** \n\n",
"enum" : [
"nationalIdNumber"
"nationalIdNumber",
"passport",
"driversLicense",
"identityCard"
],
"type" : "string"
}
@@ -6955,6 +6964,69 @@
"id" : "SE322JV223222F5GV2N9L8GDK"
}
},
"post-legalEntities-createLegalEntityIndividualAU" : {
"summary" : "Create a legal entity for an individual residing in Australia",
"description" : "Example request for creating a legal entity for an individual residing in Australia",
"value" : {
"type" : "individual",
"individual" : {
"residentialAddress" : {
"city" : "Sydney",
"country" : "AU",
"postalCode" : "1122",
"stateOrProvince" : "NSW",
"street" : "Winfield Avenue",
"street2" : "12"
},
"name" : {
"firstName" : "Shelly",
"lastName" : "Eller"
},
"identificationData" : {
"issuerState" : "NSW",
"number" : "1234567891",
"type" : "driversLicense",
"cardNumber" : "112327"
},
"birthData" : {
"dateOfBirth" : "1991-01-01"
},
"email" : "s.hopper@example.com"
}
}
},
"post-legalEntities-createLegalEntityIndividualAU-200" : {
"summary" : "Individual legal entity created",
"description" : "Example response for creating a legal entity for an individual residing in Australia",
"value" : {
"individual" : {
"email" : "s.hopper@example.com",
"birthData" : {
"dateOfBirth" : "1991-01-01"
},
"identificationData" : {
"cardNumber" : "112327",
"issuerState" : "NSW",
"number" : "1234567891",
"type" : "driversLicense"
},
"name" : {
"firstName" : "Shelly",
"lastName" : "Eller"
},
"residentialAddress" : {
"city" : "Sydney",
"country" : "AU",
"postalCode" : "1122",
"stateOrProvince" : "NSW",
"street" : "Winfield Avenue",
"street2" : "12"
}
},
"type" : "individual",
"id" : "LE00000000000000000000001"
}
},
"post-legalEntities-createLegalEntityIndividualNL" : {
"summary" : "Create a legal entity for an individual residing in the Netherlands",
"description" : "Example request for creating a legal entity for an individual residing in the Netherlands",

View File

@@ -2525,8 +2525,8 @@ components:
description: The number in the document.
type: string
type:
description: Type of identity data. For **individual**, the `type` value
is **nationalIdNumber**.
description: Type of identity data. For individuals, the `type` value is
**nationalIdNumber**.
enum:
- nationalIdNumber
type: string

View File

@@ -572,6 +572,8 @@ paths:
content:
application/json:
examples:
createLegalEntityIndividualAU:
$ref: '#/components/examples/post-legalEntities-createLegalEntityIndividualAU'
createLegalEntityIndividualNL:
$ref: '#/components/examples/post-legalEntities-createLegalEntityIndividualNL'
createLegalEntityIndividualUS:
@@ -602,6 +604,8 @@ paths:
content:
application/json:
examples:
createLegalEntityIndividualAU:
$ref: '#/components/examples/post-legalEntities-createLegalEntityIndividualAU-200'
createLegalEntityIndividualNL:
$ref: '#/components/examples/post-legalEntities-createLegalEntityIndividualNL-200'
createLegalEntityIndividualUS:
@@ -2724,10 +2728,17 @@ components:
description: The number in the document.
type: string
type:
description: Type of identity data. For **individual**, the `type` value
is **nationalIdNumber**.
description: "Type of identity data. For individuals, the `type` value is\
\ **nationalIdNumber**. For individuals in these countries, the following\
\ types are supported.\n\n- Australia: **driversLicense**, **passport**\n\
\n- Hong Kong: **driversLicense**, **nationalIdNumber**, **passport**\n\
\n- New Zealand: **driversLicense**, **passport**\n\n- Singapore: **driversLicense**,\
\ **nationalIdNumber**, **passport** \n\n"
enum:
- nationalIdNumber
- passport
- driversLicense
- identityCard
type: string
required:
- type
@@ -4661,6 +4672,57 @@ components:
id: LE00000000000000000000001
type: legalEntity
id: SE322JV223222F5GV2N9L8GDK
post-legalEntities-createLegalEntityIndividualAU:
summary: Create a legal entity for an individual residing in Australia
description: Example request for creating a legal entity for an individual residing
in Australia
value:
type: individual
individual:
residentialAddress:
city: Sydney
country: AU
postalCode: '1122'
stateOrProvince: NSW
street: Winfield Avenue
street2: '12'
name:
firstName: Shelly
lastName: Eller
identificationData:
issuerState: NSW
number: '1234567891'
type: driversLicense
cardNumber: '112327'
birthData:
dateOfBirth: '1991-01-01'
email: s.hopper@example.com
post-legalEntities-createLegalEntityIndividualAU-200:
summary: Individual legal entity created
description: Example response for creating a legal entity for an individual
residing in Australia
value:
individual:
email: s.hopper@example.com
birthData:
dateOfBirth: '1991-01-01'
identificationData:
cardNumber: '112327'
issuerState: NSW
number: '1234567891'
type: driversLicense
name:
firstName: Shelly
lastName: Eller
residentialAddress:
city: Sydney
country: AU
postalCode: '1122'
stateOrProvince: NSW
street: Winfield Avenue
street2: '12'
type: individual
id: LE00000000000000000000001
post-legalEntities-createLegalEntityIndividualNL:
summary: Create a legal entity for an individual residing in the Netherlands
description: Example request for creating a legal entity for an individual residing

View File

@@ -576,6 +576,8 @@ paths:
content:
application/json:
examples:
createLegalEntityIndividualAU:
$ref: '#/components/examples/post-legalEntities-createLegalEntityIndividualAU'
createLegalEntityIndividualNL:
$ref: '#/components/examples/post-legalEntities-createLegalEntityIndividualNL'
createLegalEntityIndividualUS:
@@ -606,6 +608,8 @@ paths:
content:
application/json:
examples:
createLegalEntityIndividualAU:
$ref: '#/components/examples/post-legalEntities-createLegalEntityIndividualAU-200'
createLegalEntityIndividualNL:
$ref: '#/components/examples/post-legalEntities-createLegalEntityIndividualNL-200'
createLegalEntityIndividualUS:
@@ -3115,10 +3119,17 @@ components:
description: The number in the document.
type: string
type:
description: Type of identity data. For **individual**, the `type` value
is **nationalIdNumber**.
description: "Type of identity data. For individuals, the `type` value is\
\ **nationalIdNumber**. For individuals in these countries, the following\
\ types are supported.\n\n- Australia: **driversLicense**, **passport**\n\
\n- Hong Kong: **driversLicense**, **nationalIdNumber**, **passport**\n\
\n- New Zealand: **driversLicense**, **passport**\n\n- Singapore: **driversLicense**,\
\ **nationalIdNumber**, **passport** \n\n"
enum:
- nationalIdNumber
- passport
- driversLicense
- identityCard
type: string
required:
- type
@@ -5389,6 +5400,57 @@ components:
id: LE00000000000000000000001
type: legalEntity
id: SE322JV223222F5GV2N9L8GDK
post-legalEntities-createLegalEntityIndividualAU:
summary: Create a legal entity for an individual residing in Australia
description: Example request for creating a legal entity for an individual residing
in Australia
value:
type: individual
individual:
residentialAddress:
city: Sydney
country: AU
postalCode: '1122'
stateOrProvince: NSW
street: Winfield Avenue
street2: '12'
name:
firstName: Shelly
lastName: Eller
identificationData:
issuerState: NSW
number: '1234567891'
type: driversLicense
cardNumber: '112327'
birthData:
dateOfBirth: '1991-01-01'
email: s.hopper@example.com
post-legalEntities-createLegalEntityIndividualAU-200:
summary: Individual legal entity created
description: Example response for creating a legal entity for an individual
residing in Australia
value:
individual:
email: s.hopper@example.com
birthData:
dateOfBirth: '1991-01-01'
identificationData:
cardNumber: '112327'
issuerState: NSW
number: '1234567891'
type: driversLicense
name:
firstName: Shelly
lastName: Eller
residentialAddress:
city: Sydney
country: AU
postalCode: '1122'
stateOrProvince: NSW
street: Winfield Avenue
street2: '12'
type: individual
id: LE00000000000000000000001
post-legalEntities-createLegalEntityIndividualNL:
summary: Create a legal entity for an individual residing in the Netherlands
description: Example request for creating a legal entity for an individual residing