From 76d45f7fd92f122f8eccb3cea1a7f7cac1ca8b5d Mon Sep 17 00:00:00 2001 From: Adyen Automation Date: Mon, 12 Dec 2022 16:21:21 +0000 Subject: [PATCH] spec release --- json/LegalEntityService-v1.json | 26 +++++--------------------- json/LegalEntityService-v2.json | 26 +++++--------------------- yaml/LegalEntityService-v1.yaml | 19 +++++-------------- yaml/LegalEntityService-v2.yaml | 19 +++++-------------- 4 files changed, 20 insertions(+), 70 deletions(-) diff --git a/json/LegalEntityService-v1.json b/json/LegalEntityService-v1.json index 48528ee..381fdc4 100644 --- a/json/LegalEntityService-v1.json +++ b/json/LegalEntityService-v1.json @@ -10,7 +10,7 @@ "x-publicVersion" : true, "title" : "Legal Entity Management API", "description" : "The Legal Entity Management API enables you to manage legal entities that contain information required for verification. \n## Authentication\nTo connect to the Legal Entity Management API, you must use the basic authentication credentials of your web service user. If you don't have one, contact the [Adyen Support Team](https://www.adyen.help/hc/en-us/requests/new). Use the web service user credentials to authenticate your request, for example:\n\n```\ncurl\n-U \"ws12345@Scope.BalancePlatform_YourBalancePlatform\":\"YourWsPassword\" \\\n-H \"Content-Type: application/json\" \\\n...\n```\nNote that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints).\n\n## Versioning\nThe Legal Entity Management API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number.\n\nFor example:\n```\nhttps://kyc-test.adyen.com/lem/v1/legalEntities\n```\n## Going live\nWhen going live, your Adyen contact will provide your API credential for the live environment. You can then use the username and password to send requests to `https://kyc-live.adyen.com/lem/v1`.\n\n", - "x-timestamp" : "2022-12-05T17:26:45Z", + "x-timestamp" : "2022-12-12T16:23:27Z", "termsOfService" : "https://www.adyen.com/legal/terms-and-conditions", "contact" : { "name" : "Adyen Developer Experience team", @@ -2172,8 +2172,9 @@ }, "creationDate" : { "description" : "The creation date of the document.", + "format" : "date-time", "readOnly" : true, - "$ref" : "#/components/schemas/OffsetDateTime" + "type" : "string" }, "description" : { "description" : "Your description for the document.", @@ -2208,8 +2209,9 @@ }, "modificationDate" : { "description" : "The modification date of the document.", + "format" : "date-time", "readOnly" : true, - "$ref" : "#/components/schemas/OffsetDateTime" + "type" : "string" }, "number" : { "description" : "The number in the document.", @@ -2581,13 +2583,6 @@ "lastName" ] }, - "OffsetDateTime" : { - "properties" : { - "offset" : { - "$ref" : "#/components/schemas/ZoneOffset" - } - } - }, "OnboardingLink" : { "properties" : { "url" : { @@ -3166,17 +3161,6 @@ "type" : "string" } } - }, - "ZoneOffset" : { - "properties" : { - "id" : { - "type" : "string" - }, - "totalSeconds" : { - "format" : "int32", - "type" : "integer" - } - } } }, "securitySchemes" : { diff --git a/json/LegalEntityService-v2.json b/json/LegalEntityService-v2.json index 424d3db..d78c245 100644 --- a/json/LegalEntityService-v2.json +++ b/json/LegalEntityService-v2.json @@ -10,7 +10,7 @@ "x-publicVersion" : true, "title" : "Legal Entity Management API", "description" : "The Legal Entity Management API enables you to manage legal entities that contain information required for verification. \n## Authentication\nTo connect to the Legal Entity Management API, you must use the basic authentication credentials of your web service user. If you don't have one, contact the [Adyen Support Team](https://www.adyen.help/hc/en-us/requests/new). Use the web service user credentials to authenticate your request, for example:\n\n```\ncurl\n-U \"ws12345@Scope.BalancePlatform_YourBalancePlatform\":\"YourWsPassword\" \\\n-H \"Content-Type: application/json\" \\\n...\n```\nNote that when going live, you need to generate new web service user credentials to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints).\n\n## Versioning\nThe Legal Entity Management API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number.\n\nFor example:\n```\nhttps://kyc-test.adyen.com/lem/v2/legalEntities\n```\n## Going live\nWhen going live, your Adyen contact will provide your API credential for the live environment. You can then use the username and password to send requests to `https://kyc-live.adyen.com/lem/v2`.\n\n", - "x-timestamp" : "2022-12-05T17:26:47Z", + "x-timestamp" : "2022-12-12T16:23:28Z", "termsOfService" : "https://www.adyen.com/legal/terms-and-conditions", "contact" : { "name" : "Adyen Developer Experience team", @@ -2337,8 +2337,9 @@ }, "creationDate" : { "description" : "The creation date of the document.", + "format" : "date-time", "readOnly" : true, - "$ref" : "#/components/schemas/OffsetDateTime" + "type" : "string" }, "description" : { "description" : "Your description for the document.", @@ -2373,8 +2374,9 @@ }, "modificationDate" : { "description" : "The modification date of the document.", + "format" : "date-time", "readOnly" : true, - "$ref" : "#/components/schemas/OffsetDateTime" + "type" : "string" }, "number" : { "description" : "The number in the document.", @@ -2799,13 +2801,6 @@ "lastName" ] }, - "OffsetDateTime" : { - "properties" : { - "offset" : { - "$ref" : "#/components/schemas/ZoneOffset" - } - } - }, "OnboardingLink" : { "properties" : { "url" : { @@ -3493,17 +3488,6 @@ "type" : "string" } } - }, - "ZoneOffset" : { - "properties" : { - "id" : { - "type" : "string" - }, - "totalSeconds" : { - "format" : "int32", - "type" : "integer" - } - } } }, "securitySchemes" : { diff --git a/yaml/LegalEntityService-v1.yaml b/yaml/LegalEntityService-v1.yaml index 4caf321..3da5529 100644 --- a/yaml/LegalEntityService-v1.yaml +++ b/yaml/LegalEntityService-v1.yaml @@ -20,7 +20,7 @@ info: ```\n## Going live\nWhen going live, your Adyen contact will provide your API\ \ credential for the live environment. You can then use the username and password\ \ to send requests to `https://kyc-live.adyen.com/lem/v1`.\n\n" - x-timestamp: '2022-12-05T17:26:45Z' + x-timestamp: '2022-12-12T16:23:27Z' termsOfService: https://www.adyen.com/legal/terms-and-conditions contact: name: Adyen Developer Experience team @@ -1442,8 +1442,9 @@ components: type: array creationDate: description: The creation date of the document. + format: date-time readOnly: true - $ref: '#/components/schemas/OffsetDateTime' + type: string description: description: Your description for the document. type: string @@ -1472,8 +1473,9 @@ components: type: string modificationDate: description: The modification date of the document. + format: date-time readOnly: true - $ref: '#/components/schemas/OffsetDateTime' + type: string number: description: The number in the document. type: string @@ -1827,10 +1829,6 @@ components: required: - firstName - lastName - OffsetDateTime: - properties: - offset: - $ref: '#/components/schemas/ZoneOffset' OnboardingLink: properties: url: @@ -2346,13 +2344,6 @@ components: enum: - noOnlinePresence type: string - ZoneOffset: - properties: - id: - type: string - totalSeconds: - format: int32 - type: integer securitySchemes: ApiKeyAuth: in: header diff --git a/yaml/LegalEntityService-v2.yaml b/yaml/LegalEntityService-v2.yaml index 745e54e..8784b38 100644 --- a/yaml/LegalEntityService-v2.yaml +++ b/yaml/LegalEntityService-v2.yaml @@ -20,7 +20,7 @@ info: ```\n## Going live\nWhen going live, your Adyen contact will provide your API\ \ credential for the live environment. You can then use the username and password\ \ to send requests to `https://kyc-live.adyen.com/lem/v2`.\n\n" - x-timestamp: '2022-12-05T17:26:47Z' + x-timestamp: '2022-12-12T16:23:28Z' termsOfService: https://www.adyen.com/legal/terms-and-conditions contact: name: Adyen Developer Experience team @@ -1570,8 +1570,9 @@ components: type: array creationDate: description: The creation date of the document. + format: date-time readOnly: true - $ref: '#/components/schemas/OffsetDateTime' + type: string description: description: Your description for the document. type: string @@ -1600,8 +1601,9 @@ components: type: string modificationDate: description: The modification date of the document. + format: date-time readOnly: true - $ref: '#/components/schemas/OffsetDateTime' + type: string number: description: The number in the document. type: string @@ -2005,10 +2007,6 @@ components: required: - firstName - lastName - OffsetDateTime: - properties: - offset: - $ref: '#/components/schemas/ZoneOffset' OnboardingLink: properties: url: @@ -2626,13 +2624,6 @@ components: enum: - noOnlinePresence type: string - ZoneOffset: - properties: - id: - type: string - totalSeconds: - format: int32 - type: integer securitySchemes: ApiKeyAuth: in: header