> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kemycard.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Synchronize Identity

> Aligns the identity you declared for a customer (`first_name`, `last_name`, `date_of_birth`) with the identity
read on the document during the KYC, then lifts the `identity_mismatch` restriction: the customer is `active` again.

Use it when a customer is `restricted` with `restriction_reason: identity_mismatch` (you are notified by the
`kyc.identity_mismatch` webhook). The approved KYC and the verification level are kept: no new verification is
needed and nothing is billed. A `kyc.identity_synchronized` webhook is sent.

No request body. The call returns a `422` when the KYC is not approved yet, or when the declared identity
already matches the verified identity.




## OpenAPI

````yaml POST /kyc/{customerCode}/synchronize
openapi: 3.1.0
info:
  title: KemyCard API
  version: '1.0'
  description: >
    KemyCard API allows you to issue virtual and physical cards, manage KYC/POA
    verification,

    create crypto wallets, virtual bank accounts, and purchase gift cards.
  contact:
    name: KemyCard API Support
    email: hi@kemycard.com
servers:
  - url: https://api.kemycard.com/v1
    description: Production
security:
  - BearerAuth: []
tags:
  - name: Customers
    description: Manage your customers
  - name: Card Products
    description: Browse the card product catalog
  - name: Cards
    description: Issue and manage cards
  - name: KYC
    description: Identity verification
  - name: POA
    description: Proof of address verification
  - name: Wallets
    description: Crypto wallets
  - name: Virtual Accounts
    description: Virtual bank accounts
  - name: Gift Cards
    description: Gift card catalog and purchases
  - name: Balance
    description: Operational balances and transaction history
  - name: Webhooks
    description: Webhook endpoints and delivery management
paths:
  /kyc/{customerCode}/synchronize:
    post:
      tags:
        - KYC
      summary: Synchronize identity
      description: >
        Aligns the identity you declared for a customer (`first_name`,
        `last_name`, `date_of_birth`) with the identity

        read on the document during the KYC, then lifts the `identity_mismatch`
        restriction: the customer is `active` again.


        Use it when a customer is `restricted` with `restriction_reason:
        identity_mismatch` (you are notified by the

        `kyc.identity_mismatch` webhook). The approved KYC and the verification
        level are kept: no new verification is

        needed and nothing is billed. A `kyc.identity_synchronized` webhook is
        sent.


        No request body. The call returns a `422` when the KYC is not approved
        yet, or when the declared identity

        already matches the verified identity.
      operationId: synchronizeKycIdentity
      parameters:
        - name: customerCode
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: Customer UUID
      responses:
        '200':
          description: Identity synchronized, restriction lifted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KycSynchronizeResponse'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/ValidationError'
components:
  schemas:
    KycSynchronizeResponse:
      type: object
      properties:
        success:
          type: boolean
          example: true
        data:
          type: object
          properties:
            customer_code:
              type: string
              format: uuid
            first_name:
              type: string
              description: Declared first name, now aligned with the verified identity
              example: John
            last_name:
              type: string
              example: Doe
            date_of_birth:
              type: string
              format: date
              example: '1990-05-15'
            verified_identity:
              type: object
              properties:
                first_name:
                  type: string
                  example: John
                last_name:
                  type: string
                  example: Doe
                date_of_birth:
                  type: string
                  format: date
                  nullable: true
                  example: '1990-05-15'
            identity_mismatch:
              type: boolean
              example: false
            kyc_status:
              type: string
              example: approved
            verification_level:
              type: string
              enum:
                - basic
                - verified
                - full
              example: verified
            status:
              type: string
              enum:
                - active
                - suspended
                - restricted
                - closed
              example: active
            restriction_reason:
              type: string
              nullable: true
              example: null
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: object
          properties:
            code:
              type: string
              example: VALIDATION_ERROR
            message:
              type: string
              example: Missing required fields.
            details:
              type: object
              nullable: true
        meta:
          $ref: '#/components/schemas/Meta'
    Meta:
      type: object
      properties:
        request_id:
          type: string
          example: a4f8e2c1b3d97056
        mode:
          type: string
          enum:
            - test
            - live
          example: test
        timestamp:
          type: string
          format: date-time
  responses:
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            success: false
            error:
              code: RESOURCE_NOT_FOUND
              message: Resource not found.
              details: null
    ValidationError:
      description: Validation error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: API key (sk_test_... or sk_live_...)

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.