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 19, 2023
1 parent 228421a commit d162301
Show file tree
Hide file tree
Showing 6 changed files with 165 additions and 48 deletions.
27 changes: 20 additions & 7 deletions json/LegalEntityService-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1470,7 +1470,7 @@
"PCI questionnaires"
],
"summary" : "Generate PCI questionnaire",
"description" : "Generates the required PCI questionnaire based on the user's [salesChannel](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__reqParam_salesChannels). If multiple questionnaires are required, this request creates a single consodilated document to be signed.",
"description" : "Generates the required PCI questionnaires based on the user's [salesChannel](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__reqParam_salesChannels).",
"x-addedInVersion" : "1",
"operationId" : "post-legalEntities-id-pciQuestionnaires-generatePciTemplates",
"x-groupName" : "PCI questionnaires",
Expand Down Expand Up @@ -3428,6 +3428,19 @@
},
"GeneratePciDescriptionRequest" : {
"properties" : {
"additionalSalesChannels" : {
"description" : "An array of additional sales channels to generate PCI questionnaires. Include the relevant sales channels if you need your user to sign PCI questionnaires. Not required if you [create stores](https://docs.adyen.com/marketplaces-and-platforms/additional-for-platform-setup/create-stores/) and [add payment methods](https://docs.adyen.com/marketplaces-and-platforms/payment-methods/) for your user.\n\nPossible values:\n* **eCommerce**\n* **pos**\n* **ecomMoto**\n* **posMoto**\n\n",
"items" : {
"enum" : [
"eCommerce",
"ecomMoto",
"pos",
"posMoto"
],
"type" : "string"
},
"type" : "array"
},
"language" : {
"description" : "Sets the language of the PCI questionnaire. Its value is a two-character [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code, for example, **en**.",
"type" : "string"
Expand Down Expand Up @@ -5366,15 +5379,15 @@
}
},
"post-legalEntities-id-pciQuestionnaires-generatePciTemplates-createPciQuestionnaire" : {
"summary" : "Generate the PCI questionnaire",
"description" : "Example request for generating the PCI questionnaire in French",
"summary" : "Generate PCI questionnaires",
"description" : "Example request for generating PCI questionnaires in French",
"value" : {
"language" : "fr"
}
},
"post-legalEntities-id-pciQuestionnaires-generatePciTemplates-createPciQuestionnaire-200" : {
"summary" : "PCI questionnaire returned",
"description" : "Example response for getting a PCI questionnaire",
"summary" : "PCI questionnaires returned",
"description" : "Example response for getting PCI questionnaires",
"value" : {
"content" : "JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==",
"language" : "fr",
Expand All @@ -5385,8 +5398,8 @@
}
},
"post-legalEntities-id-pciQuestionnaires-signPciTemplates-signPciQuestionnaire" : {
"summary" : "Sign the PCI questionnaires",
"description" : "Example request for signing the PCI questionnaires",
"summary" : "Sign PCI questionnaires",
"description" : "Example request for signing PCI questionnaires",
"value" : {
"signedBy" : "LE00000000000000000000002",
"pciTemplateReferences" : [
Expand Down
27 changes: 20 additions & 7 deletions json/LegalEntityService-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1596,7 +1596,7 @@
"PCI questionnaires"
],
"summary" : "Generate PCI questionnaire",
"description" : "Generates the required PCI questionnaire based on the user's [salesChannel](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__reqParam_salesChannels). If multiple questionnaires are required, this request creates a single consodilated document to be signed.",
"description" : "Generates the required PCI questionnaires based on the user's [salesChannel](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__reqParam_salesChannels).",
"x-addedInVersion" : "1",
"operationId" : "post-legalEntities-id-pciQuestionnaires-generatePciTemplates",
"x-groupName" : "PCI questionnaires",
Expand Down Expand Up @@ -3665,6 +3665,19 @@
},
"GeneratePciDescriptionRequest" : {
"properties" : {
"additionalSalesChannels" : {
"description" : "An array of additional sales channels to generate PCI questionnaires. Include the relevant sales channels if you need your user to sign PCI questionnaires. Not required if you [create stores](https://docs.adyen.com/marketplaces-and-platforms/additional-for-platform-setup/create-stores/) and [add payment methods](https://docs.adyen.com/marketplaces-and-platforms/payment-methods/) for your user.\n\nPossible values:\n* **eCommerce**\n* **pos**\n* **ecomMoto**\n* **posMoto**\n\n",
"items" : {
"enum" : [
"eCommerce",
"ecomMoto",
"pos",
"posMoto"
],
"type" : "string"
},
"type" : "array"
},
"language" : {
"description" : "Sets the language of the PCI questionnaire. Its value is a two-character [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code, for example, **en**.",
"type" : "string"
Expand Down Expand Up @@ -5945,15 +5958,15 @@
}
},
"post-legalEntities-id-pciQuestionnaires-generatePciTemplates-createPciQuestionnaire" : {
"summary" : "Generate the PCI questionnaire",
"description" : "Example request for generating the PCI questionnaire in French",
"summary" : "Generate PCI questionnaires",
"description" : "Example request for generating PCI questionnaires in French",
"value" : {
"language" : "fr"
}
},
"post-legalEntities-id-pciQuestionnaires-generatePciTemplates-createPciQuestionnaire-200" : {
"summary" : "PCI questionnaire returned",
"description" : "Example response for getting a PCI questionnaire",
"summary" : "PCI questionnaires returned",
"description" : "Example response for getting PCI questionnaires",
"value" : {
"content" : "JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==",
"language" : "fr",
Expand All @@ -5964,8 +5977,8 @@
}
},
"post-legalEntities-id-pciQuestionnaires-signPciTemplates-signPciQuestionnaire" : {
"summary" : "Sign the PCI questionnaires",
"description" : "Example request for signing the PCI questionnaires",
"summary" : "Sign PCI questionnaires",
"description" : "Example request for signing PCI questionnaires",
"value" : {
"signedBy" : "LE00000000000000000000002",
"pciTemplateReferences" : [
Expand Down
27 changes: 20 additions & 7 deletions json/LegalEntityService-v3.json
Original file line number Diff line number Diff line change
Expand Up @@ -1704,7 +1704,7 @@
"PCI questionnaires"
],
"summary" : "Generate PCI questionnaire",
"description" : "Generates the required PCI questionnaire based on the user's [salesChannel](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__reqParam_salesChannels). If multiple questionnaires are required, this request creates a single consodilated document to be signed.",
"description" : "Generates the required PCI questionnaires based on the user's [salesChannel](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__reqParam_salesChannels).",
"x-addedInVersion" : "1",
"operationId" : "post-legalEntities-id-pciQuestionnaires-generatePciTemplates",
"x-groupName" : "PCI questionnaires",
Expand Down Expand Up @@ -3993,6 +3993,19 @@
},
"GeneratePciDescriptionRequest" : {
"properties" : {
"additionalSalesChannels" : {
"description" : "An array of additional sales channels to generate PCI questionnaires. Include the relevant sales channels if you need your user to sign PCI questionnaires. Not required if you [create stores](https://docs.adyen.com/marketplaces-and-platforms/additional-for-platform-setup/create-stores/) and [add payment methods](https://docs.adyen.com/marketplaces-and-platforms/payment-methods/) for your user.\n\nPossible values:\n* **eCommerce**\n* **pos**\n* **ecomMoto**\n* **posMoto**\n\n",
"items" : {
"enum" : [
"eCommerce",
"ecomMoto",
"pos",
"posMoto"
],
"type" : "string"
},
"type" : "array"
},
"language" : {
"description" : "Sets the language of the PCI questionnaire. Its value is a two-character [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code, for example, **en**.",
"type" : "string"
Expand Down Expand Up @@ -6934,15 +6947,15 @@
}
},
"post-legalEntities-id-pciQuestionnaires-generatePciTemplates-createPciQuestionnaire" : {
"summary" : "Generate the PCI questionnaire",
"description" : "Example request for generating the PCI questionnaire in French",
"summary" : "Generate PCI questionnaires",
"description" : "Example request for generating PCI questionnaires in French",
"value" : {
"language" : "fr"
}
},
"post-legalEntities-id-pciQuestionnaires-generatePciTemplates-createPciQuestionnaire-200" : {
"summary" : "PCI questionnaire returned",
"description" : "Example response for getting a PCI questionnaire",
"summary" : "PCI questionnaires returned",
"description" : "Example response for getting PCI questionnaires",
"value" : {
"content" : "JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==",
"language" : "fr",
Expand All @@ -6953,8 +6966,8 @@
}
},
"post-legalEntities-id-pciQuestionnaires-signPciTemplates-signPciQuestionnaire" : {
"summary" : "Sign the PCI questionnaires",
"description" : "Example request for signing the PCI questionnaires",
"summary" : "Sign PCI questionnaires",
"description" : "Example request for signing PCI questionnaires",
"value" : {
"signedBy" : "LE00000000000000000000002",
"pciTemplateReferences" : [
Expand Down
44 changes: 35 additions & 9 deletions yaml/LegalEntityService-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -939,9 +939,7 @@ paths:
tags:
- PCI questionnaires
summary: Generate PCI questionnaire
description: Generates the required PCI questionnaire based on the user's [salesChannel](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__reqParam_salesChannels).
If multiple questionnaires are required, this request creates a single consodilated
document to be signed.
description: Generates the required PCI questionnaires based on the user's [salesChannel](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__reqParam_salesChannels).
x-addedInVersion: '1'
operationId: post-legalEntities-id-pciQuestionnaires-generatePciTemplates
x-groupName: PCI questionnaires
Expand Down Expand Up @@ -2306,6 +2304,34 @@ components:
type: object
GeneratePciDescriptionRequest:
properties:
additionalSalesChannels:
description: 'An array of additional sales channels to generate PCI questionnaires.
Include the relevant sales channels if you need your user to sign PCI
questionnaires. Not required if you [create stores](https://docs.adyen.com/marketplaces-and-platforms/additional-for-platform-setup/create-stores/)
and [add payment methods](https://docs.adyen.com/marketplaces-and-platforms/payment-methods/)
for your user.
Possible values:
* **eCommerce**
* **pos**
* **ecomMoto**
* **posMoto**
'
items:
enum:
- eCommerce
- ecomMoto
- pos
- posMoto
type: string
type: array
language:
description: Sets the language of the PCI questionnaire. Its value is a
two-character [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language
Expand Down Expand Up @@ -3968,22 +3994,22 @@ components:
value:
url: https://balanceplatform-test.adyen.com/balanceplatform/uo/form/xtl-...?signature=..&cd=..&redirectUrl=https%3A%2F%2Fyour.redirect-url.com%2F&expiry=1667226404807&locale=nl-NL
post-legalEntities-id-pciQuestionnaires-generatePciTemplates-createPciQuestionnaire:
summary: Generate the PCI questionnaire
description: Example request for generating the PCI questionnaire in French
summary: Generate PCI questionnaires
description: Example request for generating PCI questionnaires in French
value:
language: fr
post-legalEntities-id-pciQuestionnaires-generatePciTemplates-createPciQuestionnaire-200:
summary: PCI questionnaire returned
description: Example response for getting a PCI questionnaire
summary: PCI questionnaires returned
description: Example response for getting PCI questionnaires
value:
content: JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==
language: fr
pciTemplateReferences:
- PCIT-T7KC6VGL
- PCIT-PKB6DKS4
post-legalEntities-id-pciQuestionnaires-signPciTemplates-signPciQuestionnaire:
summary: Sign the PCI questionnaires
description: Example request for signing the PCI questionnaires
summary: Sign PCI questionnaires
description: Example request for signing PCI questionnaires
value:
signedBy: LE00000000000000000000002
pciTemplateReferences:
Expand Down
44 changes: 35 additions & 9 deletions yaml/LegalEntityService-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1015,9 +1015,7 @@ paths:
tags:
- PCI questionnaires
summary: Generate PCI questionnaire
description: Generates the required PCI questionnaire based on the user's [salesChannel](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__reqParam_salesChannels).
If multiple questionnaires are required, this request creates a single consodilated
document to be signed.
description: Generates the required PCI questionnaires based on the user's [salesChannel](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__reqParam_salesChannels).
x-addedInVersion: '1'
operationId: post-legalEntities-id-pciQuestionnaires-generatePciTemplates
x-groupName: PCI questionnaires
Expand Down Expand Up @@ -2484,6 +2482,34 @@ components:
type: object
GeneratePciDescriptionRequest:
properties:
additionalSalesChannels:
description: 'An array of additional sales channels to generate PCI questionnaires.
Include the relevant sales channels if you need your user to sign PCI
questionnaires. Not required if you [create stores](https://docs.adyen.com/marketplaces-and-platforms/additional-for-platform-setup/create-stores/)
and [add payment methods](https://docs.adyen.com/marketplaces-and-platforms/payment-methods/)
for your user.
Possible values:
* **eCommerce**
* **pos**
* **ecomMoto**
* **posMoto**
'
items:
enum:
- eCommerce
- ecomMoto
- pos
- posMoto
type: string
type: array
language:
description: Sets the language of the PCI questionnaire. Its value is a
two-character [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language
Expand Down Expand Up @@ -4467,22 +4493,22 @@ components:
value:
url: https://balanceplatform-test.adyen.com/balanceplatform/uo/form/xtl-...?signature=..&cd=..&redirectUrl=https%3A%2F%2Fyour.redirect-url.com%2F&expiry=1667226404807&locale=nl-NL
post-legalEntities-id-pciQuestionnaires-generatePciTemplates-createPciQuestionnaire:
summary: Generate the PCI questionnaire
description: Example request for generating the PCI questionnaire in French
summary: Generate PCI questionnaires
description: Example request for generating PCI questionnaires in French
value:
language: fr
post-legalEntities-id-pciQuestionnaires-generatePciTemplates-createPciQuestionnaire-200:
summary: PCI questionnaire returned
description: Example response for getting a PCI questionnaire
summary: PCI questionnaires returned
description: Example response for getting PCI questionnaires
value:
content: JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBv+f/ub0j6JPRX+E3EmC==
language: fr
pciTemplateReferences:
- PCIT-T7KC6VGL
- PCIT-PKB6DKS4
post-legalEntities-id-pciQuestionnaires-signPciTemplates-signPciQuestionnaire:
summary: Sign the PCI questionnaires
description: Example request for signing the PCI questionnaires
summary: Sign PCI questionnaires
description: Example request for signing PCI questionnaires
value:
signedBy: LE00000000000000000000002
pciTemplateReferences:
Expand Down
Loading

0 comments on commit d162301

Please sign in to comment.