---
title: "Generate PCI questionnaire"
method: POST
path: "/legalEntities/{id}/pciQuestionnaires/generatePciTemplates"
tags: ["PCI questionnaires"]
---

# Generate PCI questionnaire

`POST /legalEntities/{id}/pciQuestionnaires/generatePciTemplates`

Generates the required PCI questionnaires based on the user's [salesChannel](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/businessLines__reqParam_salesChannels).

Requests to this endpoint are subject to rate limits:

- Live environments: 700 requests per 5 seconds.

- Test environments: 200 requests per 5 seconds.

- Failed requests are subject to a limit of 5 failures per 10 seconds.

## Path parameters

- `id` string, required

## Request body

- GeneratePciDescriptionRequest
  - `additionalSalesChannels` string[] — 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/platforms) and [add payment methods](https://docs.adyen.com/adyen-for-platforms-model) before you generate the questionnaires. Possible values: * **eCommerce** * **pos** * **ecomMoto** * **posMoto**
  - `language` string — 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**.

## Response `200`

OK - the request has succeeded.

- GeneratePciDescriptionResponse
  - `content` string, byte — The generated questionnaires in a base64 encoded format.
  - `language` string — The two-letter [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code for the questionnaire. For example, **en**.
  - `pciTemplateReferences` string[] — The array of Adyen-generated unique identifiers for the questionnaires. If empty, the user is not required to sign questionnaires.

## Other responses

- `400` — Bad Request - a problem reading or understanding the request.
- `401` — Unauthorized - authentication required.
- `403` — Forbidden - insufficient permissions to process the request.
- `422` — Unprocessable Entity - a request validation error.
- `500` — Internal Server Error - the server could not process the request.

---

[API](https://skmtc.net/adyen/apis/legalentityservice.md) · [All operations](https://skmtc.net/adyen/apis/legalentityservice/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/adyen/legalentityservice/revisions/d0097ab4e2e8/schema)
