# KYC document archived Endpoint: POST kyc-document-archived Version: latest Security: SecretApiKey, JWT ## Request fields (application/json): - `customerId` (string) ID of the customer resource. - `kycDocumentId` (string) ID of the KYC document. Example: "kyc_doc_0YV7JHY705C6DA487BFTAA33V8" - `fileId` (string) ID of the file. Example: "file_0YV7HZ7KDCC5WBV9Q7WRKG1H6N" - `eventType` (string) Type of webhook event. Enum: "kyc-document-accepted", "kyc-document-created", "kyc-document-modified", "kyc-document-rejected", "kyc-document-reviewed", "kyc-document-archived" - `_embedded` (object) Customer and KYC document data. - `_embedded.customer` (object) Customer information. - `_embedded.customer.websiteId` (string) ID of the website. A website is where an organization obtains a customer. For more information, see [Obtain an organization ID and website ID](https://www.rebilly.com/docs/settings/organizations-and-websites/#obtain-your-organization-id-and-website-id). Example: "web_0YV7DE4Z26DQSA1AC92FBJ7SEG" - `_embedded.customer.paymentToken` (string) Write-only payment token. If supplied, the token is converted into a payment instrument and set as the value. If both are supplied, the value of this property overrides the value. The token expires after first use. - `_embedded.customer.defaultPaymentInstrument` (any) - `_embedded.customer.customFields` (object) Use custom fields to extend a resource scheme to include custom data that is not provided as a common field. For more information, see [Custom fields](https://www.rebilly.com/catalog/all/custom-fields). - `_embedded.customer.primaryAddress` (any) Customer's primary address. - `_embedded.customer.isEddRequired` (boolean) Specifies if Enhanced Due Diligence (EDD) is enabled for this customer. For more information, see [Enhanced Due Diligence](https://www.rebilly.com/docs/kyc-and-aml/edd/). - `_embedded.customer.locale` (string,null) Language locale identifier in [RFC 5646](https://tools.ietf.org/html/rfc5646) format. Example: "fr-FR" - `_embedded.customer.taxNumbers` (array,null) Tax numbers of the customer. - `_embedded.customer.taxNumbers.type` (string, required) Type of the tax number. Enum: "eu-vat", "other" - `_embedded.customer.taxNumbers.value` (string, required) Value of the tax number. Example: "GB980780684" - `_embedded.customer.taxNumbers.isDefault` (boolean) Determines if the tax number is selected as default to display on invoices. Example: true - `_embedded.kycDocument` (any) - `_links` (array) Related links. - `_links.href` (string) Link URL. - `_links.rel` (string) Type of link. Enum: "customer", "file", "kycDocument"