diff --git a/json/LegalEntityService-v1.json b/json/LegalEntityService-v1.json index 584a98de..01b22aa0 100644 --- a/json/LegalEntityService-v1.json +++ b/json/LegalEntityService-v1.json @@ -1948,6 +1948,11 @@ "requestBody" : { "content" : { "application/json" : { + "examples" : { + "updateTermsofService" : { + "$ref" : "#/components/examples/patch-legalEntities-id-termsOfService-termsofservicedocumentid-updateTermsofService" + } + }, "schema" : { "$ref" : "#/components/schemas/AcceptTermsOfServiceRequest" } @@ -1978,6 +1983,11 @@ "200" : { "content" : { "application/json" : { + "examples" : { + "updateTermsofService" : { + "$ref" : "#/components/examples/patch-legalEntities-id-termsOfService-termsofservicedocumentid-updateTermsofService-200" + } + }, "schema" : { "$ref" : "#/components/schemas/AcceptTermsOfServiceResponse" } @@ -3402,8 +3412,8 @@ } }, "required" : [ - "type", - "description" + "description", + "type" ], "type" : "object" }, @@ -3514,6 +3524,10 @@ "type" : "string" } }, + "required" : [ + "type", + "language" + ], "type" : "object" }, "GetTermsOfServiceDocumentResponse" : { @@ -4961,6 +4975,26 @@ "id" : "YOUR_LEGAL_ENTITY" } }, + "patch-legalEntities-id-termsOfService-termsofservicedocumentid-updateTermsofService" : { + "summary" : "Accept the Terms of Service document", + "description" : "Example request for accepting the Terms of Service document", + "value" : { + "acceptedBy" : "YOUR_LEGAL_ENTITY", + "ipAddress" : "82.199.87.148" + } + }, + "patch-legalEntities-id-termsOfService-termsofservicedocumentid-updateTermsofService-200" : { + "summary" : "Terms of Service document accepted", + "description" : "Example response when accepting a Terms of Service document", + "value" : { + "acceptedBy" : "LE00000000000000000000002", + "id" : "TOSA000AB00000000B2AAAB2BA0AA0", + "ipAddress" : "82.199.87.148", + "language" : "en", + "termsOfServiceDocumentId" : "abc123", + "type" : "adyenIssuing" + } + }, "patch-legalEntities-id-updateLegalEntityOrganization" : { "summary" : "Add entity associations to an organization", "description" : "Example request adding entity associations to a legal entity", diff --git a/json/LegalEntityService-v2.json b/json/LegalEntityService-v2.json index cf50c683..8a2c271f 100644 --- a/json/LegalEntityService-v2.json +++ b/json/LegalEntityService-v2.json @@ -2074,6 +2074,11 @@ "requestBody" : { "content" : { "application/json" : { + "examples" : { + "updateTermsofService" : { + "$ref" : "#/components/examples/patch-legalEntities-id-termsOfService-termsofservicedocumentid-updateTermsofService" + } + }, "schema" : { "$ref" : "#/components/schemas/AcceptTermsOfServiceRequest" } @@ -2104,6 +2109,11 @@ "200" : { "content" : { "application/json" : { + "examples" : { + "updateTermsofService" : { + "$ref" : "#/components/examples/patch-legalEntities-id-termsOfService-termsofservicedocumentid-updateTermsofService-200" + } + }, "schema" : { "$ref" : "#/components/schemas/AcceptTermsOfServiceResponse" } @@ -3582,8 +3592,8 @@ } }, "required" : [ - "type", - "description" + "description", + "type" ], "type" : "object" }, @@ -3751,6 +3761,10 @@ "type" : "string" } }, + "required" : [ + "type", + "language" + ], "type" : "object" }, "GetTermsOfServiceDocumentResponse" : { @@ -5402,6 +5416,26 @@ "id" : "YOUR_LEGAL_ENTITY" } }, + "patch-legalEntities-id-termsOfService-termsofservicedocumentid-updateTermsofService" : { + "summary" : "Accept the Terms of Service document", + "description" : "Example request for accepting the Terms of Service document", + "value" : { + "acceptedBy" : "YOUR_LEGAL_ENTITY", + "ipAddress" : "82.199.87.148" + } + }, + "patch-legalEntities-id-termsOfService-termsofservicedocumentid-updateTermsofService-200" : { + "summary" : "Terms of Service document accepted", + "description" : "Example response when accepting a Terms of Service document", + "value" : { + "acceptedBy" : "LE00000000000000000000002", + "id" : "TOSA000AB00000000B2AAAB2BA0AA0", + "ipAddress" : "82.199.87.148", + "language" : "en", + "termsOfServiceDocumentId" : "abc123", + "type" : "adyenIssuing" + } + }, "patch-legalEntities-id-updateLegalEntityOrganization" : { "summary" : "Add entity associations to an organization", "description" : "Example request adding entity associations to a legal entity", diff --git a/json/LegalEntityService-v3.json b/json/LegalEntityService-v3.json index 7fb3871e..7cced9ad 100644 --- a/json/LegalEntityService-v3.json +++ b/json/LegalEntityService-v3.json @@ -2182,6 +2182,11 @@ "requestBody" : { "content" : { "application/json" : { + "examples" : { + "updateTermsofService" : { + "$ref" : "#/components/examples/patch-legalEntities-id-termsOfService-termsofservicedocumentid-updateTermsofService" + } + }, "schema" : { "$ref" : "#/components/schemas/AcceptTermsOfServiceRequest" } @@ -2212,6 +2217,11 @@ "200" : { "content" : { "application/json" : { + "examples" : { + "updateTermsofService" : { + "$ref" : "#/components/examples/patch-legalEntities-id-termsOfService-termsofservicedocumentid-updateTermsofService-200" + } + }, "schema" : { "$ref" : "#/components/schemas/AcceptTermsOfServiceResponse" } @@ -3319,6 +3329,9 @@ { "$ref" : "#/components/schemas/NOLocalAccountIdentification" }, + { + "$ref" : "#/components/schemas/NZLocalAccountIdentification" + }, { "$ref" : "#/components/schemas/NumberAndBicAccountIdentification" }, @@ -3907,8 +3920,8 @@ } }, "required" : [ - "type", - "description" + "description", + "type" ], "type" : "object" }, @@ -4076,6 +4089,10 @@ "type" : "string" } }, + "required" : [ + "type", + "language" + ], "type" : "object" }, "GetTermsOfServiceDocumentResponse" : { @@ -4626,6 +4643,30 @@ ], "type" : "object" }, + "NZLocalAccountIdentification" : { + "additionalProperties" : false, + "properties" : { + "accountNumber" : { + "description" : "The 15- to 16-digit bank account number, where first (2 digits) is bank number, where second (4 digits) is branch number, where next (7 digits) is the account number and last (2 or 3 digits) is the suffix.", + "maxLength" : 16, + "minLength" : 15, + "type" : "string" + }, + "type" : { + "default" : "nzLocal", + "description" : "**nzLocal**", + "enum" : [ + "nzLocal" + ], + "type" : "string" + } + }, + "required" : [ + "type", + "accountNumber" + ], + "type" : "object" + }, "Name" : { "properties" : { "firstName" : { @@ -6144,6 +6185,26 @@ "id" : "YOUR_LEGAL_ENTITY" } }, + "patch-legalEntities-id-termsOfService-termsofservicedocumentid-updateTermsofService" : { + "summary" : "Accept the Terms of Service document", + "description" : "Example request for accepting the Terms of Service document", + "value" : { + "acceptedBy" : "YOUR_LEGAL_ENTITY", + "ipAddress" : "82.199.87.148" + } + }, + "patch-legalEntities-id-termsOfService-termsofservicedocumentid-updateTermsofService-200" : { + "summary" : "Terms of Service document accepted", + "description" : "Example response when accepting a Terms of Service document", + "value" : { + "acceptedBy" : "LE00000000000000000000002", + "id" : "TOSA000AB00000000B2AAAB2BA0AA0", + "ipAddress" : "82.199.87.148", + "language" : "en", + "termsOfServiceDocumentId" : "abc123", + "type" : "adyenIssuing" + } + }, "patch-legalEntities-id-updateLegalEntityOrganization" : { "summary" : "Add entity associations to an organization", "description" : "Example request adding entity associations to a legal entity", diff --git a/yaml/LegalEntityService-v1.yaml b/yaml/LegalEntityService-v1.yaml index 34784197..deac16ce 100644 --- a/yaml/LegalEntityService-v1.yaml +++ b/yaml/LegalEntityService-v1.yaml @@ -1225,6 +1225,9 @@ paths: requestBody: content: application/json: + examples: + updateTermsofService: + $ref: '#/components/examples/patch-legalEntities-id-termsOfService-termsofservicedocumentid-updateTermsofService' schema: $ref: '#/components/schemas/AcceptTermsOfServiceRequest' parameters: @@ -1244,6 +1247,9 @@ paths: '200': content: application/json: + examples: + updateTermsofService: + $ref: '#/components/examples/patch-legalEntities-id-termsOfService-termsofservicedocumentid-updateTermsofService-200' schema: $ref: '#/components/schemas/AcceptTermsOfServiceResponse' description: OK - the request has succeeded. @@ -2276,8 +2282,8 @@ components: - proofOfIndustry type: string required: - - type - description + - type type: object EntityReference: properties: @@ -2363,6 +2369,9 @@ components: - adyenFranchisee - adyenIssuing type: string + required: + - type + - language type: object GetTermsOfServiceDocumentResponse: properties: @@ -3671,6 +3680,22 @@ components: country: US type: individual id: YOUR_LEGAL_ENTITY + patch-legalEntities-id-termsOfService-termsofservicedocumentid-updateTermsofService: + summary: Accept the Terms of Service document + description: Example request for accepting the Terms of Service document + value: + acceptedBy: YOUR_LEGAL_ENTITY + ipAddress: 82.199.87.148 + patch-legalEntities-id-termsOfService-termsofservicedocumentid-updateTermsofService-200: + summary: Terms of Service document accepted + description: Example response when accepting a Terms of Service document + value: + acceptedBy: LE00000000000000000000002 + id: TOSA000AB00000000B2AAAB2BA0AA0 + ipAddress: 82.199.87.148 + language: en + termsOfServiceDocumentId: abc123 + type: adyenIssuing patch-legalEntities-id-updateLegalEntityOrganization: summary: Add entity associations to an organization description: Example request adding entity associations to a legal entity diff --git a/yaml/LegalEntityService-v2.yaml b/yaml/LegalEntityService-v2.yaml index f58286d2..31663ff7 100644 --- a/yaml/LegalEntityService-v2.yaml +++ b/yaml/LegalEntityService-v2.yaml @@ -1301,6 +1301,9 @@ paths: requestBody: content: application/json: + examples: + updateTermsofService: + $ref: '#/components/examples/patch-legalEntities-id-termsOfService-termsofservicedocumentid-updateTermsofService' schema: $ref: '#/components/schemas/AcceptTermsOfServiceRequest' parameters: @@ -1320,6 +1323,9 @@ paths: '200': content: application/json: + examples: + updateTermsofService: + $ref: '#/components/examples/patch-legalEntities-id-termsOfService-termsofservicedocumentid-updateTermsofService-200' schema: $ref: '#/components/schemas/AcceptTermsOfServiceResponse' description: OK - the request has succeeded. @@ -2412,8 +2418,8 @@ components: - proofOfFundingOrWealthSource type: string required: - - type - description + - type type: object DocumentPage: properties: @@ -2541,6 +2547,9 @@ components: - adyenFranchisee - adyenIssuing type: string + required: + - type + - language type: object GetTermsOfServiceDocumentResponse: properties: @@ -4038,6 +4047,22 @@ components: country: US type: individual id: YOUR_LEGAL_ENTITY + patch-legalEntities-id-termsOfService-termsofservicedocumentid-updateTermsofService: + summary: Accept the Terms of Service document + description: Example request for accepting the Terms of Service document + value: + acceptedBy: YOUR_LEGAL_ENTITY + ipAddress: 82.199.87.148 + patch-legalEntities-id-termsOfService-termsofservicedocumentid-updateTermsofService-200: + summary: Terms of Service document accepted + description: Example response when accepting a Terms of Service document + value: + acceptedBy: LE00000000000000000000002 + id: TOSA000AB00000000B2AAAB2BA0AA0 + ipAddress: 82.199.87.148 + language: en + termsOfServiceDocumentId: abc123 + type: adyenIssuing patch-legalEntities-id-updateLegalEntityOrganization: summary: Add entity associations to an organization description: Example request adding entity associations to a legal entity diff --git a/yaml/LegalEntityService-v3.yaml b/yaml/LegalEntityService-v3.yaml index 422ad70b..e9fea186 100644 --- a/yaml/LegalEntityService-v3.yaml +++ b/yaml/LegalEntityService-v3.yaml @@ -1367,6 +1367,9 @@ paths: requestBody: content: application/json: + examples: + updateTermsofService: + $ref: '#/components/examples/patch-legalEntities-id-termsOfService-termsofservicedocumentid-updateTermsofService' schema: $ref: '#/components/schemas/AcceptTermsOfServiceRequest' parameters: @@ -1386,6 +1389,9 @@ paths: '200': content: application/json: + examples: + updateTermsofService: + $ref: '#/components/examples/patch-legalEntities-id-termsOfService-termsofservicedocumentid-updateTermsofService-200' schema: $ref: '#/components/schemas/AcceptTermsOfServiceResponse' description: OK - the request has succeeded. @@ -2121,6 +2127,7 @@ components: - $ref: '#/components/schemas/HULocalAccountIdentification' - $ref: '#/components/schemas/IbanAccountIdentification' - $ref: '#/components/schemas/NOLocalAccountIdentification' + - $ref: '#/components/schemas/NZLocalAccountIdentification' - $ref: '#/components/schemas/NumberAndBicAccountIdentification' - $ref: '#/components/schemas/PLLocalAccountIdentification' - $ref: '#/components/schemas/SELocalAccountIdentification' @@ -2648,8 +2655,8 @@ components: - proofOfFundingOrWealthSource type: string required: - - type - description + - type type: object DocumentPage: properties: @@ -2777,6 +2784,9 @@ components: - adyenFranchisee - adyenIssuing type: string + required: + - type + - language type: object GetTermsOfServiceDocumentResponse: properties: @@ -3301,6 +3311,26 @@ components: - type - accountNumber type: object + NZLocalAccountIdentification: + additionalProperties: false + properties: + accountNumber: + description: The 15- to 16-digit bank account number, where first (2 digits) + is bank number, where second (4 digits) is branch number, where next (7 + digits) is the account number and last (2 or 3 digits) is the suffix. + maxLength: 16 + minLength: 15 + type: string + type: + default: nzLocal + description: '**nzLocal**' + enum: + - nzLocal + type: string + required: + - type + - accountNumber + type: object Name: properties: firstName: @@ -4619,6 +4649,22 @@ components: country: US type: individual id: YOUR_LEGAL_ENTITY + patch-legalEntities-id-termsOfService-termsofservicedocumentid-updateTermsofService: + summary: Accept the Terms of Service document + description: Example request for accepting the Terms of Service document + value: + acceptedBy: YOUR_LEGAL_ENTITY + ipAddress: 82.199.87.148 + patch-legalEntities-id-termsOfService-termsofservicedocumentid-updateTermsofService-200: + summary: Terms of Service document accepted + description: Example response when accepting a Terms of Service document + value: + acceptedBy: LE00000000000000000000002 + id: TOSA000AB00000000B2AAAB2BA0AA0 + ipAddress: 82.199.87.148 + language: en + termsOfServiceDocumentId: abc123 + type: adyenIssuing patch-legalEntities-id-updateLegalEntityOrganization: summary: Add entity associations to an organization description: Example request adding entity associations to a legal entity