Skip to content

Commit

Permalink
spec release
Browse files Browse the repository at this point in the history
  • Loading branch information
Adyen Automation committed Oct 2, 2024
1 parent d9806c4 commit 84ec2f6
Show file tree
Hide file tree
Showing 6 changed files with 154 additions and 96 deletions.
13 changes: 9 additions & 4 deletions json/LegalEntityService-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2898,11 +2898,12 @@
"type" : "string"
},
"type" : {
"description" : "The type of Terms of Service.\n\nPossible values:\n* **adyenForPlatformsManage**\n* **adyenIssuing**\n* **adyenForPlatformsAdvanced**\n* **adyenCapital**\n* **adyenAccount**\n* **adyenCard**\n* **adyenFranchisee**\n* **adyenPccr**\n\n",
"description" : "The type of Terms of Service.\n\nPossible values:\n* **adyenForPlatformsManage**\n* **adyenIssuing**\n* **adyenForPlatformsAdvanced**\n* **adyenCapital**\n* **adyenAccount**\n* **adyenCard**\n* **adyenFranchisee**\n* **adyenPccr**\n* **adyenChargeCard**\n\n",
"enum" : [
"adyenAccount",
"adyenCapital",
"adyenCard",
"adyenChargeCard",
"adyenForPlatformsAdvanced",
"adyenForPlatformsManage",
"adyenFranchisee",
Expand Down Expand Up @@ -3192,6 +3193,7 @@
"adyenAccount",
"adyenCapital",
"adyenCard",
"adyenChargeCard",
"adyenForPlatformsAdvanced",
"adyenForPlatformsManage",
"adyenFranchisee",
Expand Down Expand Up @@ -3527,11 +3529,12 @@
"type" : "string"
},
"type" : {
"description" : "The type of Terms of Service.\n\nPossible values:\n* **adyenForPlatformsManage**\n* **adyenIssuing**\n* **adyenForPlatformsAdvanced**\n* **adyenCapital**\n* **adyenAccount**\n* **adyenCard**\n* **adyenFranchisee**\n* **adyenPccr**\n\n",
"description" : "The type of Terms of Service.\n\nPossible values:\n* **adyenForPlatformsManage**\n* **adyenIssuing**\n* **adyenForPlatformsAdvanced**\n* **adyenCapital**\n* **adyenAccount**\n* **adyenCard**\n* **adyenFranchisee**\n* **adyenPccr**\n* **adyenChargeCard**\n\n",
"enum" : [
"adyenAccount",
"adyenCapital",
"adyenCard",
"adyenChargeCard",
"adyenForPlatformsAdvanced",
"adyenForPlatformsManage",
"adyenFranchisee",
Expand Down Expand Up @@ -3572,11 +3575,12 @@
"type" : "string"
},
"type" : {
"description" : "The type of Terms of Service.\n\nPossible values:\n* **adyenForPlatformsManage**\n* **adyenIssuing**\n* **adyenForPlatformsAdvanced**\n* **adyenCapital**\n* **adyenAccount**\n* **adyenCard**\n* **adyenFranchisee**\n* **adyenPccr**\n\n",
"description" : "The type of Terms of Service.\n\nPossible values:\n* **adyenForPlatformsManage**\n* **adyenIssuing**\n* **adyenForPlatformsAdvanced**\n* **adyenCapital**\n* **adyenAccount**\n* **adyenCard**\n* **adyenFranchisee**\n* **adyenPccr**\n* **adyenChargeCard**\n\n",
"enum" : [
"adyenAccount",
"adyenCapital",
"adyenCard",
"adyenChargeCard",
"adyenForPlatformsAdvanced",
"adyenForPlatformsManage",
"adyenFranchisee",
Expand Down Expand Up @@ -4444,11 +4448,12 @@
"type" : "string"
},
"type" : {
"description" : "The type of Terms of Service.\n\nPossible values:\n* **adyenForPlatformsManage**\n* **adyenIssuing**\n* **adyenForPlatformsAdvanced**\n* **adyenCapital**\n* **adyenAccount**\n* **adyenCard**\n* **adyenFranchisee**\n* **adyenPccr**\n\n",
"description" : "The type of Terms of Service.\n\nPossible values:\n* **adyenForPlatformsManage**\n* **adyenIssuing**\n* **adyenForPlatformsAdvanced**\n* **adyenCapital**\n* **adyenAccount**\n* **adyenCard**\n* **adyenFranchisee**\n* **adyenPccr**\n* **adyenChargeCard**\n\n",
"enum" : [
"adyenAccount",
"adyenCapital",
"adyenCard",
"adyenChargeCard",
"adyenForPlatformsAdvanced",
"adyenForPlatformsManage",
"adyenFranchisee",
Expand Down
26 changes: 9 additions & 17 deletions json/LegalEntityService-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3047,11 +3047,12 @@
"type" : "string"
},
"type" : {
"description" : "The type of Terms of Service.\n\nPossible values:\n* **adyenForPlatformsManage**\n* **adyenIssuing**\n* **adyenForPlatformsAdvanced**\n* **adyenCapital**\n* **adyenAccount**\n* **adyenCard**\n* **adyenFranchisee**\n* **adyenPccr**\n\n",
"description" : "The type of Terms of Service.\n\nPossible values:\n* **adyenForPlatformsManage**\n* **adyenIssuing**\n* **adyenForPlatformsAdvanced**\n* **adyenCapital**\n* **adyenAccount**\n* **adyenCard**\n* **adyenFranchisee**\n* **adyenPccr**\n* **adyenChargeCard**\n\n",
"enum" : [
"adyenAccount",
"adyenCapital",
"adyenCard",
"adyenChargeCard",
"adyenForPlatformsAdvanced",
"adyenForPlatformsManage",
"adyenFranchisee",
Expand Down Expand Up @@ -3325,23 +3326,10 @@
"BusinessLineInfoUpdate" : {
"additionalProperties" : false,
"properties" : {
"capability" : {
"description" : "The capability for which you are creating the business line. For example, **receivePayments**.",
"enum" : [
"receivePayments",
"receiveFromPlatformPayments",
"issueBankAccount"
],
"type" : "string"
},
"industryCode" : {
"description" : "A code that represents the industry of your legal entity. For example, **4431A** for computer software stores.",
"type" : "string"
},
"legalEntityId" : {
"description" : "Unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the business line.",
"type" : "string"
},
"salesChannels" : {
"description" : "A list of channels where goods or services are sold.\n\nPossible values: **pos**, **posMoto**, **eCommerce**, **ecomMoto**, **payByLink**.\n\nRequired only in combination with the `capability` to **receivePayments** or **receiveFromPlatformPayments**.",
"items" : {
Expand Down Expand Up @@ -3393,6 +3381,7 @@
"adyenAccount",
"adyenCapital",
"adyenCard",
"adyenChargeCard",
"adyenForPlatformsAdvanced",
"adyenForPlatformsManage",
"adyenFranchisee",
Expand Down Expand Up @@ -3794,11 +3783,12 @@
"type" : "string"
},
"type" : {
"description" : "The type of Terms of Service.\n\nPossible values:\n* **adyenForPlatformsManage**\n* **adyenIssuing**\n* **adyenForPlatformsAdvanced**\n* **adyenCapital**\n* **adyenAccount**\n* **adyenCard**\n* **adyenFranchisee**\n* **adyenPccr**\n\n",
"description" : "The type of Terms of Service.\n\nPossible values:\n* **adyenForPlatformsManage**\n* **adyenIssuing**\n* **adyenForPlatformsAdvanced**\n* **adyenCapital**\n* **adyenAccount**\n* **adyenCard**\n* **adyenFranchisee**\n* **adyenPccr**\n* **adyenChargeCard**\n\n",
"enum" : [
"adyenAccount",
"adyenCapital",
"adyenCard",
"adyenChargeCard",
"adyenForPlatformsAdvanced",
"adyenForPlatformsManage",
"adyenFranchisee",
Expand Down Expand Up @@ -3839,11 +3829,12 @@
"type" : "string"
},
"type" : {
"description" : "The type of Terms of Service.\n\nPossible values:\n* **adyenForPlatformsManage**\n* **adyenIssuing**\n* **adyenForPlatformsAdvanced**\n* **adyenCapital**\n* **adyenAccount**\n* **adyenCard**\n* **adyenFranchisee**\n* **adyenPccr**\n\n",
"description" : "The type of Terms of Service.\n\nPossible values:\n* **adyenForPlatformsManage**\n* **adyenIssuing**\n* **adyenForPlatformsAdvanced**\n* **adyenCapital**\n* **adyenAccount**\n* **adyenCard**\n* **adyenFranchisee**\n* **adyenPccr**\n* **adyenChargeCard**\n\n",
"enum" : [
"adyenAccount",
"adyenCapital",
"adyenCard",
"adyenChargeCard",
"adyenForPlatformsAdvanced",
"adyenForPlatformsManage",
"adyenFranchisee",
Expand Down Expand Up @@ -4938,11 +4929,12 @@
"type" : "string"
},
"type" : {
"description" : "The type of Terms of Service.\n\nPossible values:\n* **adyenForPlatformsManage**\n* **adyenIssuing**\n* **adyenForPlatformsAdvanced**\n* **adyenCapital**\n* **adyenAccount**\n* **adyenCard**\n* **adyenFranchisee**\n* **adyenPccr**\n\n",
"description" : "The type of Terms of Service.\n\nPossible values:\n* **adyenForPlatformsManage**\n* **adyenIssuing**\n* **adyenForPlatformsAdvanced**\n* **adyenCapital**\n* **adyenAccount**\n* **adyenCard**\n* **adyenFranchisee**\n* **adyenPccr**\n* **adyenChargeCard**\n\n",
"enum" : [
"adyenAccount",
"adyenCapital",
"adyenCard",
"adyenChargeCard",
"adyenForPlatformsAdvanced",
"adyenForPlatformsManage",
"adyenFranchisee",
Expand Down
89 changes: 60 additions & 29 deletions json/LegalEntityService-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -1175,6 +1175,9 @@
"updateLegalEntitySoleProp" : {
"$ref" : "#/components/examples/patch-legalEntities-id-updateLegalEntitySoleProp"
},
"updateLegalRepresentative" : {
"$ref" : "#/components/examples/patch-legalEntities-id-updateLegalRepresentative"
},
"updateTrustMember" : {
"$ref" : "#/components/examples/patch-legalEntities-id-updateTrustMember"
},
Expand Down Expand Up @@ -1222,6 +1225,9 @@
"updateLegalEntitySoleProp" : {
"$ref" : "#/components/examples/patch-legalEntities-id-updateLegalEntitySoleProp-200"
},
"updateLegalRepresentative" : {
"$ref" : "#/components/examples/patch-legalEntities-id-updateLegalRepresentative-200"
},
"updateTrustMember" : {
"$ref" : "#/components/examples/patch-legalEntities-id-updateTrustMember-200"
},
Expand Down Expand Up @@ -3286,11 +3292,12 @@
"type" : "string"
},
"type" : {
"description" : "The type of Terms of Service.\n\nPossible values:\n* **adyenForPlatformsManage**\n* **adyenIssuing**\n* **adyenForPlatformsAdvanced**\n* **adyenCapital**\n* **adyenAccount**\n* **adyenCard**\n* **adyenFranchisee**\n* **adyenPccr**\n\n",
"description" : "The type of Terms of Service.\n\nPossible values:\n* **adyenForPlatformsManage**\n* **adyenIssuing**\n* **adyenForPlatformsAdvanced**\n* **adyenCapital**\n* **adyenAccount**\n* **adyenCard**\n* **adyenFranchisee**\n* **adyenPccr**\n* **adyenChargeCard**\n\n",
"enum" : [
"adyenAccount",
"adyenCapital",
"adyenCard",
"adyenChargeCard",
"adyenForPlatformsAdvanced",
"adyenForPlatformsManage",
"adyenFranchisee",
Expand Down Expand Up @@ -3630,42 +3637,17 @@
"BusinessLineInfoUpdate" : {
"additionalProperties" : false,
"properties" : {
"capability" : {
"deprecated" : true,
"x-deprecatedInVersion" : "3",
"x-deprecatedMessage" : "Use `service` instead.",
"description" : "The capability for which you are creating the business line. For example, **receivePayments**.",
"enum" : [
"receivePayments",
"receiveFromPlatformPayments",
"issueBankAccount"
],
"type" : "string"
},
"industryCode" : {
"description" : "A code that represents the industry of your legal entity. For example, **4431A** for computer software stores.",
"type" : "string"
},
"legalEntityId" : {
"description" : "Unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/legalEntities__resParam_id) that owns the business line.",
"type" : "string"
},
"salesChannels" : {
"description" : "A list of channels where goods or services are sold.\n\nPossible values: **pos**, **posMoto**, **eCommerce**, **ecomMoto**, **payByLink**.\n\nRequired only in combination with the `service` **paymentProcessing**.",
"items" : {
"type" : "string"
},
"type" : "array"
},
"service" : {
"x-addedInVersion" : "3",
"description" : "The service for which you are creating the business line.\n\n\n\nPossible values:\n* **paymentProcessing**\n* **banking**\n\n",
"enum" : [
"paymentProcessing",
"banking"
],
"type" : "string"
},
"sourceOfFunds" : {
"description" : "Contains information about the source of your user's funds. Required only for the `service` **banking**.",
"$ref" : "#/components/schemas/SourceOfFunds"
Expand Down Expand Up @@ -3788,6 +3770,7 @@
"adyenAccount",
"adyenCapital",
"adyenCard",
"adyenChargeCard",
"adyenForPlatformsAdvanced",
"adyenForPlatformsManage",
"adyenFranchisee",
Expand Down Expand Up @@ -4231,11 +4214,12 @@
"type" : "string"
},
"type" : {
"description" : "The type of Terms of Service.\n\nPossible values:\n* **adyenForPlatformsManage**\n* **adyenIssuing**\n* **adyenForPlatformsAdvanced**\n* **adyenCapital**\n* **adyenAccount**\n* **adyenCard**\n* **adyenFranchisee**\n* **adyenPccr**\n\n",
"description" : "The type of Terms of Service.\n\nPossible values:\n* **adyenForPlatformsManage**\n* **adyenIssuing**\n* **adyenForPlatformsAdvanced**\n* **adyenCapital**\n* **adyenAccount**\n* **adyenCard**\n* **adyenFranchisee**\n* **adyenPccr**\n* **adyenChargeCard**\n\n",
"enum" : [
"adyenAccount",
"adyenCapital",
"adyenCard",
"adyenChargeCard",
"adyenForPlatformsAdvanced",
"adyenForPlatformsManage",
"adyenFranchisee",
Expand Down Expand Up @@ -4276,11 +4260,12 @@
"type" : "string"
},
"type" : {
"description" : "The type of Terms of Service.\n\nPossible values:\n* **adyenForPlatformsManage**\n* **adyenIssuing**\n* **adyenForPlatformsAdvanced**\n* **adyenCapital**\n* **adyenAccount**\n* **adyenCard**\n* **adyenFranchisee**\n* **adyenPccr**\n\n",
"description" : "The type of Terms of Service.\n\nPossible values:\n* **adyenForPlatformsManage**\n* **adyenIssuing**\n* **adyenForPlatformsAdvanced**\n* **adyenCapital**\n* **adyenAccount**\n* **adyenCard**\n* **adyenFranchisee**\n* **adyenPccr**\n* **adyenChargeCard**\n\n",
"enum" : [
"adyenAccount",
"adyenCapital",
"adyenCard",
"adyenChargeCard",
"adyenForPlatformsAdvanced",
"adyenForPlatformsManage",
"adyenFranchisee",
Expand Down Expand Up @@ -5633,11 +5618,12 @@
"type" : "string"
},
"type" : {
"description" : "The type of Terms of Service.\n\nPossible values:\n* **adyenForPlatformsManage**\n* **adyenIssuing**\n* **adyenForPlatformsAdvanced**\n* **adyenCapital**\n* **adyenAccount**\n* **adyenCard**\n* **adyenFranchisee**\n* **adyenPccr**\n\n",
"description" : "The type of Terms of Service.\n\nPossible values:\n* **adyenForPlatformsManage**\n* **adyenIssuing**\n* **adyenForPlatformsAdvanced**\n* **adyenCapital**\n* **adyenAccount**\n* **adyenCard**\n* **adyenFranchisee**\n* **adyenPccr**\n* **adyenChargeCard**\n\n",
"enum" : [
"adyenAccount",
"adyenCapital",
"adyenCard",
"adyenChargeCard",
"adyenForPlatformsAdvanced",
"adyenForPlatformsManage",
"adyenFranchisee",
Expand Down Expand Up @@ -6752,6 +6738,51 @@
"id" : "LE00000000000000000000001"
}
},
"patch-legalEntities-id-updateLegalRepresentative" : {
"summary" : "Associate a legal representative with a minor user",
"description" : "Example request associating a legal representative with a minor user",
"value" : {
"entityAssociations" : [
{
"legalEntityId" : "LE00000000000000000000002",
"relationship" : "parent",
"type" : "legalRepresentative"
}
]
}
},
"patch-legalEntities-id-updateLegalRepresentative-200" : {
"summary" : "Legal representative associated",
"description" : "Example response for associating a legal representative with a minor user",
"value" : {
"entityAssociations" : [
{
"associatorId" : "LE00000000000000000000001",
"legalEntityId" : "LE00000000000000000000002",
"name" : "Simone Hopper",
"type" : "legalRepresentative"
}
],
"individual" : {
"email" : "[email protected]",
"birthData" : {
"dateOfBirth" : "1990-06-21"
},
"name" : {
"firstName" : "Shelly",
"lastName" : "Eller"
},
"residentialAddress" : {
"city" : "Amsterdam",
"country" : "NL",
"postalCode" : "1011DJ",
"street" : "Simon Carmiggeltstraat 6 - 50"
}
},
"type" : "individual",
"id" : "LE00000000000000000000001"
}
},
"patch-legalEntities-id-updateTrustMember" : {
"summary" : "Associate a trust member with a trust",
"description" : "Example request associating a trust member with a trust",
Expand Down
Loading

0 comments on commit 84ec2f6

Please sign in to comment.