> This page is for API, version 2026-01-01 (Stable) (default).
> For other versions, use one of these documentation indexes:
> - 2026-01-01 (Stable) (default): https://docs.deel.wtf/api/stable/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.deel.wtf/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.deel.wtf/_mcp/server.

# Submit EDD request answers for a legal entity

POST https://api.letsdeel.com/rest/legal-entities/{legal_entity_id}/kyb/edd
Content-Type: application/json

Answers the open enhanced due diligence (EDD) request of a legal entity with one answer per question listed in the `edd` block of the KYB state. The request then shows as `ANSWERED` in the KYB state until Deel resumes the review. Refused when the entity has no open EDD request, when the request is not the one the KYB state lists, and when the form cannot be answered over the API. Returns the KYB state after the answers.

 **Token scopes**: `legal-entity:write`

 **Beta**: this version requires the `X-Beta: true` request header and its contract may change before it is promoted to stable. It is scheduled to become stable on 2027-01-12.

Reference: https://docs.deel.wtf/api/reference/endpoints/legal-entities/answer-legal-entity-kyb-edd-v-2026-10-12

## Authentication

- `Authorization` header (bearer token, required) — ## Authentication The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail. ```curl curl -X GET 'https://api.deel.training/rest/v2/contracts' \ -H 'Authorization: Bearer YOUR-TOKEN-HERE' ``` [Learn more about authentication](/api/authentication)
- `Authorization` header (bearer token, required) — Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/

## Servers

- `https://api.letsdeel.com/rest` (Production, default)
- `https://api-staging.letsdeel.com/rest` (Demo)

## Request

### Path parameters

- `legal_entity_id` (string, required) — Public id of the legal entity. The entity must belong to the authenticated organization; any other id answers 404.

### Headers

- `X-Beta` (enum, required, default: true) — Opts in to the beta version of this endpoint. Must be `true`.
  - Allowed values: `true`

### Body (application/json)

This endpoint expects an object.

- `data` (LegalEntitiesLegalEntityIdKybEddPostRequestBodyContentApplicationJsonSchemaData, required)

## Response

### 200

The answers were recorded. The KYB state after the answers.

- `data` (LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaData, required)

## Errors

### 400 Bad Request Error

Bad request. Codes: VALIDATION_ERROR (the body failed validation), KYB_EDD_ANSWERS_INVALID (an answer is missing, does not match its question, or names an unknown question; `details.keys` lists the question keys). Nothing was recorded.

- `errors` (list of LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaErrorsItems, required)

### 401 Unauthorized Error

Unauthorized. The request token is missing or invalid. The API gateway rejects an unauthenticated call before it reaches Deel; a call that reaches Deel without a valid session is rejected by the access middleware, whose error item carries a message and no code.

- `errors` (list of LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaErrorsItems, required)

### 403 Forbidden Error

Forbidden. Codes: GENERIC_ERROR (the token lacks the `legal-entity:write` scope, or the actor cannot submit verification for this organization), KYB_SERVICE_ACCOUNT_MISSING (the organization has no service account to act as; contact Deel support).

- `errors` (list of LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaErrorsItems, required)

### 404 Not Found Error

Not found. The legal entity does not exist or does not belong to the authenticated organization. The two cases are deliberately indistinguishable.

- `errors` (list of LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaErrorsItems, required)

### 409 Conflict Error

Conflict. Codes: KYB_EDD_NOT_OPEN (the entity is not in EDD, or the request was already answered), KYB_EDD_REQUEST_MISMATCH (`edd_request_id` is not the open request; read the KYB state again), KYB_EDD_NOT_ANSWERABLE (the form has a required unsupported question, or it is addressed to another submitter, such as a person who submitted verification in the Deel app; `details.keys` lists blocking question keys when any).

- `errors` (list of LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaErrorsItems, required)

### 422 Unprocessable Entity Error

Unprocessable. Codes: KYB_EDD_ANSWERS_REJECTED (the form service did not record the answers; the request stays open; `details.reason` carries the form service's reason when it gave one and does not name the question), KYB_EDD_DOCUMENT_REFERENCE_INVALID (a document handle is unknown, expired, already used, belongs to another legal entity or EDD request, answers a different question, or is used for more than one field; `details.keys` lists the question keys). Nothing was recorded and the other handles stay usable.

- `errors` (list of LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaErrorsItems, required)

### 500 Internal Server Error

Operation failed.

- `request` (ApiErrorRequest, optional)
- `errors` (list of ApiError, optional)

### 503 Service Unavailable Error

Service unavailable. The EDD request or its form could not be read or written. Read the KYB state before retrying.

- `errors` (list of LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaErrorsItems, required)

## Types

### LegalEntitiesLegalEntityIdKybEddPostRequestBodyContentApplicationJsonSchemaData

- `answers` (list of LegalEntitiesLegalEntityIdKybEddPostRequestBodyContentApplicationJsonSchemaDataAnswersItems, required) — One answer per question key. Every required question needs an answer.
- `edd_request_id` (string, required) — The `edd.id` from the KYB state. A request that is no longer the open one is refused.

### LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaData

- `edd` (LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaDataEdd, required, nullable) — The open enhanced due diligence (EDD) request while the entity is in EDD: Deel needs further answers from the client before it continues the review. Null otherwise, and null while the entity is in EDD when the questions could not be read (retry later).
- `status` (enum, required) — The mapped lifecycle status of the legal entity, the same vocabulary as `status` on `GET /rest/legal-entities/{legal_entity_id}`.
  - Allowed values: `archived`, `active`, `draft`, `processing`, `processing_draft`, `pending_verification`, `awaiting_review`, `unknown`
- `persons` (list of LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaDataPersonsItems, required, nullable) — Declared persons of significant control: directors, controlling officers, owners and the submitter. Dates of birth, tax ids, addresses and identity documents are never returned; the person requirements in `requirements` show whether they were provided. Null when `is_detail_available` is false.
- `documents` (list of LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaDataDocumentsItems, required, nullable) — Presence of every company-level document type. Null when `is_detail_available` is false.
- `rejection` (LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaDataRejection, required, nullable) — Present only when the entity was rejected; null otherwise.
- `approved_at` (string, required, nullable) — When the entity was approved; null otherwise.
- `rejected_at` (string, required, nullable) — When the entity was last rejected; null otherwise.
- `requirements` (list of LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaDataRequirementsItems, required, nullable) — Everything the verification service currently requires for this entity, with whether each item is already satisfied. Empty when verification is not required. Null when `is_detail_available` is false.
- `submitted_at` (string, required, nullable) — When the verification record was created; null before the first submission.
- `questionnaire` (LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaDataQuestionnaire, required, nullable) — The industry questionnaire that applies to the legal entity, answered together with the first KYB submission and listed as the `INDUSTRY_QUESTIONNAIRE` requirement. Null when none applies.
- `legal_entity_id` (string, required) — Public id of the legal entity.
- `verification_type` (enum, required, nullable) — Depth of verification the entity is subject to, when known.
  - Allowed values: `NONE`, `LIGHT`, `FULL`
- `is_action_required` (boolean, required) — True while the entity is waiting on the client: `PENDING`, `DRAFT`, or `EDD` (enhanced due diligence — Ops needs something further from the client). False while Deel is reviewing or once the entity is approved, rejected or exempt.
- `is_detail_available` (boolean, required) — False when the verification service could not be read. Every detail block (`requirements`, `documents`, `persons`, `rejection`, `edd`) is then null. Retry later; the status fields are still authoritative.

### LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaErrorsItems

- `code` (enum, required) — Machine-readable error code.
  - Allowed values: `KYB_VERIFICATION_UNAVAILABLE`
- `message` (string, required) — Human-readable explanation of the error.
- `details` (LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaErrorsItemsDetails, optional) — Which request field the error refers to and, for a content-type or document-type error, the accepted values.

### ApiErrorRequest

- `method` (string, optional) — The HTTP method of the failed request
- `url` (string, optional) — The relative URL of the failed request
- `status` (double, optional) — The status code of the response
- `api_req_id` (string, optional) — The request ID of the failed request
- `docs` (string, optional) — A link to the official documentation for the requested endpoint resource
- `source` (string, optional) — The source handler which produced the returned error
- `code` (double, optional) — The code of the source handler which produced the returned error

### ApiError

- `message` (string, optional) — A description of the returned error
- `path` (string, optional) — The JSON path where input validation failed

### LegalEntitiesLegalEntityIdKybEddPostRequestBodyContentApplicationJsonSchemaDataAnswersItems

- `value` (LegalEntitiesLegalEntityIdKybEddPostRequestBodyContentApplicationJsonSchemaDataAnswersItemsValue, required) — The answer. `TEXT`, `LONG_TEXT`, `EMAIL`, `PHONE_NUMBER`: a string. `NUMBER`: a number. `DATE`: `YYYY-MM-DD`. `DATE_RANGE`: an object with `start_date` and `end_date`. `ADDRESS`: an object with `country` (ISO 3166-1 alpha-2 code), `state`, `city`, `street`, `number` and `zip_code`; all six are required when the question is required. `SINGLE_CHOICE`: one option title. `MULTIPLE_CHOICE`: a list of option titles. `DOCUMENT_UPLOAD`: a list of document handles from `POST /rest/legal-entities/{legal_entity_id}/kyb/edd/documents`. An empty value leaves an optional question unanswered.
- `question_key` (string, required) — The `key` of the question being answered.

### LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaDataEdd

The open enhanced due diligence (EDD) request while the entity is in EDD: Deel needs further answers from the client before it continues the review. Null otherwise, and null while the entity is in EDD when the questions could not be read (retry later).

- `id` (string, required) — Public id of the EDD request. Send it as `edd_request_id` when answering.
- `status` (enum, required) — `AWAITING_ANSWERS` until the answers are sent; `ANSWERED` once they are, until the entity is back in review.
  - Allowed values: `AWAITING_ANSWERS`, `ANSWERED`
- `questions` (list of LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaDataEddQuestionsItems, required) — Every question of the EDD form, in form order.
- `requested_at` (string, required, nullable) — When Deel requested the EDD.
- `is_answerable_over_api` (boolean, required) — False when the form has a required unsupported question. Contact Deel support to clear such a request.

### LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaDataPersonsItems

- `id` (string, required, nullable) — Public id of the declared person, when the verification service has assigned one.
- `last_name` (string, required) — Last name as declared.
- `first_name` (string, required) — First name as declared.
- `responsibilities` (list of enum, required) — Roles the person holds in the entity.
  - Allowed values: `submitter`, `controllingOfficer`, `owner`, `director`
- `ownership_percentage` (double, required, nullable) — Declared ownership percentage for owners; null otherwise.

### LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaDataDocumentsItems

- `type` (enum, required) — Company-level document type.
  - Allowed values: `PROOF_OF_AUTHORITY`, `ARTICLES_OF_INCORPORATION`, `COMPANY_BANK_STATEMENT`, `LIST_OF_DIRECTORS`, `CERTIFICATE_OF_GOOD_STANDING`, `ULTIMATE_BENEFICIAL_OWNER_FORM`
- `meta_type` (enum, required, nullable) — Kind of Proof of Authority document, when this entry's type is PROOF_OF_AUTHORITY. Null for every other document type.
  - Allowed values: `POWER_OF_ATTORNEY`, `RESOLUTION_OR_MINUTES`, `OTHER`
- `is_provided` (boolean, required) — Whether a file for this document has been submitted. File contents and URLs are never returned.
- `is_required` (boolean, required) — Whether the verification service currently requires this document.

### LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaDataRejection

Present only when the entity was rejected; null otherwise.

- `rejected_at` (string, required, nullable) — When the rejection was recorded.

### LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaDataRequirementsItems

- `key` (string, required) — Requirement key as published by the verification service, e.g. `FORMATION_DATE`, `ARTICLES_OF_INCORPORATION`, `PROOF_OF_AUTHORITY`, `UBO_NAME`, `DIRECTOR_KYC_DOCUMENT`. Person-level keys are prefixed with the role they constrain: `DIRECTOR_`, `CONTROLLING_OFFICER_`, `UBO_` or `SUBMITTER_`.
- `category` (enum, required) — What kind of input satisfies the requirement: a company field, a company document, an attribute of a declared person, or the industry questionnaire (`INDUSTRY_QUESTIONNAIRE`, answered in `questionnaire` of the submission and described in the `questionnaire` block of this state).
  - Allowed values: `FIELD`, `DOCUMENT`, `PERSON`, `QUESTIONNAIRE`
- `is_satisfied` (boolean, required) — Whether the current submission already satisfies the requirement.

### LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaDataQuestionnaire

The industry questionnaire that applies to the legal entity, answered together with the first KYB submission and listed as the `INDUSTRY_QUESTIONNAIRE` requirement. Null when none applies.

- `answers` (list of LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaDataQuestionnaireAnswersItems, required, nullable) — The answers the verification service has saved. Null until answers are saved.
- `questions` (list of LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaDataQuestionnaireQuestionsItems, required) — Every question of the questionnaire, in template order.
- `template_id` (integer, required) — Id of the questionnaire template that applies. Send it as `template_id` when answering.
- `display_name` (string, required) — Display name of the template.

### LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaErrorsItemsDetails

Which request field the error refers to and, for a content-type or document-type error, the accepted values.

- `key` (string, optional) — The request field the error refers to.
- `keys` (list of string, optional) — Every offending request field, for a multi-field error.
- `allowed` (list of string, optional) — Accepted values for the field.

### LegalEntitiesLegalEntityIdKybEddPostRequestBodyContentApplicationJsonSchemaDataAnswersItemsValue

The answer. `TEXT`, `LONG_TEXT`, `EMAIL`, `PHONE_NUMBER`: a string. `NUMBER`: a number. `DATE`: `YYYY-MM-DD`. `DATE_RANGE`: an object with `start_date` and `end_date`. `ADDRESS`: an object with `country` (ISO 3166-1 alpha-2 code), `state`, `city`, `street`, `number` and `zip_code`; all six are required when the question is required. `SINGLE_CHOICE`: one option title. `MULTIPLE_CHOICE`: a list of option titles. `DOCUMENT_UPLOAD`: a list of document handles from `POST /rest/legal-entities/{legal_entity_id}/kyb/edd/documents`. An empty value leaves an optional question unanswered.

- string
- double
- list of string
- LegalEntitiesLegalEntityIdKybEddPostRequestBodyContentApplicationJsonSchemaDataAnswersItemsValue3

### LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaDataEddQuestionsItems

- `key` (string, required) — Key of the question within this EDD request, in form order. Send it as `question_key` when answering.
- `type` (enum, required) — What kind of answer the question takes. `COUNTRY` takes an ISO 3166-1 alpha-2 code (e.g. `US`), `CURRENCY` an ISO 4217 code (e.g. `USD`) and `STATE` a state name (e.g. `California`), each as a string, or a list of strings when the form allows several. `DOCUMENT_UPLOAD` questions are answered with a list of document handles from `POST /rest/legal-entities/{legal_entity_id}/kyb/edd/documents`. `UNSUPPORTED` questions cannot be answered over the API; when one of them is required, `is_answerable_over_api` is false.
  - Allowed values: `TEXT`, `LONG_TEXT`, `NUMBER`, `EMAIL`, `PHONE_NUMBER`, `DATE`, `DATE_RANGE`, `ADDRESS`, `SINGLE_CHOICE`, `MULTIPLE_CHOICE`, `COUNTRY`, `STATE`, `CURRENCY`, `DOCUMENT_UPLOAD`, `UNSUPPORTED`
- `title` (string, required) — The question as the reviewer wrote it.
- `options` (list of string, required, nullable) — For `SINGLE_CHOICE` and `MULTIPLE_CHOICE` questions, the option titles to answer with. Null for every other type.
- `description` (string, required, nullable) — Helper text for the question, when any.
- `is_required` (boolean, required) — Whether the question must currently be answered.
- `repeat_group` (LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaDataEddQuestionsItemsRepeatGroup, required, nullable) — Set when this question belongs to a repeatable group (e.g. "add another director"); null otherwise.
- `revealed_when` (list of LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaDataEddQuestionsItemsRevealedWhenItems, required, nullable) — Conditions under which this question applies, met if any one of them does. Null when the question always applies. Only answer it when a condition is met.

### LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaDataQuestionnaireAnswersItems

- `value` (LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaDataQuestionnaireAnswersItemsValue, required) — The saved answer, in the form the question type takes. It is null for a document question: the file is never returned.
- `question_key` (string, required) — The `key` of the question answered.
- `is_document_provided` (boolean, optional) — Present only for a document question that has an uploaded document. It says a document exists; it never gives the file.

### LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaDataQuestionnaireQuestionsItems

- `key` (string, required) — Key of the question within the questionnaire. Send it as `question_key` when answering.
- `type` (enum, required) — What kind of answer the question takes. `SINGLE_CHOICE`: the text of one option (a yes/no question has the options `Yes` and `No`). `MULTIPLE_CHOICE`: a list of option texts. `TEXT`: a string. `DOCUMENT_UPLOAD`: a list with exactly one handle from `POST /rest/legal-entities/{legal_entity_id}/kyb/documents`, uploaded with `document_type` `QUESTIONNAIRE_DOCUMENT`.
  - Allowed values: `TEXT`, `LONG_TEXT`, `NUMBER`, `EMAIL`, `PHONE_NUMBER`, `DATE`, `DATE_RANGE`, `ADDRESS`, `SINGLE_CHOICE`, `MULTIPLE_CHOICE`, `COUNTRY`, `STATE`, `CURRENCY`, `DOCUMENT_UPLOAD`, `UNSUPPORTED`
- `title` (string, required) — The question as the reviewer wrote it.
- `options` (list of string, required, nullable) — For `SINGLE_CHOICE` and `MULTIPLE_CHOICE` questions, the option titles to answer with. Null for every other type.
- `description` (string, required, nullable) — Helper text for the question, when any.
- `is_required` (boolean, required) — Whether the question must be answered when it applies. A question with `revealed_when` applies only when one of its conditions is met.
- `revealed_when` (list of LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaDataQuestionnaireQuestionsItemsRevealedWhenItems, required, nullable) — Conditions under which this question applies, met if any one of them does. Null when the question always applies. Only answer it when a condition is met.

### LegalEntitiesLegalEntityIdKybEddPostRequestBodyContentApplicationJsonSchemaDataAnswersItemsValue3

A date range (`DATE_RANGE`: `start_date` and `end_date`) or an address (`ADDRESS`: `country`, `state`, `city`, `street`, `number` and `zip_code`).

- `city` (string, optional, nullable) — `ADDRESS` only.
- `state` (string, optional, nullable) — `ADDRESS` only.
- `number` (string, optional, nullable) — `ADDRESS` only.
- `street` (string, optional, nullable) — `ADDRESS` only.
- `country` (string, optional, nullable) — `ADDRESS` only. ISO 3166-1 alpha-2 code.
- `end_date` (string, optional, nullable) — `DATE_RANGE` only. `YYYY-MM-DD`.
- `zip_code` (string, optional, nullable) — `ADDRESS` only.
- `start_date` (string, optional, nullable) — `DATE_RANGE` only. `YYYY-MM-DD`.

### LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaDataEddQuestionsItemsRepeatGroup

Set when this question belongs to a repeatable group (e.g. "add another director"); null otherwise.

- `name` (string, required) — Name of the repeatable group this question belongs to.
- `index` (integer, required) — Zero-based position of this question within its repeat group instance.
- `max_repeats` (integer, required) — Maximum number of instances of this group the form allows.

### LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaDataEddQuestionsItemsRevealedWhenItems

- `equals` (string, required) — Option title `question` must be answered with for this question to apply.
- `question` (string, required) — Key of the question whose answer gates this one.

### LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaDataQuestionnaireAnswersItemsValue

The saved answer, in the form the question type takes. It is null for a document question: the file is never returned.

- string
- list of string

### LegalEntitiesLegalEntityIdKybEddPostResponsesContentApplicationJsonSchemaDataQuestionnaireQuestionsItemsRevealedWhenItems

- `equals` (string, required) — Option title `question` must be answered with for this question to apply.
- `question` (string, required) — Key of the question whose answer gates this one.

## Examples

### EDD answers accepted

**Response**

```json
{
  "data": {
    "edd": {
      "id": "0b8f3e0a-6c2d-4f0e-9d3b-2a1f5c7e9b41",
      "status": "ANSWERED",
      "questions": [
        {
          "key": "q1",
          "type": "SINGLE_CHOICE",
          "title": "Does the company receive funds from outside its country of incorporation?",
          "options": [
            "Yes",
            "No"
          ],
          "description": null,
          "is_required": true,
          "repeat_group": null,
          "revealed_when": null
        },
        {
          "key": "q2",
          "type": "DOCUMENT_UPLOAD",
          "title": "Upload a contract with your largest foreign customer.",
          "options": null,
          "description": "PDF, JPEG or PNG.",
          "is_required": true,
          "repeat_group": null,
          "revealed_when": [
            {
              "equals": "Yes",
              "question": "q1"
            }
          ]
        },
        {
          "key": "q3",
          "type": "TEXT",
          "title": "Describe the company's main business activity.",
          "options": null,
          "description": null,
          "is_required": true,
          "repeat_group": null,
          "revealed_when": null
        },
        {
          "key": "q4",
          "type": "NUMBER",
          "title": "What is the expected yearly turnover in EUR?",
          "options": null,
          "description": null,
          "is_required": true,
          "repeat_group": null,
          "revealed_when": null
        },
        {
          "key": "q5",
          "type": "DATE_RANGE",
          "title": "Which period do the financial statements cover?",
          "options": null,
          "description": "Optional.",
          "is_required": false,
          "repeat_group": null,
          "revealed_when": null
        },
        {
          "key": "q6",
          "type": "ADDRESS",
          "title": "What is the registered address of your largest foreign customer?",
          "options": null,
          "description": null,
          "is_required": true,
          "repeat_group": null,
          "revealed_when": [
            {
              "equals": "Yes",
              "question": "q1"
            }
          ]
        },
        {
          "key": "q7",
          "type": "MULTIPLE_CHOICE",
          "title": "Which sources fund the account?",
          "options": [
            "Revenue from customers",
            "Investment",
            "Loan"
          ],
          "description": null,
          "is_required": true,
          "repeat_group": null,
          "revealed_when": null
        }
      ],
      "requested_at": "2026-09-05T09:00:00.000Z",
      "is_answerable_over_api": true
    },
    "status": "pending_verification",
    "persons": [
      {
        "id": "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d",
        "last_name": "Hopper",
        "first_name": "Grace",
        "responsibilities": [
          "submitter"
        ],
        "ownership_percentage": null
      },
      {
        "id": "c51e53d2-8a2f-4944-890b-f605a3ab247e",
        "last_name": "Lovelace",
        "first_name": "Ada",
        "responsibilities": [
          "owner",
          "director"
        ],
        "ownership_percentage": 60
      },
      {
        "id": "d62f64e3-9b3a-4a55-9a1c-0716b4bc358f",
        "last_name": "Babbage",
        "first_name": "Charles",
        "responsibilities": [
          "owner"
        ],
        "ownership_percentage": 40
      }
    ],
    "documents": [
      {
        "type": "PROOF_OF_AUTHORITY",
        "meta_type": "POWER_OF_ATTORNEY",
        "is_provided": true,
        "is_required": true
      },
      {
        "type": "ARTICLES_OF_INCORPORATION",
        "meta_type": null,
        "is_provided": true,
        "is_required": true
      },
      {
        "type": "COMPANY_BANK_STATEMENT",
        "meta_type": null,
        "is_provided": true,
        "is_required": false
      },
      {
        "type": "CERTIFICATE_OF_GOOD_STANDING",
        "meta_type": null,
        "is_provided": true,
        "is_required": false
      },
      {
        "type": "ULTIMATE_BENEFICIAL_OWNER_FORM",
        "meta_type": null,
        "is_provided": true,
        "is_required": false
      }
    ],
    "rejection": null,
    "approved_at": null,
    "rejected_at": null,
    "requirements": [
      {
        "key": "ARTICLES_OF_INCORPORATION",
        "category": "DOCUMENT",
        "is_satisfied": true
      },
      {
        "key": "DIRECTOR_ADDRESS",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "DIRECTOR_CITIZENSHIP",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "DIRECTOR_DOB",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "DIRECTOR_KYC_DOCUMENT",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "DIRECTOR_NAME",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "DIRECTOR_SELFIE",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "FORMATION_DATE",
        "category": "FIELD",
        "is_satisfied": true
      },
      {
        "key": "IDENTIFICATION_DOCUMENT_TYPE",
        "category": "FIELD",
        "is_satisfied": true
      },
      {
        "key": "PROOF_OF_AUTHORITY",
        "category": "DOCUMENT",
        "is_satisfied": true
      },
      {
        "key": "SUBMITTER_ADDRESS",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "SUBMITTER_CITIZENSHIP",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "SUBMITTER_DOB",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "SUBMITTER_KYC_DOCUMENT",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "SUBMITTER_NAME",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "SUBMITTER_SELFIE",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "TERMS_AND_CONDITIONS",
        "category": "FIELD",
        "is_satisfied": true
      },
      {
        "key": "TRANSACTION_MONTHLY_VOLUME",
        "category": "FIELD",
        "is_satisfied": true
      },
      {
        "key": "UBO_ADDRESS",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "UBO_CITIZENSHIP",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "UBO_DOB",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "UBO_KYC_DOCUMENT",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "UBO_NAME",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "UBO_OWNERSHIP_PERCENTAGE",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "UBO_SELFIE",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "UBO_TAX_ID",
        "category": "PERSON",
        "is_satisfied": true
      }
    ],
    "submitted_at": "2026-09-01T10:30:00.000Z",
    "questionnaire": {
      "answers": [
        {
          "value": "Yes",
          "question_key": "q1"
        }
      ],
      "questions": [
        {
          "key": "q1",
          "type": "SINGLE_CHOICE",
          "title": "What is the source of the funds used to pay Deel invoices?",
          "options": [
            "Revenue from customers",
            "Investment"
          ],
          "description": "For example revenue from customers, investment, or a loan.",
          "is_required": true,
          "revealed_when": [
            {
              "equals": "Yes",
              "question": "q1"
            }
          ]
        }
      ],
      "template_id": 7,
      "display_name": "Crypto"
    },
    "legal_entity_id": "5f4a2c0e-6f1c-4a52-9c4e-1c8f1d2e3a4b",
    "verification_type": "FULL",
    "is_action_required": true,
    "is_detail_available": true
  }
}
```

**SDK Code**

```python EDD answers accepted
import requests

url = "https://api.letsdeel.com/rest/legal-entities/5f4a2c0e-6f1c-4a52-9c4e-1c8f1d2e3a4b/kyb/edd"

headers = {
    "X-Beta": "true",
    "Authorization": "Bearer <token>"
}

response = requests.post(url, headers=headers)

print(response.json())
```

```javascript EDD answers accepted
const url = 'https://api.letsdeel.com/rest/legal-entities/5f4a2c0e-6f1c-4a52-9c4e-1c8f1d2e3a4b/kyb/edd';
const options = {method: 'POST', headers: {'X-Beta': 'true', Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go EDD answers accepted
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.letsdeel.com/rest/legal-entities/5f4a2c0e-6f1c-4a52-9c4e-1c8f1d2e3a4b/kyb/edd"

	req, _ := http.NewRequest("POST", url, nil)

	req.Header.Add("X-Beta", "true")
	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby EDD answers accepted
require 'uri'
require 'net/http'

url = URI("https://api.letsdeel.com/rest/legal-entities/5f4a2c0e-6f1c-4a52-9c4e-1c8f1d2e3a4b/kyb/edd")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["X-Beta"] = 'true'
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java EDD answers accepted
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.letsdeel.com/rest/legal-entities/5f4a2c0e-6f1c-4a52-9c4e-1c8f1d2e3a4b/kyb/edd")
  .header("X-Beta", "true")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php EDD answers accepted
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.letsdeel.com/rest/legal-entities/5f4a2c0e-6f1c-4a52-9c4e-1c8f1d2e3a4b/kyb/edd', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'X-Beta' => 'true',
  ],
]);

echo $response->getBody();
```

```csharp EDD answers accepted
using RestSharp;

var client = new RestClient("https://api.letsdeel.com/rest/legal-entities/5f4a2c0e-6f1c-4a52-9c4e-1c8f1d2e3a4b/kyb/edd");
var request = new RestRequest(Method.POST);
request.AddHeader("X-Beta", "true");
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift EDD answers accepted
import Foundation

let headers = [
  "X-Beta": "true",
  "Authorization": "Bearer <token>"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.letsdeel.com/rest/legal-entities/5f4a2c0e-6f1c-4a52-9c4e-1c8f1d2e3a4b/kyb/edd")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Answers to every question of the EDD request

**Request**

```json
{
  "data": {
    "answers": [
      {
        "value": "Yes",
        "question_key": "q1"
      },
      {
        "value": [
          "5c7e9a1b-3d5f-4a7b-8c9d-1e3f5a7b9c20"
        ],
        "question_key": "q2"
      },
      {
        "value": "Software consulting for financial institutions",
        "question_key": "q3"
      },
      {
        "value": 250000,
        "question_key": "q4"
      },
      {
        "value": {
          "end_date": "2025-12-31",
          "start_date": "2025-01-01"
        },
        "question_key": "q5"
      },
      {
        "value": {
          "city": "Lisbon",
          "country": "PT",
          "number": "1",
          "state": "Lisbon",
          "street": "Rua Augusta",
          "zip_code": "1100-048"
        },
        "question_key": "q6"
      },
      {
        "value": [
          "Revenue from customers",
          "Investment"
        ],
        "question_key": "q7"
      }
    ],
    "edd_request_id": "0b8f3e0a-6c2d-4f0e-9d3b-2a1f5c7e9b41"
  }
}
```

**Response**

```json
{
  "data": {
    "edd": {
      "id": "0b8f3e0a-6c2d-4f0e-9d3b-2a1f5c7e9b41",
      "status": "ANSWERED",
      "questions": [
        {
          "key": "q1",
          "type": "SINGLE_CHOICE",
          "title": "Does the company receive funds from outside its country of incorporation?",
          "options": [
            "Yes",
            "No"
          ],
          "description": null,
          "is_required": true,
          "repeat_group": null,
          "revealed_when": null
        },
        {
          "key": "q2",
          "type": "DOCUMENT_UPLOAD",
          "title": "Upload a contract with your largest foreign customer.",
          "options": null,
          "description": "PDF, JPEG or PNG.",
          "is_required": true,
          "repeat_group": null,
          "revealed_when": [
            {
              "equals": "Yes",
              "question": "q1"
            }
          ]
        },
        {
          "key": "q3",
          "type": "TEXT",
          "title": "Describe the company's main business activity.",
          "options": null,
          "description": null,
          "is_required": true,
          "repeat_group": null,
          "revealed_when": null
        },
        {
          "key": "q4",
          "type": "NUMBER",
          "title": "What is the expected yearly turnover in EUR?",
          "options": null,
          "description": null,
          "is_required": true,
          "repeat_group": null,
          "revealed_when": null
        },
        {
          "key": "q5",
          "type": "DATE_RANGE",
          "title": "Which period do the financial statements cover?",
          "options": null,
          "description": "Optional.",
          "is_required": false,
          "repeat_group": null,
          "revealed_when": null
        },
        {
          "key": "q6",
          "type": "ADDRESS",
          "title": "What is the registered address of your largest foreign customer?",
          "options": null,
          "description": null,
          "is_required": true,
          "repeat_group": null,
          "revealed_when": [
            {
              "equals": "Yes",
              "question": "q1"
            }
          ]
        },
        {
          "key": "q7",
          "type": "MULTIPLE_CHOICE",
          "title": "Which sources fund the account?",
          "options": [
            "Revenue from customers",
            "Investment",
            "Loan"
          ],
          "description": null,
          "is_required": true,
          "repeat_group": null,
          "revealed_when": null
        }
      ],
      "requested_at": "2026-09-05T09:00:00.000Z",
      "is_answerable_over_api": true
    },
    "status": "pending_verification",
    "persons": [
      {
        "id": "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d",
        "last_name": "Hopper",
        "first_name": "Grace",
        "responsibilities": [
          "submitter"
        ],
        "ownership_percentage": null
      },
      {
        "id": "c51e53d2-8a2f-4944-890b-f605a3ab247e",
        "last_name": "Lovelace",
        "first_name": "Ada",
        "responsibilities": [
          "owner",
          "director"
        ],
        "ownership_percentage": 60
      },
      {
        "id": "d62f64e3-9b3a-4a55-9a1c-0716b4bc358f",
        "last_name": "Babbage",
        "first_name": "Charles",
        "responsibilities": [
          "owner"
        ],
        "ownership_percentage": 40
      }
    ],
    "documents": [
      {
        "type": "PROOF_OF_AUTHORITY",
        "meta_type": "POWER_OF_ATTORNEY",
        "is_provided": true,
        "is_required": true
      },
      {
        "type": "ARTICLES_OF_INCORPORATION",
        "meta_type": null,
        "is_provided": true,
        "is_required": true
      },
      {
        "type": "COMPANY_BANK_STATEMENT",
        "meta_type": null,
        "is_provided": true,
        "is_required": false
      },
      {
        "type": "CERTIFICATE_OF_GOOD_STANDING",
        "meta_type": null,
        "is_provided": true,
        "is_required": false
      },
      {
        "type": "ULTIMATE_BENEFICIAL_OWNER_FORM",
        "meta_type": null,
        "is_provided": true,
        "is_required": false
      }
    ],
    "rejection": null,
    "approved_at": null,
    "rejected_at": null,
    "requirements": [
      {
        "key": "ARTICLES_OF_INCORPORATION",
        "category": "DOCUMENT",
        "is_satisfied": true
      },
      {
        "key": "DIRECTOR_ADDRESS",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "DIRECTOR_CITIZENSHIP",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "DIRECTOR_DOB",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "DIRECTOR_KYC_DOCUMENT",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "DIRECTOR_NAME",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "DIRECTOR_SELFIE",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "FORMATION_DATE",
        "category": "FIELD",
        "is_satisfied": true
      },
      {
        "key": "IDENTIFICATION_DOCUMENT_TYPE",
        "category": "FIELD",
        "is_satisfied": true
      },
      {
        "key": "PROOF_OF_AUTHORITY",
        "category": "DOCUMENT",
        "is_satisfied": true
      },
      {
        "key": "SUBMITTER_ADDRESS",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "SUBMITTER_CITIZENSHIP",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "SUBMITTER_DOB",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "SUBMITTER_KYC_DOCUMENT",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "SUBMITTER_NAME",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "SUBMITTER_SELFIE",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "TERMS_AND_CONDITIONS",
        "category": "FIELD",
        "is_satisfied": true
      },
      {
        "key": "TRANSACTION_MONTHLY_VOLUME",
        "category": "FIELD",
        "is_satisfied": true
      },
      {
        "key": "UBO_ADDRESS",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "UBO_CITIZENSHIP",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "UBO_DOB",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "UBO_KYC_DOCUMENT",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "UBO_NAME",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "UBO_OWNERSHIP_PERCENTAGE",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "UBO_SELFIE",
        "category": "PERSON",
        "is_satisfied": true
      },
      {
        "key": "UBO_TAX_ID",
        "category": "PERSON",
        "is_satisfied": true
      }
    ],
    "submitted_at": "2026-09-01T10:30:00.000Z",
    "questionnaire": {
      "answers": [
        {
          "value": "Yes",
          "question_key": "q1"
        }
      ],
      "questions": [
        {
          "key": "q1",
          "type": "SINGLE_CHOICE",
          "title": "What is the source of the funds used to pay Deel invoices?",
          "options": [
            "Revenue from customers",
            "Investment"
          ],
          "description": "For example revenue from customers, investment, or a loan.",
          "is_required": true,
          "revealed_when": [
            {
              "equals": "Yes",
              "question": "q1"
            }
          ]
        }
      ],
      "template_id": 7,
      "display_name": "Crypto"
    },
    "legal_entity_id": "5f4a2c0e-6f1c-4a52-9c4e-1c8f1d2e3a4b",
    "verification_type": "FULL",
    "is_action_required": true,
    "is_detail_available": true
  }
}
```

**SDK Code**

```python Answers to every question of the EDD request
import requests

url = "https://api.letsdeel.com/rest/legal-entities/5f4a2c0e-6f1c-4a52-9c4e-1c8f1d2e3a4b/kyb/edd"

payload = { "data": {
        "answers": [
            {
                "value": "Yes",
                "question_key": "q1"
            },
            {
                "value": ["5c7e9a1b-3d5f-4a7b-8c9d-1e3f5a7b9c20"],
                "question_key": "q2"
            },
            {
                "value": "Software consulting for financial institutions",
                "question_key": "q3"
            },
            {
                "value": 250000,
                "question_key": "q4"
            },
            {
                "value": {
                    "end_date": "2025-12-31",
                    "start_date": "2025-01-01"
                },
                "question_key": "q5"
            },
            {
                "value": {
                    "city": "Lisbon",
                    "country": "PT",
                    "number": "1",
                    "state": "Lisbon",
                    "street": "Rua Augusta",
                    "zip_code": "1100-048"
                },
                "question_key": "q6"
            },
            {
                "value": ["Revenue from customers", "Investment"],
                "question_key": "q7"
            }
        ],
        "edd_request_id": "0b8f3e0a-6c2d-4f0e-9d3b-2a1f5c7e9b41"
    } }
headers = {
    "X-Beta": "true",
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Answers to every question of the EDD request
const url = 'https://api.letsdeel.com/rest/legal-entities/5f4a2c0e-6f1c-4a52-9c4e-1c8f1d2e3a4b/kyb/edd';
const options = {
  method: 'POST',
  headers: {
    'X-Beta': 'true',
    Authorization: 'Bearer <token>',
    'Content-Type': 'application/json'
  },
  body: '{"data":{"answers":[{"value":"Yes","question_key":"q1"},{"value":["5c7e9a1b-3d5f-4a7b-8c9d-1e3f5a7b9c20"],"question_key":"q2"},{"value":"Software consulting for financial institutions","question_key":"q3"},{"value":250000,"question_key":"q4"},{"value":{"end_date":"2025-12-31","start_date":"2025-01-01"},"question_key":"q5"},{"value":{"city":"Lisbon","country":"PT","number":"1","state":"Lisbon","street":"Rua Augusta","zip_code":"1100-048"},"question_key":"q6"},{"value":["Revenue from customers","Investment"],"question_key":"q7"}],"edd_request_id":"0b8f3e0a-6c2d-4f0e-9d3b-2a1f5c7e9b41"}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Answers to every question of the EDD request
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.letsdeel.com/rest/legal-entities/5f4a2c0e-6f1c-4a52-9c4e-1c8f1d2e3a4b/kyb/edd"

	payload := strings.NewReader("{\n  \"data\": {\n    \"answers\": [\n      {\n        \"value\": \"Yes\",\n        \"question_key\": \"q1\"\n      },\n      {\n        \"value\": [\n          \"5c7e9a1b-3d5f-4a7b-8c9d-1e3f5a7b9c20\"\n        ],\n        \"question_key\": \"q2\"\n      },\n      {\n        \"value\": \"Software consulting for financial institutions\",\n        \"question_key\": \"q3\"\n      },\n      {\n        \"value\": 250000,\n        \"question_key\": \"q4\"\n      },\n      {\n        \"value\": {\n          \"end_date\": \"2025-12-31\",\n          \"start_date\": \"2025-01-01\"\n        },\n        \"question_key\": \"q5\"\n      },\n      {\n        \"value\": {\n          \"city\": \"Lisbon\",\n          \"country\": \"PT\",\n          \"number\": \"1\",\n          \"state\": \"Lisbon\",\n          \"street\": \"Rua Augusta\",\n          \"zip_code\": \"1100-048\"\n        },\n        \"question_key\": \"q6\"\n      },\n      {\n        \"value\": [\n          \"Revenue from customers\",\n          \"Investment\"\n        ],\n        \"question_key\": \"q7\"\n      }\n    ],\n    \"edd_request_id\": \"0b8f3e0a-6c2d-4f0e-9d3b-2a1f5c7e9b41\"\n  }\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("X-Beta", "true")
	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Answers to every question of the EDD request
require 'uri'
require 'net/http'

url = URI("https://api.letsdeel.com/rest/legal-entities/5f4a2c0e-6f1c-4a52-9c4e-1c8f1d2e3a4b/kyb/edd")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["X-Beta"] = 'true'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"data\": {\n    \"answers\": [\n      {\n        \"value\": \"Yes\",\n        \"question_key\": \"q1\"\n      },\n      {\n        \"value\": [\n          \"5c7e9a1b-3d5f-4a7b-8c9d-1e3f5a7b9c20\"\n        ],\n        \"question_key\": \"q2\"\n      },\n      {\n        \"value\": \"Software consulting for financial institutions\",\n        \"question_key\": \"q3\"\n      },\n      {\n        \"value\": 250000,\n        \"question_key\": \"q4\"\n      },\n      {\n        \"value\": {\n          \"end_date\": \"2025-12-31\",\n          \"start_date\": \"2025-01-01\"\n        },\n        \"question_key\": \"q5\"\n      },\n      {\n        \"value\": {\n          \"city\": \"Lisbon\",\n          \"country\": \"PT\",\n          \"number\": \"1\",\n          \"state\": \"Lisbon\",\n          \"street\": \"Rua Augusta\",\n          \"zip_code\": \"1100-048\"\n        },\n        \"question_key\": \"q6\"\n      },\n      {\n        \"value\": [\n          \"Revenue from customers\",\n          \"Investment\"\n        ],\n        \"question_key\": \"q7\"\n      }\n    ],\n    \"edd_request_id\": \"0b8f3e0a-6c2d-4f0e-9d3b-2a1f5c7e9b41\"\n  }\n}"

response = http.request(request)
puts response.read_body
```

```java Answers to every question of the EDD request
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.letsdeel.com/rest/legal-entities/5f4a2c0e-6f1c-4a52-9c4e-1c8f1d2e3a4b/kyb/edd")
  .header("X-Beta", "true")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"data\": {\n    \"answers\": [\n      {\n        \"value\": \"Yes\",\n        \"question_key\": \"q1\"\n      },\n      {\n        \"value\": [\n          \"5c7e9a1b-3d5f-4a7b-8c9d-1e3f5a7b9c20\"\n        ],\n        \"question_key\": \"q2\"\n      },\n      {\n        \"value\": \"Software consulting for financial institutions\",\n        \"question_key\": \"q3\"\n      },\n      {\n        \"value\": 250000,\n        \"question_key\": \"q4\"\n      },\n      {\n        \"value\": {\n          \"end_date\": \"2025-12-31\",\n          \"start_date\": \"2025-01-01\"\n        },\n        \"question_key\": \"q5\"\n      },\n      {\n        \"value\": {\n          \"city\": \"Lisbon\",\n          \"country\": \"PT\",\n          \"number\": \"1\",\n          \"state\": \"Lisbon\",\n          \"street\": \"Rua Augusta\",\n          \"zip_code\": \"1100-048\"\n        },\n        \"question_key\": \"q6\"\n      },\n      {\n        \"value\": [\n          \"Revenue from customers\",\n          \"Investment\"\n        ],\n        \"question_key\": \"q7\"\n      }\n    ],\n    \"edd_request_id\": \"0b8f3e0a-6c2d-4f0e-9d3b-2a1f5c7e9b41\"\n  }\n}")
  .asString();
```

```php Answers to every question of the EDD request
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.letsdeel.com/rest/legal-entities/5f4a2c0e-6f1c-4a52-9c4e-1c8f1d2e3a4b/kyb/edd', [
  'body' => '{
  "data": {
    "answers": [
      {
        "value": "Yes",
        "question_key": "q1"
      },
      {
        "value": [
          "5c7e9a1b-3d5f-4a7b-8c9d-1e3f5a7b9c20"
        ],
        "question_key": "q2"
      },
      {
        "value": "Software consulting for financial institutions",
        "question_key": "q3"
      },
      {
        "value": 250000,
        "question_key": "q4"
      },
      {
        "value": {
          "end_date": "2025-12-31",
          "start_date": "2025-01-01"
        },
        "question_key": "q5"
      },
      {
        "value": {
          "city": "Lisbon",
          "country": "PT",
          "number": "1",
          "state": "Lisbon",
          "street": "Rua Augusta",
          "zip_code": "1100-048"
        },
        "question_key": "q6"
      },
      {
        "value": [
          "Revenue from customers",
          "Investment"
        ],
        "question_key": "q7"
      }
    ],
    "edd_request_id": "0b8f3e0a-6c2d-4f0e-9d3b-2a1f5c7e9b41"
  }
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
    'X-Beta' => 'true',
  ],
]);

echo $response->getBody();
```

```csharp Answers to every question of the EDD request
using RestSharp;

var client = new RestClient("https://api.letsdeel.com/rest/legal-entities/5f4a2c0e-6f1c-4a52-9c4e-1c8f1d2e3a4b/kyb/edd");
var request = new RestRequest(Method.POST);
request.AddHeader("X-Beta", "true");
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"data\": {\n    \"answers\": [\n      {\n        \"value\": \"Yes\",\n        \"question_key\": \"q1\"\n      },\n      {\n        \"value\": [\n          \"5c7e9a1b-3d5f-4a7b-8c9d-1e3f5a7b9c20\"\n        ],\n        \"question_key\": \"q2\"\n      },\n      {\n        \"value\": \"Software consulting for financial institutions\",\n        \"question_key\": \"q3\"\n      },\n      {\n        \"value\": 250000,\n        \"question_key\": \"q4\"\n      },\n      {\n        \"value\": {\n          \"end_date\": \"2025-12-31\",\n          \"start_date\": \"2025-01-01\"\n        },\n        \"question_key\": \"q5\"\n      },\n      {\n        \"value\": {\n          \"city\": \"Lisbon\",\n          \"country\": \"PT\",\n          \"number\": \"1\",\n          \"state\": \"Lisbon\",\n          \"street\": \"Rua Augusta\",\n          \"zip_code\": \"1100-048\"\n        },\n        \"question_key\": \"q6\"\n      },\n      {\n        \"value\": [\n          \"Revenue from customers\",\n          \"Investment\"\n        ],\n        \"question_key\": \"q7\"\n      }\n    ],\n    \"edd_request_id\": \"0b8f3e0a-6c2d-4f0e-9d3b-2a1f5c7e9b41\"\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Answers to every question of the EDD request
import Foundation

let headers = [
  "X-Beta": "true",
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = ["data": [
    "answers": [
      [
        "value": "Yes",
        "question_key": "q1"
      ],
      [
        "value": ["5c7e9a1b-3d5f-4a7b-8c9d-1e3f5a7b9c20"],
        "question_key": "q2"
      ],
      [
        "value": "Software consulting for financial institutions",
        "question_key": "q3"
      ],
      [
        "value": 250000,
        "question_key": "q4"
      ],
      [
        "value": [
          "end_date": "2025-12-31",
          "start_date": "2025-01-01"
        ],
        "question_key": "q5"
      ],
      [
        "value": [
          "city": "Lisbon",
          "country": "PT",
          "number": "1",
          "state": "Lisbon",
          "street": "Rua Augusta",
          "zip_code": "1100-048"
        ],
        "question_key": "q6"
      ],
      [
        "value": ["Revenue from customers", "Investment"],
        "question_key": "q7"
      ]
    ],
    "edd_request_id": "0b8f3e0a-6c2d-4f0e-9d3b-2a1f5c7e9b41"
  ]] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.letsdeel.com/rest/legal-entities/5f4a2c0e-6f1c-4a52-9c4e-1c8f1d2e3a4b/kyb/edd")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```