openapi: 3.1.0
info:
  title: Overview
  version: '1.0'
  termsOfService: https://kycaid.com/terms-and-conditions/
servers:
  - url: https://api.kycaid.com
components:
  securitySchemes:
    your_api_key:
      type: apiKey
      in: header
      name: Authorization
  schemas:
    '400':
      type: object
      properties:
        type:
          type: string
          example: bad_request
        errors:
          type: array
    '429':
      type: object
      properties:
        type:
          type: string
          example: flow
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: limit_exceeded
              message:
                type: string
                example: Rate limit exceeded
    '500':
      type: object
      properties:
        type:
          type: string
          example: internal_server
        errors:
          type: array
    '502':
      type: string
      example: >-
        <!doctype html><meta charset='utf-8'><meta name=viewport
        content='width=device-width, initial-scale=1'><title>502</title>502 Bad
        Gateway
    applicant_id:
      title: Applicant ID
      type: string
      minLength: 36
      maxLength: 36
      example: 723f46ab04feb64f442946f2953a67eaecf7
      description: >-
        A unique identifier of an applicant, that is assigned by our system
        after an applicant object was created with a “Create an applicant”
        request
    type--address--person:
      type: string
      enum:
        - REGISTERED
        - ADDITIONAL
      example: REGISTERED
      description: |
        A type of an address object. The possible types are:
        * `REGISTERED` for the residential address of a person
        * `ADDITIONAL` for any other address associated with a person
    full_address:
      type:
        - string
        - 'null'
      minLength: 1
      maxLength: 255
      example: 45 High Street, Flat 2A, London, SW1A 1AA, United Kingdom
      description: >-
        A full address of an object, including a street address, a unit, a city,
        a postal code, a country
    country:
      type:
        - string
        - 'null'
      minLength: 2
      maxLength: 2
      example: GB
      description: >-
        A country of an object. A two-letter country code according to ISO
        3166-2
    state:
      title: State
      type:
        - string
        - 'null'
      minLength: 1
      maxLength: 50
      example: null
      description: A state of a person or a company
    region:
      type:
        - string
        - 'null'
      minLength: 1
      maxLength: 50
      example: Scotland
      description: A region of a country of an object
    province:
      type:
        - string
        - 'null'
      minLength: 1
      maxLength: 50
      example: Ontario
      description: A province (a sub-region of a country) of an object
    city:
      title: City
      type:
        - string
        - 'null'
      minLength: 1
      maxLength: 50
      example: London
      description: A city or a town of a person or a company
    district:
      type:
        - string
        - 'null'
      minLength: 1
      maxLength: 50
      example: Westminster
      description: The district (an area of a city) of an object
    address:
      title: Address
      type:
        - string
        - 'null'
      minLength: 1
      maxLength: 50
      example: 45 High Street, Flat 2A
      description: >-
        An address (a street name, a building number, and a unit number) of a
        person or a company
    postal_code:
      title: Postal code
      type:
        - string
        - 'null'
      minLength: 1
      maxLength: 20
      example: SW1A 1AA
      description: A postal code (zip code, postcode) of a person or a company
    street_name:
      type:
        - string
        - 'null'
      minLength: 1
      maxLength: 50
      example: High Street
      description: A street name of an object
    building_number:
      type:
        - string
        - 'null'
      minLength: 1
      maxLength: 20
      example: '45'
      description: A number of a building of an object
    unit_number:
      type:
        - string
        - 'null'
      minLength: 1
      maxLength: 20
      example: Flat 2A
      description: A number of a unit (flat, apartment) of an object
    type--address--company:
      type: string
      enum:
        - REGISTERED
        - BUSINESS
        - ADDITIONAL
      example: REGISTERED
      description: |
        A type of an address object. The possible types are:
        * `REGISTERED` for the registered address of a company
        * `BUSINESS` for the primary business location of a company
        * `ADDITIONAL` for any other address associated with a company
    affiliated_person_id:
      title: Affiliated person ID
      type: string
      minLength: 36
      maxLength: 36
      example: 74cec9e50f844748be0bc321a2bf66638f54
      description: >-
        A unique identifier of an affiliated person object, that is assigned by
        our system after an affiliated person object was created with a “Create
        an affiliated person” request
    type--address--affiliated_person:
      type: string
      enum:
        - REGISTERED
        - ADDITIONAL
      example: REGISTERED
      description: >
        A type of an address object. The possible types are:

        * `REGISTERED` for the residential address of an affiliated person

        * `ADDITIONAL` for any other address associated with an affiliated
        person
    address_id:
      type: string
      minLength: 36
      maxLength: 36
      example: 723f46ab04feb64f442946f2953a67eaecf7
      description: >-
        A unique identifier of an address object, that is assigned by our system
        after an address entity was created
    type--address--full:
      type: string
      enum:
        - REGISTERED
        - BUSINESS
        - ADDITIONAL
      example: REGISTERED
      description: >
        A type of an address object. The possible types are:

        * `REGISTERED` for the residential address of a person or an affiliated
        person, or the registered address of a company

        * `BUSINESS` for the primary business location of a company

        * `ADDITIONAL` for any other address associated with a person, an
        affiliated person, or a company
    type--affiliated-person--authorised:
      type: string
      enum:
        - AUTHORISED
      example: AUTHORISED
      description: >-
        A type of an affiliated person object. `AUTHORISED` type is used for
        adding an authorised affiliated person object
    first_name:
      title: First name
      type:
        - string
        - 'null'
      format: name
      minLength: 2
      maxLength: 64
      pattern: ^[a-zA-Z ,.''-]{1,64}$
      example: Josh
      description: The first name of a person
    last_name:
      title: Last name
      type:
        - string
        - 'null'
      format: name
      minLength: 2
      maxLength: 64
      pattern: ^[a-zA-Z ,.''-]{1,64}$
      example: Coffey
      description: The last name of a person
    title:
      type:
        - string
        - 'null'
      minLength: 1
      maxLength: 36
      example: CDO
      description: A title of an authorised affiliated person object in a company
    dob:
      type:
        - string
        - 'null'
      format: date
      example: '1976-02-21'
      description: >-
        The date of birth of a person, formatted as “YYYY-MM-DD” according to
        ISO 8601
    residence_country:
      type:
        - string
        - 'null'
      minLength: 2
      maxLength: 2
      example: GB
      description: >-
        A residence country of an object. A two-letter country code according to
        ISO 3166-2
    nationality:
      type:
        - string
        - 'null'
      minLength: 2
      maxLength: 2
      example: GB
      description: >-
        A nationality country of a person. A two-letter country code according
        to ISO 3166-2
    email:
      title: Email address
      type:
        - string
        - 'null'
      format: email
      minLength: 1
      maxLength: 254
      example: josh.coffey@example.com
      description: The email address of a person or a company
    type--affiliated-person--beneficial:
      type: string
      enum:
        - BENEFICIAL
      example: BENEFICIAL
      description: >-
        A type of an affiliated person object. `BENEFICIAL` type is used for
        adding an beneficial affiliated person
    share:
      type:
        - number
        - 'null'
      format: float
      minimum: 0
      maximum: 100
      example: 13.05
      description: >-
        A share in percents of a beneficial affiliated person object in a
        company
    type--applicant--person:
      type: string
      enum:
        - PERSON
      example: PERSON
      description: >-
        A type of an applicant object. `PERSON` type is used for KYC process,
        and `COMPANY` type is used for KYB process
    middle_name:
      title: Middle name
      type:
        - string
        - 'null'
      format: name
      minLength: 2
      maxLength: 64
      pattern: ^[a-zA-Z ,.''-]{1,64}$
      example: David
      description: The middle name of a person
    gender:
      type:
        - string
        - 'null'
      enum:
        - M
        - F
      example: M
      description: The gender of a person. `M` indicates male; `F` indicates female
    pep:
      type:
        - boolean
        - 'null'
      enum:
        - true
        - false
      example: false
      description: The status of a person as a politically exposed person (PEP)
    phone:
      title: Phone number
      type:
        - string
        - 'null'
      minLength: 1
      maxLength: 15
      example: '441172345678'
      description: The phone number of a person or a company
    telegram_username:
      type:
        - string
        - 'null'
      minLength: 1
      maxLength: 32
      example: JoshCoffey
      description: A username of an object in Telegram instant messaging service
    wallet_address:
      type:
        - string
        - 'null'
      minLength: 1
      maxLength: 50
      example: '0xb96FdB81a90Ee8aB5b69B2b5Eb7a401ab8c274D8'
      description: A cryptocurrency wallet address of an object
    external_applicant_id:
      type:
        - string
        - 'null'
      minLength: 0
      maxLength: 50
      example: cb1eebbe-9945-4e64-8f60-c920f1e3e237
      description: A unique identifier of your user in your system
    custom_field:
      type:
        - string
        - 'null'
      minLength: 1
      maxLength: 2048
      example: This applicant was marked as suspicious by Mark L. at 11:40
      description: >-
        A custom parameter to store additional data for an object by your
        managers
    type--applicant--company:
      type: string
      enum:
        - COMPANY
      example: COMPANY
      description: >-
        A type of an applicant object. `PERSON` type is used for KYC process,
        and `COMPANY` type is used for KYB process
    company_name:
      type: string
      minLength: 1
      maxLength: 255
      example: Acme
      description: A name of a company
    business_activity_id:
      type: string
      minLength: 36
      maxLength: 36
      example: 4e46f42a001ee740a40ae35416507b121d00
      description: >-
        A business activity identifier of a an object. The full list of business
        activities and their identifiers is accessible in “Business activities”
        section
    registration_country:
      type:
        - string
        - 'null'
      minLength: 2
      maxLength: 2
      example: GB
      description: >-
        A registration country of an object. A two-letter country code according
        to ISO 3166-2
    applicant--post--200:
      type: object
      properties:
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
    applicant--post--429:
      type: object
      properties:
        type:
          type: string
          example: limit_exceeded
        errors:
          type: array
          items:
            type: object
            properties:
              message:
                type: string
                example: >-
                  The limit for creating applicants has been exceeded (last
                  minute)
    created_at:
      type: string
      format: date-time
      example: '2024-07-01 15:27:15'
      description: A date and time of creation of an object, set by our system
    profile_status:
      type:
        - string
        - 'null'
      enum:
        - valid
        - invalid
      example: valid
      description: >-
        A status of an object profile verification, set by our system or our
        manager
    profile_comment:
      type:
        - string
        - 'null'
      example: Suspicious activity
      description: A custom comment left by our manager for an object
    origin_first_name:
      type:
        - string
        - 'null'
      format: name
      minLength: 1
      maxLength: 64
      example: Джош
      description: A first name of an object, set in a native language
    origin_middle_name:
      type:
        - string
        - 'null'
      format: name
      minLength: 1
      maxLength: 64
      pattern: ^[a-zA-Z ,.''-]{1,64}$
      example: Conrad
      description: A middle name of an object, set in a native language
    origin_last_name:
      type:
        - string
        - 'null'
      format: name
      minLength: 1
      maxLength: 64
      example: Кофі
      description: A last name of an entity, set in a native language
    phone_status:
      type:
        - string
        - 'null'
      enum:
        - valid
        - invalid
      example: valid
      description: >-
        A status of an object phone verification, set by our system or our
        manager
    applicant--get--200--person:
      type: object
      title: KYC applicant (a person)
      properties:
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        external_applicant_id:
          $ref: '#/components/schemas/external_applicant_id'
        type:
          $ref: '#/components/schemas/type--applicant--person'
        created_at:
          $ref: '#/components/schemas/created_at'
        profile_status:
          $ref: '#/components/schemas/profile_status'
        profile_comment:
          $ref: '#/components/schemas/profile_comment'
        first_name:
          $ref: '#/components/schemas/first_name'
        origin_first_name:
          $ref: '#/components/schemas/origin_first_name'
        middle_name:
          $ref: '#/components/schemas/middle_name'
        origin_middle_name:
          $ref: '#/components/schemas/origin_middle_name'
        last_name:
          $ref: '#/components/schemas/last_name'
        origin_last_name:
          $ref: '#/components/schemas/origin_last_name'
        residence_country:
          $ref: '#/components/schemas/residence_country'
        nationality:
          $ref: '#/components/schemas/nationality'
        dob:
          $ref: '#/components/schemas/dob'
        gender:
          $ref: '#/components/schemas/gender'
        email:
          $ref: '#/components/schemas/email'
        phone:
          $ref: '#/components/schemas/phone'
        phone_status:
          $ref: '#/components/schemas/phone_status'
        wallet_address:
          $ref: '#/components/schemas/wallet_address'
        telegram_username:
          $ref: '#/components/schemas/telegram_username'
        pep:
          $ref: '#/components/schemas/pep'
        custom_field_1:
          $ref: '#/components/schemas/custom_field'
        custom_field_2:
          $ref: '#/components/schemas/custom_field'
        custom_field_3:
          $ref: '#/components/schemas/custom_field'
        custom_field_4:
          $ref: '#/components/schemas/custom_field'
        custom_field_5:
          $ref: '#/components/schemas/custom_field'
        decline_reasons: {}
        addresses: {}
        documents: {}
        questionnaires: {}
        verification_status: {}
        verifications_count: {}
    decline_reasons--verification:
      type: array
      items:
        type: string
        enum:
          - AGE_RESTRICTION
          - BAD_QUALITY
          - COMPROMISED_PERSON
          - COMPULSION
          - DIFFERENT_FACES
          - DOCUMENT_DAMAGED
          - DOCUMENT_INCOMPLETE
          - DUPLICATE
          - EDITED_DOCUMENT
          - EXPIRED_DOCUMENT
          - EXPIRES_LESS_3_MONTHS
          - FAKE_DOCUMENT
          - MULTIPLE_PERSON
          - NO_SELFIE
          - OTHER
          - PROHIBITED_JURISDICTION
          - WRONG_DOB
          - WRONG_DOCUMENT
          - WRONG_INFO
          - WRONG_NAME
      example:
        - NO_SELFIE
        - WRONG_NAME
      description: A reason for verification decline for an entity, set by our system
    applicant--get--200--company:
      type:
        - object
        - array
      title: KYC applicant (a company)
      properties:
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        external_applicant_id:
          $ref: '#/components/schemas/external_applicant_id'
        type:
          $ref: '#/components/schemas/type--applicant--company'
        created_at:
          $ref: '#/components/schemas/created_at'
        profile_status:
          $ref: '#/components/schemas/profile_status'
        profile_comment:
          $ref: '#/components/schemas/profile_comment'
        first_name:
          $ref: '#/components/schemas/first_name'
        origin_first_name:
          $ref: '#/components/schemas/origin_first_name'
        middle_name:
          $ref: '#/components/schemas/middle_name'
        origin_middle_name:
          $ref: '#/components/schemas/origin_middle_name'
        last_name:
          $ref: '#/components/schemas/last_name'
        origin_last_name:
          $ref: '#/components/schemas/origin_last_name'
        residence_country:
          $ref: '#/components/schemas/residence_country'
        nationality:
          $ref: '#/components/schemas/nationality'
        dob:
          $ref: '#/components/schemas/dob'
        gender:
          $ref: '#/components/schemas/gender'
        email:
          $ref: '#/components/schemas/email'
        phone:
          $ref: '#/components/schemas/phone'
        phone_status:
          $ref: '#/components/schemas/phone_status'
        wallet_address:
          $ref: '#/components/schemas/wallet_address'
        telegram_username:
          $ref: '#/components/schemas/telegram_username'
        pep:
          $ref: '#/components/schemas/pep'
        custom_field_1:
          $ref: '#/components/schemas/custom_field'
        custom_field_2:
          $ref: '#/components/schemas/custom_field'
        custom_field_3:
          $ref: '#/components/schemas/custom_field'
        custom_field_4:
          $ref: '#/components/schemas/custom_field'
        custom_field_5:
          $ref: '#/components/schemas/custom_field'
        decline_reasons:
          $ref: '#/components/schemas/decline_reasons--verification'
        addresses: {}
        documents: {}
        questionnaires: {}
        verification_status: {}
        verifications_count: {}
    applicant--get--404--applicant_id:
      type: object
      title: Applicant was not found
      description: No applicant with such applicant ID
      properties:
        type:
          type: string
          example: not_found
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: applicant_id
              message:
                type: string
                example: Applicant was not found
    applicant--get--404--verification_id:
      type: object
      title: Verification was not found
      description: No verification with such verification ID
      properties:
        type:
          type: string
          example: not_found
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: verification_id
              message:
                type: string
                example: Verification was not found
    applicant--patch--200:
      type: object
      properties: {}
    applicant--patch--404--applicant_id:
      type: object
      properties:
        type:
          type: string
          example: not_found
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: applicant_id
              message:
                type: string
                example: applicant_id was not found
    applicant--patch--404--business_activity_id:
      type: object
      properties:
        type:
          type: string
          example: not_found
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: business_activity_id
              message:
                type: string
                example: business_activity_id was not found
    card_number:
      title: Card number
      type:
        - string
        - 'null'
      minLength: 12
      maxLength: 19
      example: '5375411422962063'
      description: A number of a credit card for payments
    account_number:
      title: Account number
      type:
        - string
        - 'null'
      maxLength: 50
      example: UA383220010000026200330646508
      description: A bank account number (e.g. IBAN)
    front_side_id:
      title: Front side (first page) ID
      type:
        - string
        - 'null'
      minLength: 36
      maxLength: 36
      example: 46b05f5c14c162402d186822fa0314c6162c
      description: >-
        A unique identifier of a document file, that is assigned by our system
        after a file object was created with a “Create a file” request for a
        specific side (page) of a document
    back_side_id:
      title: Back side (second page) ID
      type:
        - string
        - 'null'
      minLength: 36
      maxLength: 36
      example: b969e3d413fb3246f119c4734739f5cac987
      description: >-
        A unique identifier of a document file, that is assigned by our system
        after a file object was created with a “Create a file” request for a
        specific side (page) of a document
    other_side_1_id:
      title: Third page ID
      type:
        - string
        - 'null'
      minLength: 36
      maxLength: 36
      example: 46b05f5c14c162402d186822fa0314c6162c
      description: >-
        A unique identifier of a document file, that is assigned by our system
        after a file object was created with a “Create a file” request for a
        specific side (page) of a document
    other_side_2_id:
      title: Fourth page ID
      type:
        - string
        - 'null'
      minLength: 36
      maxLength: 36
      example: f57963fa13e42248fb1b64c3357fc97a8737
      description: >-
        A unique identifier of a document file, that is assigned by our system
        after a file object was created with a “Create a file” request for a
        specific side (page) of a document
    other_side_3_id:
      title: Fifth page ID
      type:
        - string
        - 'null'
      minLength: 36
      maxLength: 36
      example: b56147eb1c31a248401aed83bf5670f2c520
      description: >-
        A unique identifier of a document file, that is assigned by our system
        after a file object was created with a “Create a file” request for a
        specific side (page) of a document
    document_number--document:
      type:
        - string
        - 'null'
      maxLength: 50
      example: TH703318A
      description: A number of a document
    additional_number:
      type:
        - string
        - 'null'
      maxLength: 50
      example: E2100007T-5
      description: >-
        An additional number located on a document (e.g. tax ID number located
        on an ID card)
    issue_date:
      title: Issue date
      type:
        - string
        - 'null'
      maxLength: 10
      format: date
      example: '2020-11-04'
      description: An issue date of a document in `YYYY-MM-DD` format
    expiry_date:
      title: Expiration date
      type:
        - string
        - 'null'
      maxLength: 10
      format: date
      example: '2028-11-04'
      description: The date of document expiration, formatted according to ISO 8601
    issuing_authority:
      title: Issuing authority
      type:
        - string
        - 'null'
      maxLength: 255
      example: Social Security Administration
      description: A name of a govenment entity that issues official documents
    document--post--person--drivers_license:
      type: object
      title: Person applicant • Identity • Driver license
      description: >
        A government-issued document that authorises a person to operate
        specific types of vehicles. It typically includes a holder photo, a full
        name, a date of birth, a license class, an expiration date. It is often
        recognized as a valid form of identification.


        ⚠️ *Only one document with any of:*
          * *`DOMESTIC_PASSPORT`*
          * *`DRIVERS_LICENSE`*
          * *`FOREIGN_CITIZEN_PASSPORT`*
          * *`GOVERNMENT_ID`*
          * *`PASSPORT`*
          * *`PERMANENT_RESIDENCE_PERMIT`*
          * *`REFUGEE_CARD`*

          *document type may be associated with one applicant object via `applicant_id`.*

        ⚠️ *After a verification was created, a new document may be added for
        the same applicant object via `applicant_id`, replacing the one added
        before.*


        ---
      properties:
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: DRIVERS_LICENSE
          default: DRIVERS_LICENSE
        document_number:
          $ref: '#/components/schemas/document_number--document'
        additional_number:
          $ref: '#/components/schemas/additional_number'
        issue_date:
          $ref: '#/components/schemas/issue_date'
        expiry_date:
          $ref: '#/components/schemas/expiry_date'
        issuing_authority:
          $ref: '#/components/schemas/issuing_authority'
        front_side_id:
          $ref: '#/components/schemas/front_side_id'
        back_side_id:
          $ref: '#/components/schemas/back_side_id'
        other_side_1_id:
          $ref: '#/components/schemas/other_side_1_id'
        other_side_2_id:
          $ref: '#/components/schemas/other_side_2_id'
        other_side_3_id:
          $ref: '#/components/schemas/other_side_3_id'
      required:
        - applicant_id
        - type
    document--post--person--foreign_citizen_passport:
      type: object
      title: Person applicant • Identity • Foreign citizen passport
      description: >
        A government-issued travel document issued to a foreign national by
        their country of citizenship. It certifies a holder identity and
        nationality, allowing them to travel internationally and return to their
        home country. It may also be used as a proof of identity for various
        administrative purposes.


        ⚠️ *Only one document with any of:*
          * *`DOMESTIC_PASSPORT`*
          * *`DRIVERS_LICENSE`*
          * *`FOREIGN_CITIZEN_PASSPORT`*
          * *`GOVERNMENT_ID`*
          * *`PASSPORT`*
          * *`PERMANENT_RESIDENCE_PERMIT`*
          * *`REFUGEE_CARD`*

          *document type may be associated with one applicant object via `applicant_id`.*

        ⚠️ *After a verification was created, a new document may be added for
        the same applicant object via `applicant_id`, replacing the one added
        before.*


        ---
      properties:
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: FOREIGN_CITIZEN_PASSPORT
          default: FOREIGN_CITIZEN_PASSPORT
        document_number:
          $ref: '#/components/schemas/document_number--document'
        additional_number:
          $ref: '#/components/schemas/additional_number'
        issue_date:
          $ref: '#/components/schemas/issue_date'
        expiry_date:
          $ref: '#/components/schemas/expiry_date'
        issuing_authority:
          $ref: '#/components/schemas/issuing_authority'
        front_side_id:
          $ref: '#/components/schemas/front_side_id'
        back_side_id:
          $ref: '#/components/schemas/back_side_id'
        other_side_1_id:
          $ref: '#/components/schemas/other_side_1_id'
        other_side_2_id:
          $ref: '#/components/schemas/other_side_2_id'
        other_side_3_id:
          $ref: '#/components/schemas/other_side_3_id'
      required:
        - applicant_id
        - type
    document--post--person--government_id:
      type: object
      title: Person applicant • Identity • Government ID
      description: >
        A government-issued document used to verify a person identity. Typically
        provided as a small card, it contains information such as a photo, a
        full name, a date of birth, a gender, and other personal details.


        ⚠️ *Only one document with any of:*
          * *`DOMESTIC_PASSPORT`*
          * *`DRIVERS_LICENSE`*
          * *`FOREIGN_CITIZEN_PASSPORT`*
          * *`GOVERNMENT_ID`*
          * *`PASSPORT`*
          * *`PERMANENT_RESIDENCE_PERMIT`*
          * *`REFUGEE_CARD`*

          *document type may be associated with one applicant object via `applicant_id`.*

        ⚠️ *After a verification was created, a new document may be added for
        the same applicant object via `applicant_id`, replacing the one added
        before.*


        ---
      properties:
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: GOVERNMENT_ID
          default: GOVERNMENT_ID
        document_number:
          $ref: '#/components/schemas/document_number--document'
        additional_number:
          $ref: '#/components/schemas/additional_number'
        issue_date:
          $ref: '#/components/schemas/issue_date'
        expiry_date:
          $ref: '#/components/schemas/expiry_date'
        issuing_authority:
          $ref: '#/components/schemas/issuing_authority'
        front_side_id:
          $ref: '#/components/schemas/front_side_id'
        back_side_id:
          $ref: '#/components/schemas/back_side_id'
        other_side_1_id:
          $ref: '#/components/schemas/other_side_1_id'
        other_side_2_id:
          $ref: '#/components/schemas/other_side_2_id'
        other_side_3_id:
          $ref: '#/components/schemas/other_side_3_id'
      required:
        - applicant_id
        - type
    document--post--person--passport:
      type: object
      title: Person applicant • Identity • Passport
      description: >
        A government-issued document that certifies a holder identity and
        nationality, primarily for international travel purposes.


        ⚠️ *Only one document with any of:*
          * *`DOMESTIC_PASSPORT`*
          * *`DRIVERS_LICENSE`*
          * *`FOREIGN_CITIZEN_PASSPORT`*
          * *`GOVERNMENT_ID`*
          * *`PASSPORT`*
          * *`PERMANENT_RESIDENCE_PERMIT`*
          * *`REFUGEE_CARD`*

          *document type may be associated with one applicant object via `applicant_id`.*

        ⚠️ *After a verification was created, a new document may be added for
        the same applicant object via `applicant_id`, replacing the one added
        before.*


        ---
      properties:
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: PASSPORT
          default: PASSPORT
        document_number:
          $ref: '#/components/schemas/document_number--document'
        additional_number:
          $ref: '#/components/schemas/additional_number'
        issue_date:
          $ref: '#/components/schemas/issue_date'
        expiry_date:
          $ref: '#/components/schemas/expiry_date'
        issuing_authority:
          $ref: '#/components/schemas/issuing_authority'
        front_side_id:
          $ref: '#/components/schemas/front_side_id'
        back_side_id:
          $ref: '#/components/schemas/back_side_id'
        other_side_1_id:
          $ref: '#/components/schemas/other_side_1_id'
        other_side_2_id:
          $ref: '#/components/schemas/other_side_2_id'
        other_side_3_id:
          $ref: '#/components/schemas/other_side_3_id'
      required:
        - applicant_id
        - type
    document--post--person--permanent_residence_permit:
      type: object
      title: Person applicant • Identity • Permanent residence permit
      description: >
        A government-issued document that certifies a person permanent resident
        status in a country where they are not a citizen. It verifies their
        legal right to reside in that country indefinitely and may also serve as
        a proof of identity in certain situations.


        ⚠️ *Only one document with any of:*
          * *`DOMESTIC_PASSPORT`*
          * *`DRIVERS_LICENSE`*
          * *`FOREIGN_CITIZEN_PASSPORT`*
          * *`GOVERNMENT_ID`*
          * *`PASSPORT`*
          * *`PERMANENT_RESIDENCE_PERMIT`*
          * *`REFUGEE_CARD`*

          *document type may be associated with one applicant object via `applicant_id`.*

        ⚠️ *After a verification was created, a new document may be added for
        the same applicant object via `applicant_id`, replacing the one added
        before.*


        ---
      properties:
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: PERMANENT_RESIDENCE_PERMIT
          default: PERMANENT_RESIDENCE_PERMIT
        document_number:
          $ref: '#/components/schemas/document_number--document'
        additional_number:
          $ref: '#/components/schemas/additional_number'
        issue_date:
          $ref: '#/components/schemas/issue_date'
        expiry_date:
          $ref: '#/components/schemas/expiry_date'
        issuing_authority:
          $ref: '#/components/schemas/issuing_authority'
        front_side_id:
          $ref: '#/components/schemas/front_side_id'
        back_side_id:
          $ref: '#/components/schemas/back_side_id'
        other_side_1_id:
          $ref: '#/components/schemas/other_side_1_id'
        other_side_2_id:
          $ref: '#/components/schemas/other_side_2_id'
        other_side_3_id:
          $ref: '#/components/schemas/other_side_3_id'
      required:
        - applicant_id
        - type
    document--post--person--refugee_card:
      type: object
      title: Person applicant • Identity • Refugee card
      description: >
        An identity document issued by UNHCR or an asylum state to refugees. It
        certifies a holder refugee status and serves as an official proof of
        identity, enabling access to essential services and rights within a host
        country.


        ⚠️ *Only one document with any of:*
          * *`DOMESTIC_PASSPORT`*
          * *`DRIVERS_LICENSE`*
          * *`FOREIGN_CITIZEN_PASSPORT`*
          * *`GOVERNMENT_ID`*
          * *`PASSPORT`*
          * *`PERMANENT_RESIDENCE_PERMIT`*
          * *`REFUGEE_CARD`*

          *document type may be associated with one applicant object via `applicant_id`.*

        ⚠️ *After a verification was created, a new document may be added for
        the same applicant object via `applicant_id`, replacing the one added
        before.*


        ---
      properties:
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: REFUGEE_CARD
          default: REFUGEE_CARD
        document_number:
          $ref: '#/components/schemas/document_number--document'
        additional_number:
          $ref: '#/components/schemas/additional_number'
        issue_date:
          $ref: '#/components/schemas/issue_date'
        expiry_date:
          $ref: '#/components/schemas/expiry_date'
        issuing_authority:
          $ref: '#/components/schemas/issuing_authority'
        front_side_id:
          $ref: '#/components/schemas/front_side_id'
        back_side_id:
          $ref: '#/components/schemas/back_side_id'
        other_side_1_id:
          $ref: '#/components/schemas/other_side_1_id'
        other_side_2_id:
          $ref: '#/components/schemas/other_side_2_id'
        other_side_3_id:
          $ref: '#/components/schemas/other_side_3_id'
      required:
        - applicant_id
        - type
    income_sources:
      title: Income sources
      type: array
      items:
        type: string
        enum:
          - SALARY
          - DIVIDENDS
          - SALE_PROPERTY
          - SAVINGS
          - DIVORCE_SETTLEMENTS
          - INHERITANCE
          - LOAN
          - INVESTMENTS
          - OTHER
      example:
        - SAVINGS
        - OTHER
      description: Category of a person or an entity earnings
    annual_income:
      title: Annual income
      type:
        - string
        - 'null'
      enum:
        - ANNUAL_INCOME_GROUP_1
        - ANNUAL_INCOME_GROUP_2
        - ANNUAL_INCOME_GROUP_3
        - ANNUAL_INCOME_GROUP_4
        - null
      example: ANNUAL_INCOME_GROUP_2
      description: >
        An annual income group that categorizes persons or entities based on
        their total yearly income. There are four groups available:

        - `ANNUAL_INCOME_GROUP_1`: less than 50,000 EUR

        - `ANNUAL_INCOME_GROUP_2`: between 50,000 and 100,000 EUR

        - `ANNUAL_INCOME_GROUP_3`: between 100,000 and 300,000 EUR

        - `ANNUAL_INCOME_GROUP_4`: more than 300,000 EUR
    transaction_amount:
      title: Financial transaction amount
      type:
        - number
        - 'null'
      format: float
      example: 14008.55
      description: An amount of a financial transaction
    transaction_currency:
      title: Financial transaction currency
      type:
        - string
        - 'null'
      maxLength: 3
      example: EUR
      description: >-
        An amount of a financial transaction. A three-letter currency code
        according to ISO 4217. Ticker symbols are also accepted (e.g. BTC, ETH,
        SOL)
    transaction_datetime:
      title: Financial transaction date and time
      type:
        - string
        - 'null'
      format: date-time
      example: '2024-11-16 14:22:54'
      description: >-
        A date and time of a financial transaction in `YYYY-MM-DD HH:mm:ss`
        format
    transaction_purpose:
      title: Financial transaction purpose
      type:
        - string
        - 'null'
      maxLength: 255
      example: Payment for additional services
      description: >-
        A definition of an intended reason or objective for a financial
        transaction
    origin_funds:
      title: Origin of funds
      type:
        - string
        - 'null'
      maxLength: 255
      example: Business revenues
      description: A source of financial resources
    document--post--person--bank_statement:
      type: object
      title: Person applicant • Proof of funds • Bank statement
      description: >
        A financial document issued by a bank that provides a detailed summary
        of account transactions over a specific period. It includes deposits,
        withdrawals, charges, beginning and ending balances for a specified
        period.


        ⚠️ *Only 5 documents with any of:*
          * *`FINANCIAL_DOCUMENT`*
          * *`BANK_STATEMENT`*

          *document type may be associated with one applicant object via `applicant_id`.*

        ⚠️ *After a verification was created, 5 new documents may be added for
        the same applicant object via `applicant_id`, replacing the ones added
        before.*


        ---
      properties:
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: BANK_STATEMENT
          default: BANK_STATEMENT
        income_sources:
          $ref: '#/components/schemas/income_sources'
        annual_income:
          $ref: '#/components/schemas/annual_income'
        transaction_amount:
          $ref: '#/components/schemas/transaction_amount'
        transaction_currency:
          $ref: '#/components/schemas/transaction_currency'
        transaction_datetime:
          $ref: '#/components/schemas/transaction_datetime'
        transaction_purpose:
          $ref: '#/components/schemas/transaction_purpose'
        origin_funds:
          $ref: '#/components/schemas/origin_funds'
        front_side_id:
          $ref: '#/components/schemas/front_side_id'
        back_side_id:
          $ref: '#/components/schemas/back_side_id'
        other_side_1_id:
          $ref: '#/components/schemas/other_side_1_id'
        other_side_2_id:
          $ref: '#/components/schemas/other_side_2_id'
        other_side_3_id:
          $ref: '#/components/schemas/other_side_3_id'
      required:
        - applicant_id
        - type
    document--post--person--financial_document:
      type: object
      title: Person applicant • Proof of funds • Financial document
      description: >
        A formal record of financial activities and position of a business, a
        person, or another entity. It includes a balance sheet, income
        statements, and a cash flow statement.


        ⚠️ *Only 5 documents with any of:*
          * *`FINANCIAL_DOCUMENT`*
          * *`BANK_STATEMENT`*

          *document type may be associated with one applicant object via `applicant_id`.*

        ⚠️ *After a verification was created, 5 new documents may be added for
        the same applicant object via `applicant_id`, replacing the ones added
        before.*


        ---
      properties:
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: FINANCIAL_DOCUMENT
          default: FINANCIAL_DOCUMENT
        income_sources:
          $ref: '#/components/schemas/income_sources'
        annual_income:
          $ref: '#/components/schemas/annual_income'
        transaction_amount:
          $ref: '#/components/schemas/transaction_amount'
        transaction_currency:
          $ref: '#/components/schemas/transaction_currency'
        transaction_datetime:
          $ref: '#/components/schemas/transaction_datetime'
        transaction_purpose:
          $ref: '#/components/schemas/transaction_purpose'
        origin_funds:
          $ref: '#/components/schemas/origin_funds'
        front_side_id:
          $ref: '#/components/schemas/front_side_id'
        back_side_id:
          $ref: '#/components/schemas/back_side_id'
        other_side_1_id:
          $ref: '#/components/schemas/other_side_1_id'
        other_side_2_id:
          $ref: '#/components/schemas/other_side_2_id'
        other_side_3_id:
          $ref: '#/components/schemas/other_side_3_id'
      required:
        - applicant_id
        - type
    document--post--person--selfie_image:
      type: object
      title: Person applicant • Selfie
      description: >
        A digital self-portrait image taken by a person using a smartphone or a
        camera.


        ⚠️ *Only one document with any of:*
          * *`SELFIE_IMAGE`*
          * *`SELFIE_WITH_DOCUMENT`*
          * *`SELFIE_WITH_CREDIT_CARD`*

          *document type may be associated with one applicant object via `applicant_id`.*

        ⚠️ *After a verification was created, a new document may be added for
        the same applicant object via `applicant_id`, replacing the one added
        before.*


        ---
      properties:
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: SELFIE_IMAGE
          default: SELFIE_IMAGE
        front_side_id:
          $ref: '#/components/schemas/front_side_id'
        back_side_id:
          $ref: '#/components/schemas/back_side_id'
        other_side_1_id:
          $ref: '#/components/schemas/other_side_1_id'
        other_side_2_id:
          $ref: '#/components/schemas/other_side_2_id'
        other_side_3_id:
          $ref: '#/components/schemas/other_side_3_id'
      required:
        - applicant_id
        - type
    document--post--person--selfie_with_credit_card:
      type: object
      title: Person applicant • Selfie with a credit card
      description: >
        A digital self-portrait image with a credit card in a hand taken by an
        applicant using a smartphone or a camera. It is used to confirm a
        cardholder.


        ⚠️ *Only one document with any of:*
          * *`SELFIE_IMAGE`*
          * *`SELFIE_WITH_DOCUMENT`*
          * *`SELFIE_WITH_CREDIT_CARD`*

          *document type may be associated with one applicant object via `applicant_id`.*

        ⚠️ *After a verification was created, a new document may be added for
        the same applicant object via `applicant_id`, replacing the one added
        before.*


        ---
      properties:
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: SELFIE_WITH_CREDIT_CARD
          default: SELFIE_WITH_CREDIT_CARD
        front_side_id:
          $ref: '#/components/schemas/front_side_id'
        back_side_id:
          $ref: '#/components/schemas/back_side_id'
        other_side_1_id:
          $ref: '#/components/schemas/other_side_1_id'
        other_side_2_id:
          $ref: '#/components/schemas/other_side_2_id'
        other_side_3_id:
          $ref: '#/components/schemas/other_side_3_id'
      required:
        - applicant_id
        - type
    document--post--person--selfie_with_document:
      type: object
      title: Person applicant • Selfie with a document
      description: >
        A digital self-portrait image with a document in a hand taken by an
        applicant using a smartphone or a camera. It is used to confirm a
        document owner.


        ⚠️ *Only one document with any of:*
          * *`SELFIE_IMAGE`*
          * *`SELFIE_WITH_DOCUMENT`*
          * *`SELFIE_WITH_CREDIT_CARD`*

          *document type may be associated with one applicant object via `applicant_id`.*

        ⚠️ *After a verification was created, a new document may be added for
        the same applicant object via `applicant_id`, replacing the one added
        before.*


        ---
      properties:
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: SELFIE_WITH_DOCUMENT
          default: SELFIE_WITH_DOCUMENT
        front_side_id:
          $ref: '#/components/schemas/front_side_id'
        back_side_id:
          $ref: '#/components/schemas/back_side_id'
        other_side_1_id:
          $ref: '#/components/schemas/other_side_1_id'
        other_side_2_id:
          $ref: '#/components/schemas/other_side_2_id'
        other_side_3_id:
          $ref: '#/components/schemas/other_side_3_id'
      required:
        - applicant_id
        - type
    document--post--person--tax_id_number:
      type: object
      title: Person applicant • Tax ID number
      description: >
        A government-issued unique identifier used to track tax obligations of
        persons or entities. It is primarily used for tax filing, payment, and
        reporting purposes.


        ⚠️ *Only one document with `TAX_ID_NUMBER` document type may be
        associated with one applicant object via `applicant_id`.*


        ⚠️ *After a verification was created, a new document may be added for
        the same applicant object via `applicant_id`, replacing the one added
        before.*


        ---
      properties:
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: TAX_ID_NUMBER
          default: TAX_ID_NUMBER
        document_number:
          $ref: '#/components/schemas/document_number--document'
        additional_number:
          $ref: '#/components/schemas/additional_number'
        front_side_id:
          $ref: '#/components/schemas/front_side_id'
        back_side_id:
          $ref: '#/components/schemas/back_side_id'
        other_side_1_id:
          $ref: '#/components/schemas/other_side_1_id'
        other_side_2_id:
          $ref: '#/components/schemas/other_side_2_id'
        other_side_3_id:
          $ref: '#/components/schemas/other_side_3_id'
      required:
        - applicant_id
        - type
    document--post--person--video:
      type: object
      title: Person applicant • Video
      description: >
        A digital self-portrait video taken by a person using a smartphone or a
        camera.


        ⚠️ *Only one document with `VIDEO` document type may be associated with
        one applicant object via `applicant_id`.*


        ⚠️ *After a verification was created, a new document may be added for
        the same applicant object via `applicant_id`, replacing the one added
        before.*


        ---
      properties:
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: VIDEO
          default: VIDEO
        front_side_id:
          $ref: '#/components/schemas/front_side_id'
        back_side_id:
          $ref: '#/components/schemas/back_side_id'
        other_side_1_id:
          $ref: '#/components/schemas/other_side_1_id'
        other_side_2_id:
          $ref: '#/components/schemas/other_side_2_id'
        other_side_3_id:
          $ref: '#/components/schemas/other_side_3_id'
      required:
        - applicant_id
        - type
    document--post--company--authorised_person:
      type: object
      title: Company applicant • Authorised person confirmation
      description: >
        A document that certifies a legal authority to act on behalf of a
        company. It may detail a scope of their authorisation, such as signing
        documents, making decisions, or representing a company in legal,
        financial, or administrative matters.


        ⚠️ *Only one document with `AUTHORISED_PERSON` document type may be
        associated with one applicant object via `applicant_id`.*


        ⚠️ *After a verification was created, a new document may be added for
        the same applicant object via `applicant_id`, replacing the one added
        before.*


        ---
      properties:
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: AUTHORISED_PERSON
          default: AUTHORISED_PERSON
        front_side_id:
          $ref: '#/components/schemas/front_side_id'
        back_side_id:
          $ref: '#/components/schemas/back_side_id'
        other_side_1_id:
          $ref: '#/components/schemas/other_side_1_id'
        other_side_2_id:
          $ref: '#/components/schemas/other_side_2_id'
        other_side_3_id:
          $ref: '#/components/schemas/other_side_3_id'
      required:
        - applicant_id
        - type
    document--post--company--company_legal_address:
      type: object
      title: Company applicant • Company legal address confirmation
      description: >
        A legal document that confirms a company official registration address.
        It typically includes a company name, a registration number, a legal
        address, and a type of business activity.


        ⚠️ *Only one document with `COMPANY_LEGAL_ADDRESS` document type may be
        associated with one applicant object via `applicant_id`.*


        ⚠️ *After a verification was created, a new document may be added for
        the same applicant object via `applicant_id`, replacing the one added
        before.*


        ---
      properties:
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: COMPANY_LEGAL_ADDRESS
          default: COMPANY_LEGAL_ADDRESS
        front_side_id:
          $ref: '#/components/schemas/front_side_id'
        back_side_id:
          $ref: '#/components/schemas/back_side_id'
        other_side_1_id:
          $ref: '#/components/schemas/other_side_1_id'
        other_side_2_id:
          $ref: '#/components/schemas/other_side_2_id'
        other_side_3_id:
          $ref: '#/components/schemas/other_side_3_id'
      required:
        - applicant_id
        - type
    document--post--company--company_ownership:
      type: object
      title: Company applicant • Company ownership confirmation
      description: >
        A document that certifies an ownership of a company. It identifies
        persons or entities that own shares or hold equity in a company, along
        with their respective ownership percentages.


        ⚠️ *Only one document with `COMPANY_OWNERSHIP` document type may be
        associated with one applicant object via `applicant_id`.*


        ⚠️ *After a verification was created, a new document may be added for
        the same applicant object via `applicant_id`, replacing the one added
        before.*


        ---
      properties:
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: COMPANY_OWNERSHIP
          default: COMPANY_OWNERSHIP
        front_side_id:
          $ref: '#/components/schemas/front_side_id'
        back_side_id:
          $ref: '#/components/schemas/back_side_id'
        other_side_1_id:
          $ref: '#/components/schemas/other_side_1_id'
        other_side_2_id:
          $ref: '#/components/schemas/other_side_2_id'
        other_side_3_id:
          $ref: '#/components/schemas/other_side_3_id'
      required:
        - applicant_id
        - type
    document--post--company--registration_company:
      type: object
      title: Company applicant • Company registration certificate
      description: >
        A government-issued certificate that confirms a company legal existence
        and compliance with local laws and regulations. It typically includes a
        company name, a registration number, a legal address, and a type of
        business activity.


        ⚠️ *Only one document with `REGISTRATION_COMPANY` document type may be
        associated with one applicant object via `applicant_id`.*


        ⚠️ *After a verification was created, a new document may be added for
        the same applicant object via `applicant_id`, replacing the one added
        before.*


        ---
      properties:
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: REGISTRATION_COMPANY
          default: REGISTRATION_COMPANY
        front_side_id:
          $ref: '#/components/schemas/front_side_id'
        back_side_id:
          $ref: '#/components/schemas/back_side_id'
        other_side_1_id:
          $ref: '#/components/schemas/other_side_1_id'
        other_side_2_id:
          $ref: '#/components/schemas/other_side_2_id'
        other_side_3_id:
          $ref: '#/components/schemas/other_side_3_id'
      required:
        - applicant_id
        - type
    document_id:
      title: Document ID
      type: string
      minLength: 36
      maxLength: 36
      example: 5f9aeb5e1f25e2441d182f56b6dcbfac12dd
      description: >-
        A unique identifier of a document, that is assigned by our system after
        a document object was created with a “Create a document” request
    document--post--404--applicant_id:
      title: Applicant ID was not found
      description: >-
        The error is sent by our system when an applicant ID in a request was
        not found in the system
      type: object
      properties:
        type:
          type: string
          example: not_found
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: applicant_id
              message:
                type: string
                example: Applicant was not found
    document--post--404--affiliated_person:
      title: Affiliated person ID was not found
      description: >-
        The error is sent by our system when an affiliated person ID in a
        request was not found in the system
      type: object
      properties:
        type:
          type: string
          example: not_found
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: affiliated_person_id
              message:
                type: string
                example: Affiliated person was not found
    document--404--front_side_id:
      title: Front side (first page) ID was not found
      description: >-
        The error is sent by our system when an ID of a file with a document
        front side (first page) was not found in the system
      type: object
      properties:
        type:
          type: string
          example: not_found
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: front_side_id
              message:
                type: string
                example: File was not found
    document--404--back_side_id:
      title: Back side (second page) ID was not found
      description: >-
        The error is sent by our system when an ID of a file with a document
        back side (second page) was not found in the system
      type: object
      properties:
        type:
          type: string
          example: not_found
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: back_side_id
              message:
                type: string
                example: File was not found
    document--404--other_side_1_id:
      title: Other side 1 (third page) ID was not found
      description: >-
        The error is sent by our system when an ID of a file with a document
        other side 1 (third page) was not found in the system
      type: object
      properties:
        type:
          type: string
          example: not_found
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: other_side_1_id
              message:
                type: string
                example: File was not found
    document--404--other_side_2_id:
      title: Other side 2 (fourth page) ID was not found
      description: >-
        The error is sent by our system when an ID of a file with a document
        other side 2 (fourth page) was not found in the system
      type: object
      properties:
        type:
          type: string
          example: not_found
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: other_side_2_id
              message:
                type: string
                example: File was not found
    document--404--other_side_3_id:
      title: Other side 3 (fifth page) ID was not found
      description: >-
        The error is sent by our system when an ID of a file with a document
        other side 3 (fifth page) was not found in the system
      type: object
      properties:
        type:
          type: string
          example: not_found
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: other_side_3_id
              message:
                type: string
                example: File was not found
    document--post--422--document_type:
      title: Type of document is not valid
      description: >
        The error is sent by our system when a `type` parameter is missing or a
        value is not from the list of available document types
      type: object
      properties:
        type:
          type: string
          example: validation
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: type
              message:
                type: string
                example: Type of document is not valid
    document--post--422--applicant_id-affiliated_person_id:
      title: >
        One of the next parameters are required: applicant_id,
        affiliated_person_id
      description: >
        The error is sent by our system when there are no `applicant_id` or
        `affiliated_person_id` parameter in a request
      type: object
      properties:
        type:
          type: string
          example: validation
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: '*'
              message:
                type: string
                example: >-
                  One of the next parameters are required: applicant_id,
                  affiliated_person_id
    document--post--422--applicant_id--invalid:
      title: Applicant ID is not valid
      description: >
        The error is sent by our system when an applicant ID in a request has
        invalid format (not a hash value in 36 characters)
      type: object
      properties:
        type:
          type: string
          example: validation
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: applicant_id
              message:
                type: string
                example: Applicant ID is not valid.
    document--post--422--additional_number:
      title: Document additional number is not valid
      description: >
        The error is sent by our system when a value of an `additional_number`
        parameter was not validated by our system
      type: object
      properties:
        type:
          type: string
          example: validation
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: additional_number
              message:
                type: string
                example: Document additional number is not valid
    document--post--422--issue_date:
      title: Document issue date is not valid
      description: >
        The error is sent by our system when a value of an `issue_date`
        parameter was not validated by our system
      type: object
      properties:
        type:
          type: string
          example: validation
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: issue_date
              message:
                type: string
                example: Document issue date is not valid
    document--post--422--expiry_date:
      title: Document expiry date is not valid
      description: >
        The error is sent by our system when a value of an `expiry_date`
        parameter was not validated by our system
      type: object
      properties:
        type:
          type: string
          example: validation
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: expiry_date
              message:
                type: string
                example: Document expiry date is not valid
    document--post--422--issuing_authority:
      title: Issuing authority is not valid
      description: >
        The error is sent by our system when a value of an `issuing_authority`
        parameter was not validated by our system
      type: object
      properties:
        type:
          type: string
          example: validation
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: issuing_authority
              message:
                type: string
                example: Issuing authority is not valid
    document--post--422--front_side_id:
      title: Front side is not valid
      description: >
        The error is sent by our system when a value of an `front_side_id`
        parameter was not validated by our system
      type: object
      properties:
        type:
          type: string
          example: validation
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: front_side_id
              message:
                type: string
                example: Front side is not valid
    document--post--422--back_side_id:
      title: Back side is not valid
      description: >
        The error is sent by our system when a value of an `back_side_id`
        parameter was not validated by our system
      type: object
      properties:
        type:
          type: string
          example: validation
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: back_side_id
              message:
                type: string
                example: Back side is not valid
    document--post--422--other_side_1_id:
      title: Other sie 1 is not valid
      description: >
        The error is sent by our system when a value of an `other_side_1_id`
        parameter was not validated by our system
      type: object
      properties:
        type:
          type: string
          example: validation
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: other_side_1_id
              message:
                type: string
                example: Other sie 1 is not valid
    document--post--422--other_side_2_id:
      title: Other side 2 is not valid
      description: >
        The error is sent by our system when a value of an `other_side_2_id`
        parameter was not validated by our system
      type: object
      properties:
        type:
          type: string
          example: validation
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: other_side_2_id
              message:
                type: string
                example: Other side 2 is not valid
    document--post--422--other_side_3_id:
      title: Other side 3 is not valid
      description: >
        The error is sent by our system when a value of an `other_side_3_id`
        parameter was not validated by our system
      type: object
      properties:
        type:
          type: string
          example: validation
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: other_side_3_id
              message:
                type: string
                example: Other side 3 is not valid
    document--post--422--income_sources:
      title: Income source is not valid
      description: >
        The error is sent by our system when a value of an `income_sources`
        parameter was not validated by our system
      type: object
      properties:
        type:
          type: string
          example: validation
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: income_sources
              message:
                type: string
                example: Income source is not valid
    document--post--422--transaction_amount:
      title: Transaction amount is not valid
      description: >
        The error is sent by our system when a value of an `transaction_amount`
        parameter was not validated by our system
      type: object
      properties:
        type:
          type: string
          example: validation
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: transaction_amount
              message:
                type: string
                example: Transaction amount is not valid
    document--post--422--transaction_currency:
      title: Transaction currency is not valid
      description: >
        The error is sent by our system when a value of an
        `transaction_currency` parameter was not validated by our system
      type: object
      properties:
        type:
          type: string
          example: validation
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: transaction_currency
              message:
                type: string
                example: Transaction currency is not valid
    document--post--422--transaction_datetime:
      title: Transaction date and time is not valid
      description: >
        The error is sent by our system when a value of an
        `transaction_datetime` parameter was not validated by our system
      type: object
      properties:
        type:
          type: string
          example: validation
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: transaction_datetime
              message:
                type: string
                example: Transaction date and time is not valid
    document--post--422--transaction_purpose:
      title: Transaction purpose is not valid
      description: >
        The error is sent by our system when a value of an `transaction_purpose`
        parameter was not validated by our system
      type: object
      properties:
        type:
          type: string
          example: validation
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: transaction_purpose
              message:
                type: string
                example: Transaction purpose is not valid
    document--post--422--origin_funds:
      title: Origin funds is not valid
      description: >
        The error is sent by our system when a value of an `origin_funds`
        parameter was not validated by our system
      type: object
      properties:
        type:
          type: string
          example: validation
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: origin_funds
              message:
                type: string
                example: Origin funds is not valid
    document--post--422--card_number:
      title: Credit card number is not valid
      description: >
        The error is sent by our system when a value of a `card_number`
        parameter was not validated by our system
      type: object
      properties:
        type:
          type: string
          example: validation
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: card_number
              message:
                type: string
                example: Credit card number is not valid
    document--post--422--account_number:
      title: Account number is not valid
      description: >
        The error is sent by our system when a value of an `account_number`
        parameter was not validated by our system
      type: object
      properties:
        type:
          type: string
          example: validation
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: account_number
              message:
                type: string
                example: Account number is not valid
    document--post--429--domestic_passport:
      title: Limit for DOMESTIC_PASSPORT documents was reached
      description: >
        The error is sent by our system when limits for creating documents with
        a specific type were reached. Only one document with any of document
        types: `DOMESTIC_PASSPORT`, `DRIVERS_LICENSE`,
        `FOREIGN_CITIZEN_PASSPORT`, `GOVERNMENT_ID`, `PASSPORT`,
        `PERMANENT_RESIDENCE_PERMIT`, `REFUGEE_CARD` is allowed
      type: object
      properties:
        type:
          type: string
          example: limit_exceeded
        duplicate_document_ids:
          type: string
          example: a8b90a3715232245ab28a97051dab2ab45f8
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: type
              message:
                type: string
                example: Document with type DOMESTIC_PASSPORT can not be more than 1
    document--post--429--drivers_license:
      title: Limit for DRIVERS_LICENSE documents was reached
      description: >
        The error is sent by our system when limits for creating documents with
        a specific type were reached. Only one document with any of document
        types: `DOMESTIC_PASSPORT`, `DRIVERS_LICENSE`,
        `FOREIGN_CITIZEN_PASSPORT`, `GOVERNMENT_ID`, `PASSPORT`,
        `PERMANENT_RESIDENCE_PERMIT`, `REFUGEE_CARD` is allowed
      type: object
      properties:
        type:
          type: string
          example: limit_exceeded
        duplicate_document_ids:
          type: string
          example: a8b90a3715232245ab28a97051dab2ab45f8
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: type
              message:
                type: string
                example: Document with type DRIVERS_LICENSE can not be more than 1
    document--post--429--foreign_citizen_passport:
      title: Limit for FOREIGN_CITIZEN_PASSPORT documents was reached
      description: >
        The error is sent by our system when limits for creating documents with
        a specific type were reached. Only one document with any of document
        types: `DOMESTIC_PASSPORT`, `DRIVERS_LICENSE`,
        `FOREIGN_CITIZEN_PASSPORT`, `GOVERNMENT_ID`, `PASSPORT`,
        `PERMANENT_RESIDENCE_PERMIT`, `REFUGEE_CARD` is allowed
      type: object
      properties:
        type:
          type: string
          example: limit_exceeded
        duplicate_document_ids:
          type: string
          example: a8b90a3715232245ab28a97051dab2ab45f8
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: type
              message:
                type: string
                example: >-
                  Document with type FOREIGN_CITIZEN_PASSPORT can not be more
                  than 1
    document--post--429--government_id:
      title: Limit for GOVERNMENT_ID documents was reached
      description: >
        The error is sent by our system when limits for creating documents with
        a specific type were reached. Only one document with any of document
        types: `DOMESTIC_PASSPORT`, `DRIVERS_LICENSE`,
        `FOREIGN_CITIZEN_PASSPORT`, `GOVERNMENT_ID`, `PASSPORT`,
        `PERMANENT_RESIDENCE_PERMIT`, `REFUGEE_CARD` is allowed
      type: object
      properties:
        type:
          type: string
          example: limit_exceeded
        duplicate_document_ids:
          type: string
          example: a8b90a3715232245ab28a97051dab2ab45f8
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: type
              message:
                type: string
                example: Document with type GOVERNMENT_ID can not be more than 1
    document--post--429--passport:
      title: Limit for PASSPORT documents was reached
      description: >
        The error is sent by our system when limits for creating documents with
        a specific type were reached. Only one document with any of document
        types: `DOMESTIC_PASSPORT`, `DRIVERS_LICENSE`,
        `FOREIGN_CITIZEN_PASSPORT`, `GOVERNMENT_ID`, `PASSPORT`,
        `PERMANENT_RESIDENCE_PERMIT`, `REFUGEE_CARD` is allowed
      type: object
      properties:
        type:
          type: string
          example: limit_exceeded
        duplicate_document_ids:
          type: string
          example: a8b90a3715232245ab28a97051dab2ab45f8
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: type
              message:
                type: string
                example: Document with type PASSPORT can not be more than 1
    document--post--429--permanent_residence_permit:
      title: Limit for PERMANENT_RESIDENCE_PERMIT documents was reached
      description: >
        The error is sent by our system when limits for creating documents with
        a specific type were reached. Only one document with any of document
        types: `DOMESTIC_PASSPORT`, `DRIVERS_LICENSE`,
        `FOREIGN_CITIZEN_PASSPORT`, `GOVERNMENT_ID`, `PASSPORT`,
        `PERMANENT_RESIDENCE_PERMIT`, `REFUGEE_CARD` is allowed
      type: object
      properties:
        type:
          type: string
          example: limit_exceeded
        duplicate_document_ids:
          type: string
          example: a8b90a3715232245ab28a97051dab2ab45f8
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: type
              message:
                type: string
                example: >-
                  Document with type PERMANENT_RESIDENCE_PERMIT can not be more
                  than 1
    document--post--429--refugee_card:
      title: Limit for REFUGEE_CARD documents was reached
      description: >
        The error is sent by our system when limits for creating documents with
        a specific type were reached. Only one document with any of document
        types: DOMESTIC_PASSPORT, DRIVERS_LICENSE, FOREIGN_CITIZEN_PASSPORT,
        GOVERNMENT_ID, PASSPORT, PERMANENT_RESIDENCE_PERMIT, REFUGEE_CARD is
        allowed
      type: object
      properties:
        type:
          type: string
          example: limit_exceeded
        duplicate_document_ids:
          type: string
          example: a8b90a3715232245ab28a97051dab2ab45f8
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: type
              message:
                type: string
                example: Document with type REFUGEE_CARD can not be more than 1
    document--post--429--bank_statement:
      title: Limit for BANK_STATEMENT documents was reached
      description: >
        The error is sent by our system when limits for creating documents with
        a specific type were reached. Only 5 documents with any of document
        types: `BANK_STATEMENT`, `FINANCIAL_DOCUMENT` are allowed
      type: object
      properties:
        type:
          type: string
          example: limit_exceeded
        duplicate_document_ids:
          type: array
          items:
            type: string
          example:
            - 451f601210d1124403292390664de7d86421
            - 91a7cee91c5db2485d2abfa0253f9f9e9444
            - a54450141a8b124cfb2883d07934702b9ee3
            - 0e59dde21737b245672ab970bc6dc401b693
            - a2ca532e1f65624af6293130c018ef52106f
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: type
              message:
                type: string
                example: Document with type BANK_STATEMENT can not be more than 5
    document--post--429--financial_document:
      title: Limit for FINANCIAL_DOCUMENT documents was reached
      description: >
        The error is sent by our system when limits for creating documents with
        a specific type were reached. Only 5 documents with any of document
        types: `BANK_STATEMENT`, `FINANCIAL_DOCUMENT` are allowed
      type: object
      properties:
        type:
          type: string
          example: limit_exceeded
        duplicate_document_ids:
          type: array
          items:
            type: string
          example:
            - 451f601210d1124403292390664de7d86421
            - 91a7cee91c5db2485d2abfa0253f9f9e9444
            - a54450141a8b124cfb2883d07934702b9ee3
            - 0e59dde21737b245672ab970bc6dc401b693
            - a2ca532e1f65624af6293130c018ef52106f
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: type
              message:
                type: string
                example: Document with type FINANCIAL_DOCUMENT can not be more than 5
    document--post--429--credit_card:
      title: Limit for CREDIT_CARD documents was reached
      description: >
        The error is sent by our system when limits for creating documents with
        a specific type were reached. Only one document with `CREDIT_CARD`
        document type is allowed
      type: object
      properties:
        type:
          type: string
          example: limit_exceeded
        duplicate_document_ids:
          type: string
          example: a8b90a3715232245ab28a97051dab2ab45f8
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: type
              message:
                type: string
                example: Document with type CREDIT_CARD can not be more than 1
    document--post--429--selfie_image:
      title: Limit for SELFIE_IMAGE documents was reached
      description: >
        The error is sent by our system when limits for creating documents with
        a specific type were reached. Only one document with any of document
        types: `SELFIE_IMAGE`, `SELFIE_WITH_CREDIT_CARD`, `SELFIE_WITH_DOCUMENT`
        is allowed
      type: object
      properties:
        type:
          type: string
          example: limit_exceeded
        duplicate_document_ids:
          type: string
          example: d18278e61f09524a4b296a805f3b785cae8f
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: type
              message:
                type: string
                example: Document with type SELFIE_IMAGE can not be more than 1
    document--post--429--selfie_with_credit_card:
      title: Limit for SELFIE_WITH_CREDIT_CARD documents was reached
      description: >
        The error is sent by our system when limits for creating documents with
        a specific type were reached. Only one document with any of document
        types: `SELFIE_IMAGE`, `SELFIE_WITH_CREDIT_CARD`, `SELFIE_WITH_DOCUMENT`
        is allowed
      type: object
      properties:
        type:
          type: string
          example: limit_exceeded
        duplicate_document_ids:
          type: string
          example: d18278e61f09524a4b296a805f3b785cae8f
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: type
              message:
                type: string
                example: >-
                  Document with type SELFIE_WITH_CREDIT_CARD can not be more
                  than 1
    document--post--429--selfie_with_document:
      title: Limit for SELFIE_WITH_DOCUMENT documents was reached
      description: >
        The error is sent by our system when limits for creating documents with
        a specific type were reached. Only one document with any of document
        types: `SELFIE_IMAGE`, `SELFIE_WITH_CREDIT_CARD`, `SELFIE_WITH_DOCUMENT`
        is allowed
      type: object
      properties:
        type:
          type: string
          example: limit_exceeded
        duplicate_document_ids:
          type: string
          example: d18278e61f09524a4b296a805f3b785cae8f
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: type
              message:
                type: string
                example: Document with type SELFIE_WITH_DOCUMENT can not be more than 1
    document--post--429--tax_id_number:
      title: Limit for TAX_ID_NUMBER documents was reached
      description: >
        The error is sent by our system when limits for creating documents with
        a specific type were reached. Only one document with `TAX_ID_NUMBER`
        document type is allowed
      type: object
      properties:
        type:
          type: string
          example: limit_exceeded
        duplicate_document_ids:
          type: string
          example: 0dc68aad1a6a6249542a7d70c501056b7c6b
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: type
              message:
                type: string
                example: Document with type TAX_ID_NUMBER can not be more than 1
    document--post--429--video:
      title: Limit for VIDEO documents was reached
      description: >
        The error is sent by our system when limits for creating documents with
        a specific type were reached. Only one document with `VIDEO` document
        type is allowed
      type: object
      properties:
        type:
          type: string
          example: limit_exceeded
        duplicate_document_ids:
          type: string
          example: d9f19a881bff524dc5286d607a78f1fad164
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: type
              message:
                type: string
                example: Document with type VIDEO can not be more than 1
    provider:
      title: Document provider
      type: string
      enum:
        - ADMIN
        - IN_AADHAAR
        - KZ_ADATA
        - MANUAL
        - RECOGNITION
        - UA_BANK_ID
        - UA_DIIA
      example: MANUAL
      description: |
        A person or a service, that created initiated document creation:
        - `ADMIN`: A manager
        - `IN_AADHAAR`: Indian Aahaar service
        - `KZ_ADATA`: Kazakhstan Adata service
        - `MANUAL`: API request or a form initialisation
        - `RECOGNITION`: Recognition service
        - `UA_BANK_ID`: Ukrainian BankID service
        - `UA_DIIA`: Ukrainian Diia service
    status:
      title: Document verification status
      type:
        - string
        - 'null'
      enum:
        - new
        - valid
        - invalid
      example: new
      description: >
        A status of document verification. Set automatically by our system or
        manually in the Admin panel or in the Dashboard after reviewal.

        * `new`: a newly created document, that was not reviewed

        * `valid`: a reviewed and approved document

        * `invalid`: a reviewed and declined document
    comment:
      title: Comment
      type:
        - string
        - 'null'
      maxLength: 1000
      example: Low-quality photo of the document
      description: >-
        An additional comment added manually in the Admin panel or in the
        Dashboard regarding reasons of document verification decline (`invalid`
        status)
    portrait:
      title: Portrait photo URL
      type:
        - string
        - 'null'
      maxLength: 2048
      example: >-
        https://storage.googleapis.com/kycaid/files/90ced843498a0340352bbcf51b9ac3f7fee0.jpg
      description: >-
        A URL of a person portrait photo, extracted from a document file by our
        system
    front_side:
      title: Document front side (first page) URL
      type:
        - string
        - 'null'
      maxLength: 2048
      example: >-
        https://storage.googleapis.com/kycaid/files/90ced843498a0340352bbcf51b9ac3f7fee0.jpg
      description: A URL of an uploaded front side (first page) of a document file
    back_side:
      title: Document back side (second page) URL
      type:
        - string
        - 'null'
      maxLength: 2048
      example: >-
        https://storage.googleapis.com/kycaid/files/90ced843498a0340352bbcf51b9ac3f7fee0.jpg
      description: A URL of an uploaded back side (second page) of a document
    other_side_1:
      title: Document third page URL
      type:
        - string
        - 'null'
      maxLength: 2048
      example: >-
        https://storage.googleapis.com/kycaid/files/90ced843498a0340352bbcf51b9ac3f7fee0.jpg
      description: A URL of an uploaded third page of a document
    other_side_2:
      title: Document fourth page URL
      type:
        - string
        - 'null'
      maxLength: 2048
      example: >-
        https://storage.googleapis.com/kycaid/files/90ced843498a0340352bbcf51b9ac3f7fee0.jpg
      description: A URL of an uploaded fourth page of a document
    decline_reasons_ids:
      title: Document reasons IDs
      type:
        - array
        - 'null'
      items:
        type:
          - integer
          - 'null'
        enum:
          - 1
          - 2
          - 3
          - 4
          - 5
          - 7
          - 8
          - 9
          - 10
          - 11
          - 12
          - 13
          - 24
          - 25
          - 26
          - 27
          - 28
          - 29
          - 30
          - 31
          - 32
          - 33
          - 34
          - 35
          - 36
      example:
        - 29
      description: |
        A list of IDs of reasons why a document was declined.
        * `1`: `OTHER`
        * `2`: `WRONG_NAME`
        * `3`: `WRONG_DOB`
        * `4`: `AGE_RESTRICTION`
        * `5`: `EXPIRED_DOCUMENT`
        * `7`: `BAD_QUALITY`
        * `8`: `FAKE_DOCUMENT`
        * `9`: `WRONG_INFO`
        * `10`: `PROHIBITED_JURISDICTION`
        * `11`: `NO_SELFIE`
        * `12`: `DIFFERENT_FACES`
        * `13`: `WRONG_DOCUMENT`
        * `24`: `DUPLICATE`
        * `25`: `DOCUMENT_DAMAGED`
        * `26`: `DOCUMENT_INCOMPLETE`
        * `27`: `FRAUDULENT`
        * `28`: `TAX_ID_REQUIRED`
        * `29`: `COMPROMISED_PERSON`
        * `30`: `EDITED_DOCUMENT`
        * `31`: `MULTIPLE_PERSON`
        * `32`: `COMPULSION`
        * `33`: `LIMIT_REACHED_OTP`
        * `34`: `IP_MISMATCH`
        * `35`: `ANONYMIZING_NETWORK`
        * `36`: `QES_MISMATCH`
    decline_reasons--document:
      title: Document decline reasons
      type:
        - array
        - 'null'
      items:
        type:
          - string
          - 'null'
        enum:
          - AGE_RESTRICTION
          - BAD_QUALITY
          - COMPROMISED_PERSON
          - COMPULSION
          - DIFFERENT_FACES
          - DOCUMENT_DAMAGED
          - DOCUMENT_INCOMPLETE
          - DUPLICATE
          - EDITED_DOCUMENT
          - EXPIRED_DOCUMENT
          - FAKE_DOCUMENT
          - FRAUDULENT
          - IP_MISMATCH
          - LIMIT_REACHED_OTP
          - MULTIPLE_PERSON
          - NO_SELFIE
          - OTHER
          - PROHIBITED_JURISDICTION
          - TAX_ID_REQUIRED
          - WRONG_DOB
          - WRONG_DOCUMENT
          - WRONG_INFO
          - WRONG_NAME
          - null
      example:
        - FRAUDULENT
        - NO_SELFIE
      description: >
        The explanation of why a document was declined by our system or by a
        manager.

        * `AGE_RESTRICTION`: A document of a person doesnt meet minimum
        requirements

        * `ANONYMIZING_NETWORK`: Our system detected that a person uses an
        anonymous network

        * `BAD_QUALITY`: A document image provided is of poor quality, making it
        unreadable

        * `COMPROMISED_PERSON`: A person has been flagged as compromised in a
        blacklist database

        * `COMPULSION`: A document capture may have been forced, indicating
        potential coercion or lack of consent

        * `DIFFERENT_FACES`: Faces in a document and selfie do not match,
        indicating a discrepancy

        * `DOCUMENT_DAMAGED`: A document is physically damaged and cannot be
        recognised

        * `DOCUMENT_INCOMPLETE`: A document is missing required sections or
        pages for verification

        * `DUPLICATE`: An applicant with a document already exists in our
        system, creating unallowed duplication

        * `EDITED_DOCUMENT`: A document has been tampered with or edited,
        leading to concerns about authenticity

        * `EXPIRED_DOCUMENT`: A document has passed its expiration date and is
        no longer valid 

        * `FAKE_DOCUMENT`: A document provided is fraudulent, contains signs of
        forgery, or does not correspond to an official format

        * `FRAUDULENT`: A document shows clear signs of fraudulent activity or
        intent

        * `IP_MISMATCH`: An issuing country of a document does not match person
        IP address

        * `LIMIT_REACHED_OTP`: Wrong one-time passwords (OTP) were entered
        several times during document confirmation, reaching a limit of the
        number of attempts

        * `MULTIPLE_PERSON`: A document includes more than one person, which is
        not permitted

        * `NO_SELFIE`: A required selfie was not provided

        * `OTHER`: Any issue or reason not covered by the predefined categories

        * `PROHIBITED_JURISDICTION`: A document originates from a jurisdiction
        restricted or prohibited by a policy

        * `QES_MISMATCH`: An information from Qualified Electronic Signature
        (QES) does not match a person profile

        * `TAX_ID_REQUIRED`: A valid tax identification number is mandatory but
        was not provided

        * `WRONG_DOB`: A date of birth provided does not match the one on a
        document

        * `WRONG_DOCUMENT`: A submitted document type is not supported for a
        document owner type

        * `WRONG_INFO`: An information provided does not match details in a
        document

        * `WRONG_NAME`: Names provided do not align with the ones on a document
    document--get--200--person--credit_card:
      type: object
      title: Person applicant • Credit card
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: CREDIT_CARD
          default: CREDIT_CARD
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          allOf:
            - $ref: '#/components/schemas/document_number--document'
              example: null
          example: null
        additional_number:
          allOf:
            - $ref: '#/components/schemas/additional_number'
              example: null
          example: null
        issue_date:
          allOf:
            - $ref: '#/components/schemas/issue_date'
              example: null
          example: null
        expiry_date:
          allOf:
            - $ref: '#/components/schemas/expiry_date'
              example: null
          example: null
        issuing_authority:
          allOf:
            - $ref: '#/components/schemas/issuing_authority'
              example: null
          example: null
        income_sources:
          allOf:
            - $ref: '#/components/schemas/income_sources'
              example: null
          example: []
        annual_income:
          allOf:
            - $ref: '#/components/schemas/annual_income'
              example: null
          example: null
        transaction_amount:
          allOf:
            - $ref: '#/components/schemas/transaction_amount'
              example: null
          example: null
        transaction_currency:
          allOf:
            - $ref: '#/components/schemas/transaction_currency'
              example: null
          example: null
        transaction_datetime:
          allOf:
            - $ref: '#/components/schemas/transaction_datetime'
              example: null
          example: null
        transaction_purpose:
          allOf:
            - $ref: '#/components/schemas/transaction_purpose'
              example: null
          example: null
        origin_funds:
          allOf:
            - $ref: '#/components/schemas/origin_funds'
              example: null
          example: null
        card_number:
          $ref: '#/components/schemas/card_number'
        account_number:
          $ref: '#/components/schemas/account_number'
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--person--domestic_passport:
      type: object
      title: Person applicant • Identity • Domestic passport
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: DOMESTIC_PASSPORT
          default: DOMESTIC_PASSPORT
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          $ref: '#/components/schemas/document_number--document'
        additional_number:
          $ref: '#/components/schemas/additional_number'
        issue_date:
          $ref: '#/components/schemas/issue_date'
        expiry_date:
          $ref: '#/components/schemas/expiry_date'
        issuing_authority:
          $ref: '#/components/schemas/issuing_authority'
        income_sources:
          allOf:
            - $ref: '#/components/schemas/income_sources'
              example: null
          example: []
        annual_income:
          allOf:
            - $ref: '#/components/schemas/annual_income'
              example: null
          example: null
        transaction_amount:
          allOf:
            - $ref: '#/components/schemas/transaction_amount'
              example: null
          example: null
        transaction_currency:
          allOf:
            - $ref: '#/components/schemas/transaction_currency'
              example: null
          example: null
        transaction_datetime:
          allOf:
            - $ref: '#/components/schemas/transaction_datetime'
              example: null
          example: null
        transaction_purpose:
          allOf:
            - $ref: '#/components/schemas/transaction_purpose'
              example: null
          example: null
        origin_funds:
          allOf:
            - $ref: '#/components/schemas/origin_funds'
              example: null
          example: null
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--person--drivers_license:
      type: object
      title: Person applicant • Identity • Driver license
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: DRIVERS_LICENSE
          default: DRIVERS_LICENSE
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          $ref: '#/components/schemas/document_number--document'
        additional_number:
          $ref: '#/components/schemas/additional_number'
        issue_date:
          $ref: '#/components/schemas/issue_date'
        expiry_date:
          $ref: '#/components/schemas/expiry_date'
        issuing_authority:
          $ref: '#/components/schemas/issuing_authority'
        income_sources:
          allOf:
            - $ref: '#/components/schemas/income_sources'
              example: null
          example: []
        annual_income:
          allOf:
            - $ref: '#/components/schemas/annual_income'
              example: null
          example: null
        transaction_amount:
          allOf:
            - $ref: '#/components/schemas/transaction_amount'
              example: null
          example: null
        transaction_currency:
          allOf:
            - $ref: '#/components/schemas/transaction_currency'
              example: null
          example: null
        transaction_datetime:
          allOf:
            - $ref: '#/components/schemas/transaction_datetime'
              example: null
          example: null
        transaction_purpose:
          allOf:
            - $ref: '#/components/schemas/transaction_purpose'
              example: null
          example: null
        origin_funds:
          allOf:
            - $ref: '#/components/schemas/origin_funds'
              example: null
          example: null
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--person--foreign_citizen_passport:
      type: object
      title: Person applicant • Identity • Foreign citizen passport
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: FOREIGN_CITIZEN_PASSPORT
          default: FOREIGN_CITIZEN_PASSPORT
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          $ref: '#/components/schemas/document_number--document'
        additional_number:
          $ref: '#/components/schemas/additional_number'
        issue_date:
          $ref: '#/components/schemas/issue_date'
        expiry_date:
          $ref: '#/components/schemas/expiry_date'
        issuing_authority:
          $ref: '#/components/schemas/issuing_authority'
        income_sources:
          allOf:
            - $ref: '#/components/schemas/income_sources'
              example: null
          example: []
        annual_income:
          allOf:
            - $ref: '#/components/schemas/annual_income'
              example: null
          example: null
        transaction_amount:
          allOf:
            - $ref: '#/components/schemas/transaction_amount'
              example: null
          example: null
        transaction_currency:
          allOf:
            - $ref: '#/components/schemas/transaction_currency'
              example: null
          example: null
        transaction_datetime:
          allOf:
            - $ref: '#/components/schemas/transaction_datetime'
              example: null
          example: null
        transaction_purpose:
          allOf:
            - $ref: '#/components/schemas/transaction_purpose'
              example: null
          example: null
        origin_funds:
          allOf:
            - $ref: '#/components/schemas/origin_funds'
              example: null
          example: null
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--person--government_id:
      type: object
      title: Person applicant • Identity • Government ID
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: GOVERNMENT_ID
          default: GOVERNMENT_ID
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          $ref: '#/components/schemas/document_number--document'
        additional_number:
          $ref: '#/components/schemas/additional_number'
        issue_date:
          $ref: '#/components/schemas/issue_date'
        expiry_date:
          $ref: '#/components/schemas/expiry_date'
        issuing_authority:
          $ref: '#/components/schemas/issuing_authority'
        income_sources:
          allOf:
            - $ref: '#/components/schemas/income_sources'
              example: null
          example: []
        annual_income:
          allOf:
            - $ref: '#/components/schemas/annual_income'
              example: null
          example: null
        transaction_amount:
          allOf:
            - $ref: '#/components/schemas/transaction_amount'
              example: null
          example: null
        transaction_currency:
          allOf:
            - $ref: '#/components/schemas/transaction_currency'
              example: null
          example: null
        transaction_datetime:
          allOf:
            - $ref: '#/components/schemas/transaction_datetime'
              example: null
          example: null
        transaction_purpose:
          allOf:
            - $ref: '#/components/schemas/transaction_purpose'
              example: null
          example: null
        origin_funds:
          allOf:
            - $ref: '#/components/schemas/origin_funds'
              example: null
          example: null
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--person--passport:
      type: object
      title: Person applicant • Identity • Passport
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: PASSPORT
          default: PASSPORT
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          $ref: '#/components/schemas/document_number--document'
        additional_number:
          $ref: '#/components/schemas/additional_number'
        issue_date:
          $ref: '#/components/schemas/issue_date'
        expiry_date:
          $ref: '#/components/schemas/expiry_date'
        issuing_authority:
          $ref: '#/components/schemas/issuing_authority'
        income_sources:
          allOf:
            - $ref: '#/components/schemas/income_sources'
              example: null
          example: []
        annual_income:
          allOf:
            - $ref: '#/components/schemas/annual_income'
              example: null
          example: null
        transaction_amount:
          allOf:
            - $ref: '#/components/schemas/transaction_amount'
              example: null
          example: null
        transaction_currency:
          allOf:
            - $ref: '#/components/schemas/transaction_currency'
              example: null
          example: null
        transaction_datetime:
          allOf:
            - $ref: '#/components/schemas/transaction_datetime'
              example: null
          example: null
        transaction_purpose:
          allOf:
            - $ref: '#/components/schemas/transaction_purpose'
              example: null
          example: null
        origin_funds:
          allOf:
            - $ref: '#/components/schemas/origin_funds'
              example: null
          example: null
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--person--permanent_residence_permit:
      type: object
      title: Person applicant • Identity • Permanent residence permit
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: PERMANENT_RESIDENCE_PERMIT
          default: PERMANENT_RESIDENCE_PERMIT
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          $ref: '#/components/schemas/document_number--document'
        additional_number:
          $ref: '#/components/schemas/additional_number'
        issue_date:
          $ref: '#/components/schemas/issue_date'
        expiry_date:
          $ref: '#/components/schemas/expiry_date'
        issuing_authority:
          $ref: '#/components/schemas/issuing_authority'
        income_sources:
          allOf:
            - $ref: '#/components/schemas/income_sources'
              example: null
          example: []
        annual_income:
          allOf:
            - $ref: '#/components/schemas/annual_income'
              example: null
          example: null
        transaction_amount:
          allOf:
            - $ref: '#/components/schemas/transaction_amount'
              example: null
          example: null
        transaction_currency:
          allOf:
            - $ref: '#/components/schemas/transaction_currency'
              example: null
          example: null
        transaction_datetime:
          allOf:
            - $ref: '#/components/schemas/transaction_datetime'
              example: null
          example: null
        transaction_purpose:
          allOf:
            - $ref: '#/components/schemas/transaction_purpose'
              example: null
          example: null
        origin_funds:
          allOf:
            - $ref: '#/components/schemas/origin_funds'
              example: null
          example: null
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--person--refugee_card:
      type: object
      title: Person applicant • Identity • Refugee card
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: REFUGEE_CARD
          default: REFUGEE_CARD
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          $ref: '#/components/schemas/document_number--document'
        additional_number:
          $ref: '#/components/schemas/additional_number'
        issue_date:
          $ref: '#/components/schemas/issue_date'
        expiry_date:
          $ref: '#/components/schemas/expiry_date'
        issuing_authority:
          $ref: '#/components/schemas/issuing_authority'
        income_sources:
          allOf:
            - $ref: '#/components/schemas/income_sources'
              example: null
          example: []
        annual_income:
          allOf:
            - $ref: '#/components/schemas/annual_income'
              example: null
          example: null
        transaction_amount:
          allOf:
            - $ref: '#/components/schemas/transaction_amount'
              example: null
          example: null
        transaction_currency:
          allOf:
            - $ref: '#/components/schemas/transaction_currency'
              example: null
          example: null
        transaction_datetime:
          allOf:
            - $ref: '#/components/schemas/transaction_datetime'
              example: null
          example: null
        transaction_purpose:
          allOf:
            - $ref: '#/components/schemas/transaction_purpose'
              example: null
          example: null
        origin_funds:
          allOf:
            - $ref: '#/components/schemas/origin_funds'
              example: null
          example: null
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--person--bank_statement:
      type: object
      title: Person applicant • Proof of funds • Bank statement
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: BANK_STATEMENT
          default: BANK_STATEMENT
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          allOf:
            - $ref: '#/components/schemas/document_number--document'
              example: null
          example: null
        additional_number:
          allOf:
            - $ref: '#/components/schemas/additional_number'
              example: null
          example: null
        issue_date:
          allOf:
            - $ref: '#/components/schemas/issue_date'
              example: null
          example: null
        expiry_date:
          allOf:
            - $ref: '#/components/schemas/expiry_date'
              example: null
          example: null
        issuing_authority:
          allOf:
            - $ref: '#/components/schemas/issuing_authority'
              example: null
          example: null
        income_sources:
          $ref: '#/components/schemas/income_sources'
        annual_income:
          $ref: '#/components/schemas/annual_income'
        transaction_amount:
          $ref: '#/components/schemas/transaction_amount'
        transaction_currency:
          $ref: '#/components/schemas/transaction_currency'
        transaction_datetime:
          $ref: '#/components/schemas/transaction_datetime'
        transaction_purpose:
          $ref: '#/components/schemas/transaction_purpose'
        origin_funds:
          $ref: '#/components/schemas/origin_funds'
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--person--financial_document:
      type: object
      title: Person applicant • Proof of funds • Financial document
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: FINANCIAL_DOCUMENT
          default: FINANCIAL_DOCUMENT
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          allOf:
            - $ref: '#/components/schemas/document_number--document'
              example: null
          example: null
        additional_number:
          allOf:
            - $ref: '#/components/schemas/additional_number'
              example: null
          example: null
        issue_date:
          allOf:
            - $ref: '#/components/schemas/issue_date'
              example: null
          example: null
        expiry_date:
          allOf:
            - $ref: '#/components/schemas/expiry_date'
              example: null
          example: null
        issuing_authority:
          allOf:
            - $ref: '#/components/schemas/issuing_authority'
              example: null
          example: null
        income_sources:
          $ref: '#/components/schemas/income_sources'
        annual_income:
          $ref: '#/components/schemas/annual_income'
        transaction_amount:
          $ref: '#/components/schemas/transaction_amount'
        transaction_currency:
          $ref: '#/components/schemas/transaction_currency'
        transaction_datetime:
          $ref: '#/components/schemas/transaction_datetime'
        transaction_purpose:
          $ref: '#/components/schemas/transaction_purpose'
        origin_funds:
          $ref: '#/components/schemas/origin_funds'
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--person--selfie_image:
      type: object
      title: Person applicant • Selfie
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: SELFIE_IMAGE
          default: SELFIE_IMAGE
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          allOf:
            - $ref: '#/components/schemas/document_number--document'
              example: null
          example: null
        additional_number:
          allOf:
            - $ref: '#/components/schemas/additional_number'
              example: null
          example: null
        issue_date:
          allOf:
            - $ref: '#/components/schemas/issue_date'
              example: null
          example: null
        expiry_date:
          allOf:
            - $ref: '#/components/schemas/expiry_date'
              example: null
          example: null
        issuing_authority:
          allOf:
            - $ref: '#/components/schemas/issuing_authority'
              example: null
          example: null
        income_sources:
          allOf:
            - $ref: '#/components/schemas/income_sources'
              example: null
          example: []
        annual_income:
          allOf:
            - $ref: '#/components/schemas/annual_income'
              example: null
          example: null
        transaction_amount:
          allOf:
            - $ref: '#/components/schemas/transaction_amount'
              example: null
          example: null
        transaction_currency:
          allOf:
            - $ref: '#/components/schemas/transaction_currency'
              example: null
          example: null
        transaction_datetime:
          allOf:
            - $ref: '#/components/schemas/transaction_datetime'
              example: null
          example: null
        transaction_purpose:
          allOf:
            - $ref: '#/components/schemas/transaction_purpose'
              example: null
          example: null
        origin_funds:
          allOf:
            - $ref: '#/components/schemas/origin_funds'
              example: null
          example: null
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--person--selfie_with_credit_card:
      type: object
      title: Person applicant • Selfie with a credit card
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: SELFIE_WITH_CREDIT_CARD
          default: SELFIE_WITH_CREDIT_CARD
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          allOf:
            - $ref: '#/components/schemas/document_number--document'
              example: null
          example: null
        additional_number:
          allOf:
            - $ref: '#/components/schemas/additional_number'
              example: null
          example: null
        issue_date:
          allOf:
            - $ref: '#/components/schemas/issue_date'
              example: null
          example: null
        expiry_date:
          allOf:
            - $ref: '#/components/schemas/expiry_date'
              example: null
          example: null
        issuing_authority:
          allOf:
            - $ref: '#/components/schemas/issuing_authority'
              example: null
          example: null
        income_sources:
          allOf:
            - $ref: '#/components/schemas/income_sources'
              example: null
          example: []
        annual_income:
          allOf:
            - $ref: '#/components/schemas/annual_income'
              example: null
          example: null
        transaction_amount:
          allOf:
            - $ref: '#/components/schemas/transaction_amount'
              example: null
          example: null
        transaction_currency:
          allOf:
            - $ref: '#/components/schemas/transaction_currency'
              example: null
          example: null
        transaction_datetime:
          allOf:
            - $ref: '#/components/schemas/transaction_datetime'
              example: null
          example: null
        transaction_purpose:
          allOf:
            - $ref: '#/components/schemas/transaction_purpose'
              example: null
          example: null
        origin_funds:
          allOf:
            - $ref: '#/components/schemas/origin_funds'
              example: null
          example: null
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--person--selfie_with_document:
      type: object
      title: Person applicant • Selfie with a document
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: SELFIE_WITH_DOCUMENT
          default: SELFIE_WITH_DOCUMENT
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          allOf:
            - $ref: '#/components/schemas/document_number--document'
              example: null
          example: null
        additional_number:
          allOf:
            - $ref: '#/components/schemas/additional_number'
              example: null
          example: null
        issue_date:
          allOf:
            - $ref: '#/components/schemas/issue_date'
              example: null
          example: null
        expiry_date:
          allOf:
            - $ref: '#/components/schemas/expiry_date'
              example: null
          example: null
        issuing_authority:
          allOf:
            - $ref: '#/components/schemas/issuing_authority'
              example: null
          example: null
        income_sources:
          allOf:
            - $ref: '#/components/schemas/income_sources'
              example: null
          example: []
        annual_income:
          allOf:
            - $ref: '#/components/schemas/annual_income'
              example: null
          example: null
        transaction_amount:
          allOf:
            - $ref: '#/components/schemas/transaction_amount'
              example: null
          example: null
        transaction_currency:
          allOf:
            - $ref: '#/components/schemas/transaction_currency'
              example: null
          example: null
        transaction_datetime:
          allOf:
            - $ref: '#/components/schemas/transaction_datetime'
              example: null
          example: null
        transaction_purpose:
          allOf:
            - $ref: '#/components/schemas/transaction_purpose'
              example: null
          example: null
        origin_funds:
          allOf:
            - $ref: '#/components/schemas/origin_funds'
              example: null
          example: null
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--person--tax_id_number:
      type: object
      title: Person applicant • Tax ID number
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: TAX_ID_NUMBER
          default: TAX_ID_NUMBER
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          $ref: '#/components/schemas/document_number--document'
        additional_number:
          $ref: '#/components/schemas/additional_number'
        issue_date:
          allOf:
            - $ref: '#/components/schemas/issue_date'
              example: null
          example: null
        expiry_date:
          allOf:
            - $ref: '#/components/schemas/expiry_date'
              example: null
          example: null
        issuing_authority:
          allOf:
            - $ref: '#/components/schemas/issuing_authority'
              example: null
          example: null
        income_sources:
          allOf:
            - $ref: '#/components/schemas/income_sources'
              example: null
          example: []
        annual_income:
          allOf:
            - $ref: '#/components/schemas/annual_income'
              example: null
          example: null
        transaction_amount:
          allOf:
            - $ref: '#/components/schemas/transaction_amount'
              example: null
          example: null
        transaction_currency:
          allOf:
            - $ref: '#/components/schemas/transaction_currency'
              example: null
          example: null
        transaction_datetime:
          allOf:
            - $ref: '#/components/schemas/transaction_datetime'
              example: null
          example: null
        transaction_purpose:
          allOf:
            - $ref: '#/components/schemas/transaction_purpose'
              example: null
          example: null
        origin_funds:
          allOf:
            - $ref: '#/components/schemas/origin_funds'
              example: null
          example: null
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--person--video:
      type: object
      title: Person applicant • Video
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: VIDEO
          default: VIDEO
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          allOf:
            - $ref: '#/components/schemas/document_number--document'
              example: null
          example: null
        additional_number:
          allOf:
            - $ref: '#/components/schemas/additional_number'
              example: null
          example: null
        issue_date:
          allOf:
            - $ref: '#/components/schemas/issue_date'
              example: null
          example: null
        expiry_date:
          allOf:
            - $ref: '#/components/schemas/expiry_date'
              example: null
          example: null
        issuing_authority:
          allOf:
            - $ref: '#/components/schemas/issuing_authority'
              example: null
          example: null
        income_sources:
          allOf:
            - $ref: '#/components/schemas/income_sources'
              example: null
          example: []
        annual_income:
          allOf:
            - $ref: '#/components/schemas/annual_income'
              example: null
          example: null
        transaction_amount:
          allOf:
            - $ref: '#/components/schemas/transaction_amount'
              example: null
          example: null
        transaction_currency:
          allOf:
            - $ref: '#/components/schemas/transaction_currency'
              example: null
          example: null
        transaction_datetime:
          allOf:
            - $ref: '#/components/schemas/transaction_datetime'
              example: null
          example: null
        transaction_purpose:
          allOf:
            - $ref: '#/components/schemas/transaction_purpose'
              example: null
          example: null
        origin_funds:
          allOf:
            - $ref: '#/components/schemas/origin_funds'
              example: null
          example: null
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--person-company--address_document:
      type: object
      title: Person and company applicant • Address document
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: ADDRESS_DOCUMENT
          default: ADDRESS_DOCUMENT
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          allOf:
            - $ref: '#/components/schemas/document_number--document'
              example: null
          example: null
        additional_number:
          allOf:
            - $ref: '#/components/schemas/additional_number'
              example: null
          example: null
        issue_date:
          allOf:
            - $ref: '#/components/schemas/issue_date'
              example: null
          example: null
        expiry_date:
          allOf:
            - $ref: '#/components/schemas/expiry_date'
              example: null
          example: null
        issuing_authority:
          allOf:
            - $ref: '#/components/schemas/issuing_authority'
              example: null
          example: null
        income_sources:
          allOf:
            - $ref: '#/components/schemas/income_sources'
              example: null
          example: []
        annual_income:
          allOf:
            - $ref: '#/components/schemas/annual_income'
              example: null
          example: null
        transaction_amount:
          allOf:
            - $ref: '#/components/schemas/transaction_amount'
              example: null
          example: null
        transaction_currency:
          allOf:
            - $ref: '#/components/schemas/transaction_currency'
              example: null
          example: null
        transaction_datetime:
          allOf:
            - $ref: '#/components/schemas/transaction_datetime'
              example: null
          example: null
        transaction_purpose:
          allOf:
            - $ref: '#/components/schemas/transaction_purpose'
              example: null
          example: null
        origin_funds:
          allOf:
            - $ref: '#/components/schemas/origin_funds'
              example: null
          example: null
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--company--authorised_person:
      type: object
      title: Company applicant • Authorised person confirmation
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: AUTHORISED_PERSON
          default: AUTHORISED_PERSON
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          allOf:
            - $ref: '#/components/schemas/document_number--document'
              example: null
          example: null
        additional_number:
          allOf:
            - $ref: '#/components/schemas/additional_number'
              example: null
          example: null
        issue_date:
          allOf:
            - $ref: '#/components/schemas/issue_date'
              example: null
          example: null
        expiry_date:
          allOf:
            - $ref: '#/components/schemas/expiry_date'
              example: null
          example: null
        issuing_authority:
          allOf:
            - $ref: '#/components/schemas/issuing_authority'
              example: null
          example: null
        income_sources:
          allOf:
            - $ref: '#/components/schemas/income_sources'
              example: null
          example: []
        annual_income:
          allOf:
            - $ref: '#/components/schemas/annual_income'
              example: null
          example: null
        transaction_amount:
          allOf:
            - $ref: '#/components/schemas/transaction_amount'
              example: null
          example: null
        transaction_currency:
          allOf:
            - $ref: '#/components/schemas/transaction_currency'
              example: null
          example: null
        transaction_datetime:
          allOf:
            - $ref: '#/components/schemas/transaction_datetime'
              example: null
          example: null
        transaction_purpose:
          allOf:
            - $ref: '#/components/schemas/transaction_purpose'
              example: null
          example: null
        origin_funds:
          allOf:
            - $ref: '#/components/schemas/origin_funds'
              example: null
          example: null
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--company--company_legal_address:
      type: object
      title: Company applicant • Company legal address confirmation
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: COMPANY_LEGAL_ADDRESS
          default: COMPANY_LEGAL_ADDRESS
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          allOf:
            - $ref: '#/components/schemas/document_number--document'
              example: null
          example: null
        additional_number:
          allOf:
            - $ref: '#/components/schemas/additional_number'
              example: null
          example: null
        issue_date:
          allOf:
            - $ref: '#/components/schemas/issue_date'
              example: null
          example: null
        expiry_date:
          allOf:
            - $ref: '#/components/schemas/expiry_date'
              example: null
          example: null
        issuing_authority:
          allOf:
            - $ref: '#/components/schemas/issuing_authority'
              example: null
          example: null
        income_sources:
          allOf:
            - $ref: '#/components/schemas/income_sources'
              example: null
          example: []
        annual_income:
          allOf:
            - $ref: '#/components/schemas/annual_income'
              example: null
          example: null
        transaction_amount:
          allOf:
            - $ref: '#/components/schemas/transaction_amount'
              example: null
          example: null
        transaction_currency:
          allOf:
            - $ref: '#/components/schemas/transaction_currency'
              example: null
          example: null
        transaction_datetime:
          allOf:
            - $ref: '#/components/schemas/transaction_datetime'
              example: null
          example: null
        transaction_purpose:
          allOf:
            - $ref: '#/components/schemas/transaction_purpose'
              example: null
          example: null
        origin_funds:
          allOf:
            - $ref: '#/components/schemas/origin_funds'
              example: null
          example: null
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--company--company_ownership:
      type: object
      title: Company applicant • Company ownership confirmation
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: COMPANY_OWNERSHIP
          default: COMPANY_OWNERSHIP
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          allOf:
            - $ref: '#/components/schemas/document_number--document'
              example: null
          example: null
        additional_number:
          allOf:
            - $ref: '#/components/schemas/additional_number'
              example: null
          example: null
        issue_date:
          allOf:
            - $ref: '#/components/schemas/issue_date'
              example: null
          example: null
        expiry_date:
          allOf:
            - $ref: '#/components/schemas/expiry_date'
              example: null
          example: null
        issuing_authority:
          allOf:
            - $ref: '#/components/schemas/issuing_authority'
              example: null
          example: null
        income_sources:
          allOf:
            - $ref: '#/components/schemas/income_sources'
              example: null
          example: []
        annual_income:
          allOf:
            - $ref: '#/components/schemas/annual_income'
              example: null
          example: null
        transaction_amount:
          allOf:
            - $ref: '#/components/schemas/transaction_amount'
              example: null
          example: null
        transaction_currency:
          allOf:
            - $ref: '#/components/schemas/transaction_currency'
              example: null
          example: null
        transaction_datetime:
          allOf:
            - $ref: '#/components/schemas/transaction_datetime'
              example: null
          example: null
        transaction_purpose:
          allOf:
            - $ref: '#/components/schemas/transaction_purpose'
              example: null
          example: null
        origin_funds:
          allOf:
            - $ref: '#/components/schemas/origin_funds'
              example: null
          example: null
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--company--registration_company:
      type: object
      title: Company applicant • Company registration certificate
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        applicant_id:
          $ref: '#/components/schemas/applicant_id'
        type:
          type: string
          example: REGISTRATION_COMPANY
          default: REGISTRATION_COMPANY
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          allOf:
            - $ref: '#/components/schemas/document_number--document'
              example: null
          example: null
        additional_number:
          allOf:
            - $ref: '#/components/schemas/additional_number'
              example: null
          example: null
        issue_date:
          allOf:
            - $ref: '#/components/schemas/issue_date'
              example: null
          example: null
        expiry_date:
          allOf:
            - $ref: '#/components/schemas/expiry_date'
              example: null
          example: null
        issuing_authority:
          allOf:
            - $ref: '#/components/schemas/issuing_authority'
              example: null
          example: null
        income_sources:
          allOf:
            - $ref: '#/components/schemas/income_sources'
              example: null
          example: []
        annual_income:
          allOf:
            - $ref: '#/components/schemas/annual_income'
              example: null
          example: null
        transaction_amount:
          allOf:
            - $ref: '#/components/schemas/transaction_amount'
              example: null
          example: null
        transaction_currency:
          allOf:
            - $ref: '#/components/schemas/transaction_currency'
              example: null
          example: null
        transaction_datetime:
          allOf:
            - $ref: '#/components/schemas/transaction_datetime'
              example: null
          example: null
        transaction_purpose:
          allOf:
            - $ref: '#/components/schemas/transaction_purpose'
              example: null
          example: null
        origin_funds:
          allOf:
            - $ref: '#/components/schemas/origin_funds'
              example: null
          example: null
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--affiliated_person--address_document:
      type: object
      title: Affiliated person • Address document
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        affiliated_person_id:
          $ref: '#/components/schemas/affiliated_person_id'
        type:
          type: string
          example: ADDRESS_DOCUMENT
          default: ADDRESS_DOCUMENT
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          allOf:
            - $ref: '#/components/schemas/document_number--document'
              example: null
          example: null
        additional_number:
          allOf:
            - $ref: '#/components/schemas/additional_number'
              example: null
          example: null
        issue_date:
          allOf:
            - $ref: '#/components/schemas/issue_date'
              example: null
          example: null
        expiry_date:
          allOf:
            - $ref: '#/components/schemas/expiry_date'
              example: null
          example: null
        issuing_authority:
          allOf:
            - $ref: '#/components/schemas/issuing_authority'
              example: null
          example: null
        income_sources:
          allOf:
            - $ref: '#/components/schemas/income_sources'
              example: null
          example: []
        annual_income:
          allOf:
            - $ref: '#/components/schemas/annual_income'
              example: null
          example: null
        transaction_amount:
          allOf:
            - $ref: '#/components/schemas/transaction_amount'
              example: null
          example: null
        transaction_currency:
          allOf:
            - $ref: '#/components/schemas/transaction_currency'
              example: null
          example: null
        transaction_datetime:
          allOf:
            - $ref: '#/components/schemas/transaction_datetime'
              example: null
          example: null
        transaction_purpose:
          allOf:
            - $ref: '#/components/schemas/transaction_purpose'
              example: null
          example: null
        origin_funds:
          allOf:
            - $ref: '#/components/schemas/origin_funds'
              example: null
          example: null
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--affiliated_person--domestic_passport:
      type: object
      title: Affiliated person • Identity • Domestic passport
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        affiliated_person_id:
          $ref: '#/components/schemas/affiliated_person_id'
        type:
          type: string
          example: DOMESTIC_PASSPORT
          default: DOMESTIC_PASSPORT
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          $ref: '#/components/schemas/document_number--document'
        additional_number:
          $ref: '#/components/schemas/additional_number'
        issue_date:
          $ref: '#/components/schemas/issue_date'
        expiry_date:
          $ref: '#/components/schemas/expiry_date'
        issuing_authority:
          $ref: '#/components/schemas/issuing_authority'
        income_sources:
          allOf:
            - $ref: '#/components/schemas/income_sources'
              example: null
          example: []
        annual_income:
          allOf:
            - $ref: '#/components/schemas/annual_income'
              example: null
          example: null
        transaction_amount:
          allOf:
            - $ref: '#/components/schemas/transaction_amount'
              example: null
          example: null
        transaction_currency:
          allOf:
            - $ref: '#/components/schemas/transaction_currency'
              example: null
          example: null
        transaction_datetime:
          allOf:
            - $ref: '#/components/schemas/transaction_datetime'
              example: null
          example: null
        transaction_purpose:
          allOf:
            - $ref: '#/components/schemas/transaction_purpose'
              example: null
          example: null
        origin_funds:
          allOf:
            - $ref: '#/components/schemas/origin_funds'
              example: null
          example: null
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--affiliated_person--drivers_license:
      type: object
      title: Affiliated person • Identity • Driver license
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        affiliated_person_id:
          $ref: '#/components/schemas/affiliated_person_id'
        type:
          type: string
          example: DRIVERS_LICENSE
          default: DRIVERS_LICENSE
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          $ref: '#/components/schemas/document_number--document'
        additional_number:
          $ref: '#/components/schemas/additional_number'
        issue_date:
          $ref: '#/components/schemas/issue_date'
        expiry_date:
          $ref: '#/components/schemas/expiry_date'
        issuing_authority:
          $ref: '#/components/schemas/issuing_authority'
        income_sources:
          allOf:
            - $ref: '#/components/schemas/income_sources'
              example: null
          example: []
        annual_income:
          allOf:
            - $ref: '#/components/schemas/annual_income'
              example: null
          example: null
        transaction_amount:
          allOf:
            - $ref: '#/components/schemas/transaction_amount'
              example: null
          example: null
        transaction_currency:
          allOf:
            - $ref: '#/components/schemas/transaction_currency'
              example: null
          example: null
        transaction_datetime:
          allOf:
            - $ref: '#/components/schemas/transaction_datetime'
              example: null
          example: null
        transaction_purpose:
          allOf:
            - $ref: '#/components/schemas/transaction_purpose'
              example: null
          example: null
        origin_funds:
          allOf:
            - $ref: '#/components/schemas/origin_funds'
              example: null
          example: null
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--affiliated_person--foreign_citizen_passport:
      type: object
      title: Affiliated person • Identity • Foreign citizen passport
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        affiliated_person_id:
          $ref: '#/components/schemas/affiliated_person_id'
        type:
          type: string
          example: FOREIGN_CITIZEN_PASSPORT
          default: FOREIGN_CITIZEN_PASSPORT
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          $ref: '#/components/schemas/document_number--document'
        additional_number:
          $ref: '#/components/schemas/additional_number'
        issue_date:
          $ref: '#/components/schemas/issue_date'
        expiry_date:
          $ref: '#/components/schemas/expiry_date'
        issuing_authority:
          $ref: '#/components/schemas/issuing_authority'
        income_sources:
          allOf:
            - $ref: '#/components/schemas/income_sources'
              example: null
          example: []
        annual_income:
          allOf:
            - $ref: '#/components/schemas/annual_income'
              example: null
          example: null
        transaction_amount:
          allOf:
            - $ref: '#/components/schemas/transaction_amount'
              example: null
          example: null
        transaction_currency:
          allOf:
            - $ref: '#/components/schemas/transaction_currency'
              example: null
          example: null
        transaction_datetime:
          allOf:
            - $ref: '#/components/schemas/transaction_datetime'
              example: null
          example: null
        transaction_purpose:
          allOf:
            - $ref: '#/components/schemas/transaction_purpose'
              example: null
          example: null
        origin_funds:
          allOf:
            - $ref: '#/components/schemas/origin_funds'
              example: null
          example: null
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--affiliated_person--government_id:
      type: object
      title: Affiliated person • Identity • Government ID
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        affiliated_person_id:
          $ref: '#/components/schemas/affiliated_person_id'
        type:
          type: string
          example: GOVERNMENT_ID
          default: GOVERNMENT_ID
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          $ref: '#/components/schemas/document_number--document'
        additional_number:
          $ref: '#/components/schemas/additional_number'
        issue_date:
          $ref: '#/components/schemas/issue_date'
        expiry_date:
          $ref: '#/components/schemas/expiry_date'
        issuing_authority:
          $ref: '#/components/schemas/issuing_authority'
        income_sources:
          allOf:
            - $ref: '#/components/schemas/income_sources'
              example: null
          example: []
        annual_income:
          allOf:
            - $ref: '#/components/schemas/annual_income'
              example: null
          example: null
        transaction_amount:
          allOf:
            - $ref: '#/components/schemas/transaction_amount'
              example: null
          example: null
        transaction_currency:
          allOf:
            - $ref: '#/components/schemas/transaction_currency'
              example: null
          example: null
        transaction_datetime:
          allOf:
            - $ref: '#/components/schemas/transaction_datetime'
              example: null
          example: null
        transaction_purpose:
          allOf:
            - $ref: '#/components/schemas/transaction_purpose'
              example: null
          example: null
        origin_funds:
          allOf:
            - $ref: '#/components/schemas/origin_funds'
              example: null
          example: null
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--affiliated_person--passport:
      type: object
      title: Affiliated person • Identity • Passport
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        affiliated_person_id:
          $ref: '#/components/schemas/affiliated_person_id'
        type:
          type: string
          example: PASSPORT
          default: PASSPORT
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          $ref: '#/components/schemas/document_number--document'
        additional_number:
          $ref: '#/components/schemas/additional_number'
        issue_date:
          $ref: '#/components/schemas/issue_date'
        expiry_date:
          $ref: '#/components/schemas/expiry_date'
        issuing_authority:
          $ref: '#/components/schemas/issuing_authority'
        income_sources:
          allOf:
            - $ref: '#/components/schemas/income_sources'
              example: null
          example: []
        annual_income:
          allOf:
            - $ref: '#/components/schemas/annual_income'
              example: null
          example: null
        transaction_amount:
          allOf:
            - $ref: '#/components/schemas/transaction_amount'
              example: null
          example: null
        transaction_currency:
          allOf:
            - $ref: '#/components/schemas/transaction_currency'
              example: null
          example: null
        transaction_datetime:
          allOf:
            - $ref: '#/components/schemas/transaction_datetime'
              example: null
          example: null
        transaction_purpose:
          allOf:
            - $ref: '#/components/schemas/transaction_purpose'
              example: null
          example: null
        origin_funds:
          allOf:
            - $ref: '#/components/schemas/origin_funds'
              example: null
          example: null
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--affiliated_person--permanent_residence_permit:
      type: object
      title: Affiliated person • Identity • Permanent residence permit
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        affiliated_person_id:
          $ref: '#/components/schemas/affiliated_person_id'
        type:
          type: string
          example: PERMANENT_RESIDENCE_PERMIT
          default: PERMANENT_RESIDENCE_PERMIT
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          $ref: '#/components/schemas/document_number--document'
        additional_number:
          $ref: '#/components/schemas/additional_number'
        issue_date:
          $ref: '#/components/schemas/issue_date'
        expiry_date:
          $ref: '#/components/schemas/expiry_date'
        issuing_authority:
          $ref: '#/components/schemas/issuing_authority'
        income_sources:
          allOf:
            - $ref: '#/components/schemas/income_sources'
              example: null
          example: []
        annual_income:
          allOf:
            - $ref: '#/components/schemas/annual_income'
              example: null
          example: null
        transaction_amount:
          allOf:
            - $ref: '#/components/schemas/transaction_amount'
              example: null
          example: null
        transaction_currency:
          allOf:
            - $ref: '#/components/schemas/transaction_currency'
              example: null
          example: null
        transaction_datetime:
          allOf:
            - $ref: '#/components/schemas/transaction_datetime'
              example: null
          example: null
        transaction_purpose:
          allOf:
            - $ref: '#/components/schemas/transaction_purpose'
              example: null
          example: null
        origin_funds:
          allOf:
            - $ref: '#/components/schemas/origin_funds'
              example: null
          example: null
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--get--200--affiliated_person--refugee_card:
      type: object
      title: Affiliated person • Identity • Refugee card
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
        affiliated_person_id:
          $ref: '#/components/schemas/affiliated_person_id'
        type:
          type: string
          example: REFUGEE_CARD
          default: REFUGEE_CARD
        provider:
          $ref: '#/components/schemas/provider'
        status:
          $ref: '#/components/schemas/status'
        comment:
          allOf:
            - $ref: '#/components/schemas/comment'
              example: null
          example: null
        document_number:
          $ref: '#/components/schemas/document_number--document'
        additional_number:
          $ref: '#/components/schemas/additional_number'
        issue_date:
          $ref: '#/components/schemas/issue_date'
        expiry_date:
          $ref: '#/components/schemas/expiry_date'
        issuing_authority:
          $ref: '#/components/schemas/issuing_authority'
        income_sources:
          allOf:
            - $ref: '#/components/schemas/income_sources'
              example: null
          example: []
        annual_income:
          allOf:
            - $ref: '#/components/schemas/annual_income'
              example: null
          example: null
        transaction_amount:
          allOf:
            - $ref: '#/components/schemas/transaction_amount'
              example: null
          example: null
        transaction_currency:
          allOf:
            - $ref: '#/components/schemas/transaction_currency'
              example: null
          example: null
        transaction_datetime:
          allOf:
            - $ref: '#/components/schemas/transaction_datetime'
              example: null
          example: null
        transaction_purpose:
          allOf:
            - $ref: '#/components/schemas/transaction_purpose'
              example: null
          example: null
        origin_funds:
          allOf:
            - $ref: '#/components/schemas/origin_funds'
              example: null
          example: null
        card_number:
          allOf:
            - $ref: '#/components/schemas/card_number'
              example: null
          example: null
        account_number:
          allOf:
            - $ref: '#/components/schemas/account_number'
              example: null
          example: null
        portrait:
          allOf:
            - $ref: '#/components/schemas/portrait'
              example: null
          example: null
        front_side_id:
          allOf:
            - $ref: '#/components/schemas/front_side_id'
              example: null
          example: null
        front_side:
          allOf:
            - $ref: '#/components/schemas/front_side'
              example: null
          example: null
        back_side_id:
          allOf:
            - $ref: '#/components/schemas/back_side_id'
              example: null
          example: null
        back_side:
          allOf:
            - $ref: '#/components/schemas/back_side'
              example: null
          example: null
        other_side_1_id:
          allOf:
            - $ref: '#/components/schemas/other_side_1_id'
              example: null
          example: null
        other_side_1:
          allOf:
            - $ref: '#/components/schemas/other_side_1'
              example: null
          example: null
        other_side_2_id:
          allOf:
            - $ref: '#/components/schemas/other_side_2_id'
              example: null
          example: null
        other_side_2:
          allOf:
            - $ref: '#/components/schemas/other_side_2'
              example: null
          example: null
        other_side_3_id:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        other_side_3:
          allOf:
            - $ref: '#/components/schemas/other_side_3_id'
              example: null
          example: null
        created_at:
          $ref: '#/components/schemas/created_at'
        decline_reasons_ids:
          allOf:
            - $ref: '#/components/schemas/decline_reasons_ids'
              example: null
          example: null
        decline_reasons:
          allOf:
            - $ref: '#/components/schemas/decline_reasons--document'
              example: []
          example: []
    document--404--document_id:
      title: Document ID was not found
      description: >
        The error is sent by our system when an document with the specified
        document ID in a request was not found in the system
      type: object
      properties:
        type:
          type: string
          example: not_found
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: document_id
              message:
                type: string
                example: Document was not found
    document--422--document_id:
      title: Document ID is not valid
      description: >
        The error is sent by our system when a document ID in a request has
        invalid format
      type: object
      properties:
        type:
          type: string
          example: validation
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: document_id
              message:
                type: string
                example: Document ID is not valid.
    document--delete--200:
      type: object
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
    document--delete--409:
      title: Document under verification can not be deleted
      type: object
      properties:
        type:
          type: string
          example: delete_denied
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: document_id
              message:
                type: string
                example: Document under verification can not be deleted
    type--document:
      type: string
      enum:
        - ADDRESS_DOCUMENT
        - AUTHORISED_PERSON
        - BANK_STATEMENT
        - COMPANY_LEGAL_ADDRESS
        - COMPANY_OWNERSHIP
        - CREDIT_CARD
        - DOMESTIC_PASSPORT
        - DRIVERS_LICENSE
        - FINANCIAL_DOCUMENT
        - FOREIGN_CITIZEN_PASSPORT
        - GOVERNMENT_ID
        - PASSPORT
        - PERMANENT_RESIDENCE_PERMIT
        - REFUGEE_CARD
        - REGISTRATION_COMPANY
        - SELFIE_IMAGE
        - SELFIE_WITH_CREDIT_CARD
        - SELFIE_WITH_DOCUMENT
        - TAX_ID_NUMBER
        - VIDEO
      example: DOMESTIC_PASSPORT
      description: A type of a document object
    document--update--200:
      type: object
      properties:
        document_id:
          $ref: '#/components/schemas/document_id'
    document--422--parameter_missing:
      title: At least one parameter should be set
      description: >-
        The error is sent by our system when there is no parameters in a request
        body
      type: object
      properties:
        type:
          type: string
          example: validation
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: '*'
              message:
                type: string
                example: At least one parameter should be set
    form_id:
      title: Form ID
      type:
        - string
        - 'null'
      minLength: 36
      maxLength: 36
      example: d87132ba092d8148ba1891736832d0451ac2
      description: >-
        A unique identifier of a form, assigned by our system after it is
        created in the Dashboard
    redirect_url:
      title: Redirect URL
      type:
        - string
        - 'null'
      maxLength: 2048
      example: https://kyc.example.com/complete
      description: >-
        The URL in your system to which a user will be redirected after
        completing and submitting a form
    form_url:
      title: Form URL
      type: string
      maxLength: 2048
      example: https://forms-new.kycaid.com/7505262b02bb0145c62a04d969eacedb4873
      description: >-
        A one-time URL to a form that includes a form token. The form remains
        open for completion via the URL until a user completes it
    verification_id:
      title: Verification ID
      type:
        - string
        - 'null'
      minLength: 36
      maxLength: 36
      example: d2177cdf067d424a221b5d045dc616bf81f9
      description: >-
        A unique identifier for a verification, assigned by our system after a
        verification is created using the “Create a verification" request
    form_token:
      title: Form token
      type: string
      minLength: 36
      maxLength: 36
      example: 7505262b02bb0145c62a04d969eacedb4873
      description: >-
        A unique token for a form, generated by our system, and included as part
        of a form URL
    verification_attempts_left:
      title: Verification attempts left
      type:
        - integer
        - 'null'
      format: number
      example: 5
      description: >-
        A number of verification attempts available for a user, set in form
        settings in the Dashboard. A `null` value means “not limited”. It equals
        `0` if set in the settings
    form--post--200:
      title: Request is successful
      type: object
      properties:
        form_id:
          $ref: '#/components/schemas/form_id'
        form_url:
          $ref: '#/components/schemas/form_url'
        verificaiton_id:
          $ref: '#/components/schemas/verification_id'
        form_token:
          $ref: '#/components/schemas/form_token'
        verification_attempts_left:
          $ref: '#/components/schemas/verification_attempts_left'
    form--post--404--form_id:
      title: Form not found
      description: >
        The error is returned by our system when a form with the specified
        `form_id` query parameter is not found
      type: object
      properties:
        type:
          type: string
          example: not_found
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: form_id
              message:
                type: string
                example: Form was not found
    form--post--404--applicant_id:
      title: Applicant not found
      description: >
        The error is returned by our system when an applicant with the specified
        `applicant_id` request parameter is not found
      type: object
      properties:
        type:
          type: string
          example: not_found
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: applicant_id
              message:
                type: string
                example: Applicant was not found
    form--post--409:
      title: Applicant type doesn’t match form type
      description: >
        The error is returned by our system when a form created for a `PERSON`
        applicant type is used for an applicant with a `COMPANY` applicant type,
        or vice versa
      type: object
      properties:
        type:
          type: string
          example: flow
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: applicant_id
              message:
                type: string
                example: Applicant is not compatible with this form
    form--post--422--form_id:
      title: Invalid form ID
      description: >
        The error is sent by our system when a value of an `form_id` query
        parameter was not validated by our system
      type: object
      properties:
        type:
          type: string
          example: validation
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: form_id
              message:
                type: string
                example: Form ID is not valid.
    form--post--422--applicant_id:
      title: Invalid applicant ID
      description: >
        The error is sent by our system when a value of an `applicant_id` query
        parameter was not validated by our system
      type: object
      properties:
        type:
          type: string
          example: validation
        errors:
          type: array
          items:
            type: object
            properties:
              parameter:
                type: string
                example: applicant_id
              message:
                type: string
                example: Applicant ID is not valid.
security:
  - your_api_key: []
tags:
  - name: Addresses
    description: Addresses
  - name: Affiliated persons
    description: Affiliated persons
  - name: Applicants
    description: Applicants
  - name: Documents
    description: Documents
  - name: Files
    description: Files
  - name: Forms
    description: Forms
  - name: Verifications
    description: Verifications
paths:
  /addresses:
    post:
      tags:
        - Addresses
      summary: Create an address
      description: >-
        Create and add an address object to an applicant or an affiliated
        person. Only one address per type may be added to an object
      operationId: address-create
      requestBody:
        content:
          application/json:
            schema:
              oneOf:
                - type: object
                  title: Address for KYC applicant (a person)
                  properties:
                    applicant_id:
                      $ref: '#/components/schemas/applicant_id'
                    type:
                      $ref: '#/components/schemas/type--address--person'
                    full_address:
                      $ref: '#/components/schemas/full_address'
                    country:
                      $ref: '#/components/schemas/country'
                    state:
                      $ref: '#/components/schemas/state'
                    region:
                      $ref: '#/components/schemas/region'
                    province:
                      $ref: '#/components/schemas/province'
                    city:
                      $ref: '#/components/schemas/city'
                    district:
                      $ref: '#/components/schemas/district'
                    address:
                      $ref: '#/components/schemas/address'
                    postal_code:
                      $ref: '#/components/schemas/postal_code'
                    street_name:
                      $ref: '#/components/schemas/street_name'
                    building_number:
                      $ref: '#/components/schemas/building_number'
                    unit_number:
                      $ref: '#/components/schemas/unit_number'
                  required:
                    - applicant_id
                    - type
                - type: object
                  title: Address for KYB applicant (a company)
                  properties:
                    applicant_id:
                      $ref: '#/components/schemas/applicant_id'
                    type:
                      $ref: '#/components/schemas/type--address--company'
                    full_address:
                      $ref: '#/components/schemas/full_address'
                    country:
                      $ref: '#/components/schemas/country'
                    state:
                      $ref: '#/components/schemas/state'
                    region:
                      $ref: '#/components/schemas/region'
                    province:
                      $ref: '#/components/schemas/province'
                    city:
                      $ref: '#/components/schemas/city'
                    district:
                      $ref: '#/components/schemas/district'
                    address:
                      $ref: '#/components/schemas/address'
                    postal_code:
                      $ref: '#/components/schemas/postal_code'
                    street_name:
                      $ref: '#/components/schemas/street_name'
                    building_number:
                      $ref: '#/components/schemas/building_number'
                    unit_number:
                      $ref: '#/components/schemas/unit_number'
                  required:
                    - applicant_id
                    - type
                - type: object
                  title: Address for KYB applicant (an affiliated person)
                  properties:
                    affiliated_person_id:
                      $ref: '#/components/schemas/affiliated_person_id'
                    type:
                      $ref: '#/components/schemas/type--address--affiliated_person'
                    full_address:
                      $ref: '#/components/schemas/full_address'
                    country:
                      $ref: '#/components/schemas/country'
                    state:
                      $ref: '#/components/schemas/state'
                    region:
                      $ref: '#/components/schemas/region'
                    province:
                      $ref: '#/components/schemas/province'
                    city:
                      $ref: '#/components/schemas/city'
                    district:
                      $ref: '#/components/schemas/district'
                    address:
                      $ref: '#/components/schemas/address'
                    postal_code:
                      $ref: '#/components/schemas/postal_code'
                    street_name:
                      $ref: '#/components/schemas/street_name'
                    building_number:
                      $ref: '#/components/schemas/building_number'
                    unit_number:
                      $ref: '#/components/schemas/unit_number'
                  required:
                    - affiliated_person_id
                    - type
      responses:
        '200':
          description: >
            **OK**


            The request was successful, and our system returned an expected
            response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  address_id:
                    $ref: '#/components/schemas/address_id'
        '400':
          description: >
            **Bad Request**


            Our system could not process the request due to invalid syntax,
            missing parameters, or incorrect data format. Check the request
            structure and try again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/400'
        '404':
          description: >
            **Not Found**


            The requested resource does not exist or can’t be found in our
            system.
          content:
            application/json:
              schema:
                oneOf:
                  - title: Applicant was not found
                    description: >-
                      The error is sent by our system when an applicant object
                      with requested `applicant_id` was not found in our system
                    type: object
                    properties:
                      type:
                        type: string
                        example: not_found
                      errors:
                        type: array
                        items:
                          type: object
                          properties:
                            parameter:
                              type: string
                              example: applicant_id
                            message:
                              type: string
                              example: Applicant was not found
                  - title: Affiliated person was not found
                    description: >-
                      The error is sent by our system when an affiliated person
                      object with requested `affiliated_person_id` was not found
                      in our system
                    type: object
                    properties:
                      type:
                        type: string
                        example: not_found
                      errors:
                        type: array
                        items:
                          type: object
                          properties:
                            parameter:
                              type: string
                              example: affiliated_person_id
                            message:
                              type: string
                              example: Affiliated person was not found
        '422':
          description: >
            **Unprocessable Content**


            Our system understands the request but can’t process it due to
            invalid fields in the request body.
          content:
            application/json:
              schema:
                oneOf:
                  - title: One of the next parameters are required
                    description: >-
                      The error is sent by our system when there is no
                      `applicant_id` or `affiliated_person_id` parameter in a
                      request
                    type: object
                    properties:
                      type:
                        type: string
                        example: validation
                      errors:
                        type: array
                        items:
                          type: object
                          properties:
                            parameter:
                              type: string
                              example: '*'
                            message:
                              type: string
                              example: >-
                                One of the next parameters are required:
                                applicant_id, affiliated_person_id
                  - title: At least one parameter should be set
                    description: >-
                      The error is sent by our system when there is no
                      parameters except `applicant_id` (or
                      `affiliated_person_id`) and `type` in a request
                    type: object
                    properties:
                      type:
                        type: string
                        example: validation
                      errors:
                        type: array
                        items:
                          type: object
                          properties:
                            parameter:
                              type: string
                              example: '*'
                            message:
                              type: string
                              example: At least one parameter should be set
                  - title: Address with type REGISTERED already exists
                    description: >-
                      The error is sent by our system when an address object
                      with `REGISTERED` type was already created for an
                      applicant. Only one address object with `REGISTERED` type
                      per applicant is available
                    type: object
                    properties:
                      type:
                        type: string
                        example: flow
                      errors:
                        type: array
                        items:
                          type: object
                          properties:
                            parameter:
                              type: string
                              example: type
                            message:
                              type: string
                              example: Address with type REGISTERED already exists
                  - title: Address with type BUSINESS already exists
                    description: >-
                      The error is sent by our system when an address object
                      with `BUSINESS` type was already created for an applicant.
                      Only one address object with `BUSINESS` type per applicant
                      is available
                    type: object
                    properties:
                      type:
                        type: string
                        example: flow
                      errors:
                        type: array
                        items:
                          type: object
                          properties:
                            parameter:
                              type: string
                              example: type
                            message:
                              type: string
                              example: Address with type BUSINESS already exists
                  - title: Address with type ADDITIONAL already exists
                    description: >-
                      The error is sent by our system when an address object
                      with `ADDITIONAL` type was already created for an
                      applicant. Only one address object with `ADDITIONAL` type
                      per applicant is available
                    type: object
                    properties:
                      type:
                        type: string
                        example: flow
                      errors:
                        type: array
                        items:
                          type: object
                          properties:
                            parameter:
                              type: string
                              example: type
                            message:
                              type: string
                              example: Address with type ADDITIONAL already exists
                  - title: Applicant ID is not valid
                    description: >-
                      The error is sent by our system when an ID of an applicant
                      object has wrong format
                    type: object
                    properties:
                      type:
                        type: string
                        example: validation
                      errors:
                        type: array
                        items:
                          type: object
                          properties:
                            parameter:
                              type: string
                              example: applicant_id
                            message:
                              type: string
                              example: Applicant ID is not valid
                  - title: Type of address is not valid
                    description: >-
                      The error is sent by our system when a type of an address
                      is not `REGISTERED`, `BUSINESS`, or `ADDITIONAL`
                    type: object
                    properties:
                      type:
                        type: string
                        example: validation
                      errors:
                        type: array
                        items:
                          type: object
                          properties:
                            parameter:
                              type: string
                              example: type
                            message:
                              type: string
                              example: Type of address is not valid
        '429':
          description: >
            **Too Many Requests**


            This response indicates that a user has sent too many requests in a
            given amount of time.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/429'
        '500':
          description: >
            **Internal Server Error**


            This response indicates that our system encountered an unexpected
            condition that prevented it from fulfilling the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/500'
        '502':
          description: >
            **Bad Gateway**


            This response indicates that our system is unable to reach or
            communicate properly with an upstream server it relies on, the URL
            provided is incorrect, or a required token is missing from the
            request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/502'
  /addresses/{address_id}:
    patch:
      tags:
        - Addresses
      summary: Update an address
      description: >
        Update records of an address object in our system


        In case when an address becomes a part of a created verification, then
        our system will create a copy of an address object and will provide you
        with a different `address_id` in a response
      operationId: address-update
      parameters:
        - name: address_id
          in: path
          schema:
            $ref: '#/components/schemas/address_id'
          required: true
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                type:
                  $ref: '#/components/schemas/type--address--full'
                full_address:
                  $ref: '#/components/schemas/full_address'
                country:
                  $ref: '#/components/schemas/country'
                state:
                  $ref: '#/components/schemas/state'
                region:
                  $ref: '#/components/schemas/region'
                province:
                  $ref: '#/components/schemas/province'
                city:
                  $ref: '#/components/schemas/city'
                district:
                  $ref: '#/components/schemas/district'
                address:
                  $ref: '#/components/schemas/address'
                postal_code:
                  $ref: '#/components/schemas/postal_code'
                street_name:
                  $ref: '#/components/schemas/street_name'
                building_number:
                  $ref: '#/components/schemas/building_number'
                unit_number:
                  $ref: '#/components/schemas/unit_number'
      responses:
        '200':
          description: >
            **OK**


            The request was successful, and our system returned an expected
            response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  address_id:
                    $ref: '#/components/schemas/address_id'
                    description: >-
                      In case when an address becomes a part of a created
                      verification, then our system will create a copy of an
                      address object and provide you with a different
                      `address_id` in a response
        '400':
          description: >
            **Bad Request**


            Our system could not process the request due to invalid syntax,
            missing parameters, or incorrect data format. Check the request
            structure and try again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/400'
        '429':
          description: >
            **Too Many Requests**


            This response indicates that a user has sent too many requests in a
            given amount of time.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/429'
        '500':
          description: >
            **Internal Server Error**


            This response indicates that our system encountered an unexpected
            condition that prevented it from fulfilling the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/500'
        '502':
          description: >
            **Bad Gateway**


            This response indicates that our system is unable to reach or
            communicate properly with an upstream server it relies on, the URL
            provided is incorrect, or a required token is missing from the
            request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/502'
    delete:
      tags:
        - Addresses
      summary: Delete an address
      description: >
        Deletes an address object from our system


        Please note, that addresses may be deleted only before a verification
        was created
      operationId: address-delete
      parameters:
        - name: address_id
          in: path
          schema:
            $ref: '#/components/schemas/address_id'
          required: true
      responses:
        '200':
          description: >
            **OK**


            The request was successful, and our system returned an expected
            response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  address_id:
                    $ref: '#/components/schemas/address_id'
        '400':
          description: >
            **Bad Request**


            Our system could not process the request due to invalid syntax,
            missing parameters, or incorrect data format. Check the request
            structure and try again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/400'
        '429':
          description: >
            **Too Many Requests**


            This response indicates that a user has sent too many requests in a
            given amount of time.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/429'
        '500':
          description: >
            **Internal Server Error**


            This response indicates that our system encountered an unexpected
            condition that prevented it from fulfilling the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/500'
        '502':
          description: >
            **Bad Gateway**


            This response indicates that our system is unable to reach or
            communicate properly with an upstream server it relies on, the URL
            provided is incorrect, or a required token is missing from the
            request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/502'
  /affiliated-persons:
    post:
      tags:
        - Affiliated persons
      summary: Create an affiliated person
      description: Create and add an affiliated person for an applicant object
      operationId: affiliated-person-create
      requestBody:
        content:
          application/json:
            schema:
              oneOf:
                - type: object
                  title: Authorised affiliated person
                  properties:
                    type:
                      $ref: '#/components/schemas/type--affiliated-person--authorised'
                    applicant_id:
                      $ref: '#/components/schemas/applicant_id'
                    first_name:
                      $ref: '#/components/schemas/first_name'
                    last_name:
                      $ref: '#/components/schemas/last_name'
                    title:
                      $ref: '#/components/schemas/title'
                    dob:
                      $ref: '#/components/schemas/dob'
                    residence_country:
                      $ref: '#/components/schemas/residence_country'
                    nationality:
                      $ref: '#/components/schemas/nationality'
                    email:
                      $ref: '#/components/schemas/email'
                  required:
                    - type
                    - applicant_id
                    - first_name
                    - last_name
                    - title
                    - dob
                    - residence_country
                    - nationality
                    - email
                - type: object
                  title: Beneficial affiliated person
                  properties:
                    type:
                      $ref: '#/components/schemas/type--affiliated-person--beneficial'
                    applicant_id:
                      $ref: '#/components/schemas/applicant_id'
                    first_name:
                      $ref: '#/components/schemas/first_name'
                    last_name:
                      $ref: '#/components/schemas/last_name'
                    share:
                      $ref: '#/components/schemas/share'
                    dob:
                      $ref: '#/components/schemas/dob'
                    residence_country:
                      $ref: '#/components/schemas/residence_country'
                    nationality:
                      $ref: '#/components/schemas/nationality'
                    email:
                      $ref: '#/components/schemas/email'
                  required:
                    - type
                    - applicant_id
                    - first_name
                    - last_name
                    - share
                    - dob
                    - residence_country
                    - nationality
                    - email
      responses:
        '200':
          description: >
            **OK**


            The request was successful, and our system returned an expected
            response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  affiliated_person_id:
                    $ref: '#/components/schemas/affiliated_person_id'
        '400':
          description: >
            **Bad Request**


            Our system could not process the request due to invalid syntax,
            missing parameters, or incorrect data format. Check the request
            structure and try again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/400'
        '404':
          description: >
            **Not Found**


            The requested resource does not exist or can’t be found in our
            system.
          content:
            application/json:
              schema:
                type: object
                properties:
                  type:
                    type: string
                    example: not_found
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        parameter:
                          type: string
                          example: applicant_id
                        message:
                          type: string
                          example: Applicant was not found
        '422':
          description: >
            **Unprocessable Content**


            Our system understands the request but can’t process it due to
            invalid fields in the request body.
          content:
            application/json:
              schema:
                type: object
                properties:
                  type:
                    type: string
                    example: validation
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        parameter:
                          type: string
                          example: type
                        message:
                          type: string
                          example: Type of affiliated person is required
        '429':
          description: >
            **Too Many Requests**


            This response indicates that a user has sent too many requests in a
            given amount of time.
          content:
            application/json:
              schema:
                type: object
                properties:
                  type:
                    type: string
                    example: flow
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        parameter:
                          type: string
                          example: limit_exceeded
                        message:
                          type: string
                          example: >-
                            The authorised person is already exists for that
                            applicant
        '500':
          description: >
            **Internal Server Error**


            This response indicates that our system encountered an unexpected
            condition that prevented it from fulfilling the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/500'
        '502':
          description: >
            **Bad Gateway**


            This response indicates that our system is unable to reach or
            communicate properly with an upstream server it relies on, the URL
            provided is incorrect, or a required token is missing from the
            request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/502'
  /affiliated-persons/{affiliated_person_id}:
    patch:
      tags:
        - Affiliated persons
      summary: Update an affiliated person
      description: Update records of an affiliated person object in our system
      operationId: affiliated-person-update
      parameters:
        - name: affiliated_person_id
          in: path
          schema:
            $ref: '#/components/schemas/affiliated_person_id'
          required: true
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                first_name:
                  $ref: '#/components/schemas/first_name'
                last_name:
                  $ref: '#/components/schemas/last_name'
                title:
                  $ref: '#/components/schemas/title'
                share:
                  $ref: '#/components/schemas/share'
                dob:
                  $ref: '#/components/schemas/dob'
                residence_country:
                  $ref: '#/components/schemas/residence_country'
                nationality:
                  $ref: '#/components/schemas/nationality'
                email:
                  $ref: '#/components/schemas/email'
      responses:
        '200':
          description: >
            **OK**


            The request was successful, and our system returned an expected
            response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  affiliated_person_id:
                    $ref: '#/components/schemas/affiliated_person_id'
        '400':
          description: >
            **Bad Request**


            Our system could not process the request due to invalid syntax,
            missing parameters, or incorrect data format. Check the request
            structure and try again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/400'
        '404':
          description: >
            **Not Found**


            The requested resource does not exist or can’t be found in our
            system.
          content:
            application/json:
              schema:
                type: object
                properties:
                  type:
                    type: string
                    example: not_found
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        parameter:
                          type: string
                          example: affiliated_person_id
                        message:
                          type: string
                          example: Affiliated person was not found
        '422':
          description: >
            **Unprocessable Content**


            Our system understands the request but can’t process it due to
            invalid fields in the request body.
          content:
            application/json:
              schema:
                type: object
                properties:
                  type:
                    type: string
                    example: validation
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        parameter:
                          type: string
                          example: '*'
                        message:
                          type: string
                          example: At least one parameter should be set
        '429':
          description: >
            **Too Many Requests**


            This response indicates that a user has sent too many requests in a
            given amount of time.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/429'
        '500':
          description: >
            **Internal Server Error**


            This response indicates that our system encountered an unexpected
            condition that prevented it from fulfilling the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/500'
        '502':
          description: >
            **Bad Gateway**


            This response indicates that our system is unable to reach or
            communicate properly with an upstream server it relies on, the URL
            provided is incorrect, or a required token is missing from the
            request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/502'
    delete:
      tags:
        - Affiliated persons
      summary: Delete an affiliated person
      description: Delete records of an affiliated person object from our system
      operationId: affiliated-person-delete
      parameters:
        - name: affiliated_person_id
          in: path
          schema:
            $ref: '#/components/schemas/affiliated_person_id'
          required: true
      responses:
        '200':
          description: >
            **OK**


            The request was successful, and our system returned an expected
            response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  affiliated_person_id:
                    $ref: '#/components/schemas/affiliated_person_id'
        '404':
          description: >
            **Not Found**


            The requested resource does not exist or can’t be found in our
            system.
          content:
            application/json:
              schema:
                type: object
                properties:
                  type:
                    type: string
                    example: validation
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        parameter:
                          type: string
                          example: affiliated_person_id
                        message:
                          type: string
                          example: Authorised person was not found
        '422':
          description: >
            **Unprocessable Content**


            Our system understands the request but can’t process it due to
            invalid fields in the request body.
          content:
            application/json:
              schema:
                type: object
                properties:
                  type:
                    type: string
                    example: validation
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        parameter:
                          type: string
                          example: affiliated_person_id"
                        message:
                          type: string
                          example: Affiliated Person ID is not valid
        '429':
          description: >
            **Too Many Requests**


            This response indicates that a user has sent too many requests in a
            given amount of time.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/429'
        '500':
          description: >
            **Internal Server Error**


            This response indicates that our system encountered an unexpected
            condition that prevented it from fulfilling the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/500'
        '502':
          description: >
            **Bad Gateway**


            This response indicates that our system is unable to reach or
            communicate properly with an upstream server it relies on, the URL
            provided is incorrect, or a required token is missing from the
            request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/502'
  /applicants:
    post:
      tags:
        - Applicants
      summary: Create an applicant
      description: Create a new applicant object in the system
      operationId: applicant-create
      requestBody:
        content:
          application/json:
            schema:
              oneOf:
                - type: object
                  title: KYC applicant (a person)
                  properties:
                    type:
                      $ref: '#/components/schemas/type--applicant--person'
                    first_name:
                      $ref: '#/components/schemas/first_name'
                    middle_name:
                      $ref: '#/components/schemas/middle_name'
                    last_name:
                      $ref: '#/components/schemas/last_name'
                    dob:
                      $ref: '#/components/schemas/dob'
                    gender:
                      $ref: '#/components/schemas/gender'
                    pep:
                      $ref: '#/components/schemas/pep'
                    residence_country:
                      $ref: '#/components/schemas/residence_country'
                    nationality:
                      $ref: '#/components/schemas/nationality'
                    phone:
                      $ref: '#/components/schemas/phone'
                    email:
                      $ref: '#/components/schemas/email'
                    telegram_username:
                      $ref: '#/components/schemas/telegram_username'
                    wallet_address:
                      $ref: '#/components/schemas/wallet_address'
                    external_applicant_id:
                      $ref: '#/components/schemas/external_applicant_id'
                    custom_field_1:
                      $ref: '#/components/schemas/custom_field'
                    custom_field_2:
                      $ref: '#/components/schemas/custom_field'
                    custom_field_3:
                      $ref: '#/components/schemas/custom_field'
                    custom_field_4:
                      $ref: '#/components/schemas/custom_field'
                    custom_field_5:
                      $ref: '#/components/schemas/custom_field'
                  required:
                    - type
                - type: object
                  title: KYB applicant (a company)
                  properties:
                    type:
                      $ref: '#/components/schemas/type--applicant--company'
                    company_name:
                      $ref: '#/components/schemas/company_name'
                    business_activity_id:
                      $ref: '#/components/schemas/business_activity_id'
                    registration_country:
                      $ref: '#/components/schemas/registration_country'
                    phone:
                      $ref: '#/components/schemas/phone'
                    email:
                      $ref: '#/components/schemas/email'
                    external_applicant_id:
                      $ref: '#/components/schemas/external_applicant_id'
                  required:
                    - type
                    - company_name
                    - business_activity_id
                    - registration_country
                    - phone
                    - email
      responses:
        '200':
          description: >
            **OK**


            The request was successful, and our system returned an expected
            response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/applicant--post--200'
        '400':
          description: >
            **Bad Request**


            Our system could not process the request due to invalid syntax,
            missing parameters, or incorrect data format. Check the request
            structure and try again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/400'
        '422':
          description: >
            **Unprocessable Content**


            Our system understands the request but can’t process it due to
            invalid fields in the request body.
          content:
            application/json:
              schema:
                type: object
                properties:
                  type:
                    type: string
                    example: validation
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        parameter:
                          type: string
                          example: parameter_name
                        message:
                          type: string
                          example: parameter_name is not valid
        '429':
          description: >
            **Too Many Requests**


            This response indicates that a user has sent too many requests in a
            given amount of time.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/applicant--post--429'
        '500':
          description: >
            **Internal Server Error**


            This response indicates that our system encountered an unexpected
            condition that prevented it from fulfilling the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/500'
        '502':
          description: >
            **Bad Gateway**


            This response indicates that our system is unable to reach or
            communicate properly with an upstream server it relies on, the URL
            provided is incorrect, or a required token is missing from the
            request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/502'
  /applicants/{applicant_id}:
    get:
      tags:
        - Applicants
      summary: Get an applicant
      description: Get data on a created applicant
      operationId: applicant-get
      parameters:
        - name: applicant_id
          in: path
          schema:
            $ref: '#/components/schemas/applicant_id'
          required: true
      responses:
        '200':
          description: >
            **OK**


            The request was successful, and our system returned an expected
            response.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/applicant--get--200--person'
                  - $ref: '#/components/schemas/applicant--get--200--company'
        '400':
          description: >
            **Bad Request**


            Our system could not process the request due to invalid syntax,
            missing parameters, or incorrect data format. Check the request
            structure and try again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/400'
        '404':
          description: >
            **Not Found**


            The requested resource does not exist or can’t be found in our
            system.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/applicant--get--404--applicant_id'
                  - $ref: '#/components/schemas/applicant--get--404--verification_id'
        '429':
          description: >
            **Too Many Requests**


            This response indicates that a user has sent too many requests in a
            given amount of time.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/429'
        '500':
          description: >
            **Internal Server Error**


            This response indicates that our system encountered an unexpected
            condition that prevented it from fulfilling the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/500'
        '502':
          description: >
            **Bad Gateway**


            This response indicates that our system is unable to reach or
            communicate properly with an upstream server it relies on, the URL
            provided is incorrect, or a required token is missing from the
            request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/502'
    patch:
      tags:
        - Applicants
      summary: Update an applicant
      description: Update data of a created applicant
      operationId: applicant-update
      parameters:
        - name: applicant_id
          in: path
          schema:
            $ref: '#/components/schemas/applicant_id'
          required: true
      responses:
        '200':
          description: >
            **OK**


            The request was successful, and our system returned an expected
            response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/applicant--patch--200'
        '404':
          description: >
            **Not Found**


            The requested resource does not exist or can’t be found in our
            system.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/applicant--patch--404--applicant_id'
                  - $ref: >-
                      #/components/schemas/applicant--patch--404--business_activity_id
        '429':
          description: >
            **Too Many Requests**


            This response indicates that a user has sent too many requests in a
            given amount of time.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/429'
        '500':
          description: |
            **Internal Server Error**

             This response indicates that our system encountered an unexpected condition that prevented it from fulfilling the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/500'
        '502':
          description: >
            **Bad Gateway**


            This response indicates that our system is unable to reach or
            communicate properly with an upstream server it relies on, the URL
            provided is incorrect, or a required token is missing from the
            request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/502'
  /documents:
    post:
      tags:
        - Documents
      summary: Create a document
      description: Create a new document object in our system
      operationId: document-create
      requestBody:
        content:
          application/json:
            schema:
              oneOf:
                - type: object
                  title: Person applicant • Credit card
                  description: >
                    A payment card issued by a bank or a financial institution
                    that allows a cardholder to access their bank account. It
                    typically includes a cardholder name, a card number, an
                    expiration date, and a security code.


                    ⚠️ *Only one document with `CREDIT_CARD` document type may
                    be associated with one applicant object via `applicant_id`.*


                    ⚠️ *After a verification was created, a new document may be
                    added for the same applicant object via `applicant_id`,
                    replacing the one added before.*


                    ---
                  properties:
                    applicant_id:
                      $ref: '#/components/schemas/applicant_id'
                    type:
                      type: string
                      example: CREDIT_CARD
                      default: CREDIT_CARD
                    card_number:
                      $ref: '#/components/schemas/card_number'
                    account_number:
                      $ref: '#/components/schemas/account_number'
                    front_side_id:
                      $ref: '#/components/schemas/front_side_id'
                    back_side_id:
                      $ref: '#/components/schemas/back_side_id'
                    other_side_1_id:
                      $ref: '#/components/schemas/other_side_1_id'
                    other_side_2_id:
                      $ref: '#/components/schemas/other_side_2_id'
                    other_side_3_id:
                      $ref: '#/components/schemas/other_side_3_id'
                  required:
                    - applicant_id
                    - type
                - type: object
                  title: Person applicant • Identity • Domestic passport
                  description: >
                    A government-issued internal identity document that
                    certifies a citizen residency and regulates their movement
                    within a country. It serves as a proof of identity and
                    residence for administrative purposes and may be required
                    for accessing certain services or permissions.


                    ⚠️ *Only one document with any of:*
                      * *`DOMESTIC_PASSPORT`*
                      * *`DRIVERS_LICENSE`*
                      * *`FOREIGN_CITIZEN_PASSPORT`*
                      * *`GOVERNMENT_ID`*
                      * *`PASSPORT`*
                      * *`PERMANENT_RESIDENCE_PERMIT`*
                      * *`REFUGEE_CARD`*


                      *document type may be associated with one applicant object via `applicant_id`.*

                    ⚠️ *After a verification was created, a new document may be
                    added for the same applicant object via `applicant_id`,
                    replacing the one added before.*


                    ---
                  properties:
                    applicant_id:
                      $ref: '#/components/schemas/applicant_id'
                    type:
                      type: string
                      example: DOMESTIC_PASSPORT
                      default: DOMESTIC_PASSPORT
                    document_number:
                      $ref: '#/components/schemas/document_number--document'
                    additional_number:
                      $ref: '#/components/schemas/additional_number'
                    issue_date:
                      $ref: '#/components/schemas/issue_date'
                    expiry_date:
                      $ref: '#/components/schemas/expiry_date'
                    issuing_authority:
                      $ref: '#/components/schemas/issuing_authority'
                    front_side_id:
                      $ref: '#/components/schemas/front_side_id'
                    back_side_id:
                      $ref: '#/components/schemas/back_side_id'
                    other_side_1_id:
                      $ref: '#/components/schemas/other_side_1_id'
                    other_side_2_id:
                      $ref: '#/components/schemas/other_side_2_id'
                    other_side_3_id:
                      $ref: '#/components/schemas/other_side_3_id'
                  required:
                    - applicant_id
                    - type
                - $ref: '#/components/schemas/document--post--person--drivers_license'
                - $ref: >-
                    #/components/schemas/document--post--person--foreign_citizen_passport
                - $ref: '#/components/schemas/document--post--person--government_id'
                - $ref: '#/components/schemas/document--post--person--passport'
                - $ref: >-
                    #/components/schemas/document--post--person--permanent_residence_permit
                - $ref: '#/components/schemas/document--post--person--refugee_card'
                - $ref: '#/components/schemas/document--post--person--bank_statement'
                - $ref: >-
                    #/components/schemas/document--post--person--financial_document
                - $ref: '#/components/schemas/document--post--person--selfie_image'
                - $ref: >-
                    #/components/schemas/document--post--person--selfie_with_credit_card
                - $ref: >-
                    #/components/schemas/document--post--person--selfie_with_document
                - $ref: '#/components/schemas/document--post--person--tax_id_number'
                - $ref: '#/components/schemas/document--post--person--video'
                - type: object
                  title: Affiliated person • Address document
                  description: >
                    A government-issued or legally recognized document that
                    confirms a person residential address. Common examples
                    include bank statements, utility bills, or identity
                    documents displaying an address. It typically includes a
                    person full name, address, and a date of issue.


                    ⚠️ *Only one document with `ADDRESS_DOCUMENT` document type
                    may be associated with one affiliated person object via
                    `affiliated_person_id`.*


                    ⚠️ *After a verification was created, a new document may be
                    added for the same affiliated person object via
                    `affiliated_person_id` replacing the one added before.*


                    ---
                  properties:
                    affiliated_person_id:
                      $ref: '#/components/schemas/affiliated_person_id'
                    type:
                      type: string
                      example: ADDRESS_DOCUMENT
                      default: ADDRESS_DOCUMENT
                    front_side_id:
                      $ref: '#/components/schemas/front_side_id'
                    back_side_id:
                      $ref: '#/components/schemas/back_side_id'
                    other_side_1_id:
                      $ref: '#/components/schemas/other_side_1_id'
                    other_side_2_id:
                      $ref: '#/components/schemas/other_side_2_id'
                    other_side_3_id:
                      $ref: '#/components/schemas/other_side_3_id'
                  required:
                    - affiliated_person_id
                    - type
                - $ref: >-
                    #/components/schemas/document--post--company--authorised_person
                - $ref: >-
                    #/components/schemas/document--post--company--company_legal_address
                - $ref: >-
                    #/components/schemas/document--post--company--company_ownership
                - $ref: >-
                    #/components/schemas/document--post--company--registration_company
                - type: object
                  title: Affiliated person • Address document
                  description: >
                    A government-issued or legally recognized document that
                    confirms a person residential address. Common examples
                    include bank statements, utility bills, or identity
                    documents displaying an address. It typically includes a
                    person full name, address, and a date of issue.


                    ⚠️ *Only one document with `ADDRESS_DOCUMENT` document type
                    may be associated with one affiliated person object via
                    `affiliated_person_id`.*


                    ⚠️ *After a verification was created, a new document may be
                    added for the same affiliated person object via
                    `affiliated_person_id` replacing the one added before.*


                    ---
                  properties:
                    affiliated_person_id:
                      $ref: '#/components/schemas/affiliated_person_id'
                    type:
                      type: string
                      example: ADDRESS_DOCUMENT
                      default: ADDRESS_DOCUMENT
                    front_side_id:
                      $ref: '#/components/schemas/front_side_id'
                    back_side_id:
                      $ref: '#/components/schemas/back_side_id'
                    other_side_1_id:
                      $ref: '#/components/schemas/other_side_1_id'
                    other_side_2_id:
                      $ref: '#/components/schemas/other_side_2_id'
                    other_side_3_id:
                      $ref: '#/components/schemas/other_side_3_id'
                  required:
                    - affiliated_person_id
                    - type
                - type: object
                  title: Affiliated person • Identity • Domestic passport
                  description: >
                    A government-issued internal identity document that
                    certifies a citizen residency and regulates their movement
                    within a country. It serves as a proof of identity and
                    residence for administrative purposes and may be required
                    for accessing certain services or permissions.


                    ⚠️ *Only one document with any of:*
                      * *`GOVERNMENT_ID`*
                      * *`PASSPORT`*
                      * *`DRIVERS_LICENSE`*
                      * *`DOMESTIC_PASSPORT`*
                      * *`PERMANENT_RESIDENCE_PERMIT`*
                      * *`REFUGEE_CARD`*
                      * *`FOREIGN_CITIZEN_PASSPORT`*

                      *document type may be associated with one affiliated person object via `affiliated_person_id`.*

                    ⚠️ *After a verification was created, a new document may be
                    added for the same affiliated person object via
                    `affiliated_person_id`, replacing the one added before.*


                    ---
                  properties:
                    affiliated_person_id:
                      $ref: '#/components/schemas/affiliated_person_id'
                    type:
                      type: string
                      example: DOMESTIC_PASSPORT
                      default: DOMESTIC_PASSPORT
                    document_number:
                      $ref: '#/components/schemas/document_number--document'
                    additional_number:
                      $ref: '#/components/schemas/additional_number'
                    issue_date:
                      $ref: '#/components/schemas/issue_date'
                    expiry_date:
                      $ref: '#/components/schemas/expiry_date'
                    issuing_authority:
                      $ref: '#/components/schemas/issuing_authority'
                    front_side_id:
                      $ref: '#/components/schemas/front_side_id'
                    back_side_id:
                      $ref: '#/components/schemas/back_side_id'
                    other_side_1_id:
                      $ref: '#/components/schemas/other_side_1_id'
                    other_side_2_id:
                      $ref: '#/components/schemas/other_side_2_id'
                    other_side_3_id:
                      $ref: '#/components/schemas/other_side_3_id'
                  required:
                    - affiliated_person_id
                    - type
                - type: object
                  title: Affiliated person • Identity • Driver license
                  description: >
                    A government-issued document that authorises an person to
                    operate specific types of vehicles. It typically includes a
                    holder photo, a full name, a date of birth, a license class,
                    an expiration date. It is often recognized as a valid form
                    of identification.


                    ⚠️ *Only one document with any of:*
                      * *`GOVERNMENT_ID`*
                      * *`PASSPORT`*
                      * *`DRIVERS_LICENSE`*
                      * *`DOMESTIC_PASSPORT`*
                      * *`PERMANENT_RESIDENCE_PERMIT`*
                      * *`REFUGEE_CARD`*
                      * *`FOREIGN_CITIZEN_PASSPORT`*

                      *document type may be associated with one affiliated person object via `affiliated_person_id`.*

                    ⚠️ *After a verification was created, a new document may be
                    added for the same affiliated person object via
                    `affiliated_person_id`, replacing the one added before.*


                    ---
                  properties:
                    affiliated_person_id:
                      $ref: '#/components/schemas/affiliated_person_id'
                    type:
                      type: string
                      example: DRIVERS_LICENSE
                      default: DRIVERS_LICENSE
                    document_number:
                      $ref: '#/components/schemas/document_number--document'
                    additional_number:
                      $ref: '#/components/schemas/additional_number'
                    issue_date:
                      $ref: '#/components/schemas/issue_date'
                    expiry_date:
                      $ref: '#/components/schemas/expiry_date'
                    issuing_authority:
                      $ref: '#/components/schemas/issuing_authority'
                    front_side_id:
                      $ref: '#/components/schemas/front_side_id'
                    back_side_id:
                      $ref: '#/components/schemas/back_side_id'
                    other_side_1_id:
                      $ref: '#/components/schemas/other_side_1_id'
                    other_side_2_id:
                      $ref: '#/components/schemas/other_side_2_id'
                    other_side_3_id:
                      $ref: '#/components/schemas/other_side_3_id'
                  required:
                    - affiliated_person_id
                    - type
                - type: object
                  title: Affiliated person • Identity • Foreign citizen passport
                  description: >
                    A government-issued travel document issued to a foreign
                    national by their country of citizenship. It certifies a
                    holder identity and nationality, allowing them to travel
                    internationally and return to their home country. It may
                    also be used as a proof of identity for various
                    administrative purposes.


                    ⚠️ *Only one document with any of:*
                      * *`GOVERNMENT_ID`*
                      * *`PASSPORT`*
                      * *`DRIVERS_LICENSE`*
                      * *`DOMESTIC_PASSPORT`*
                      * *`PERMANENT_RESIDENCE_PERMIT`*
                      * *`REFUGEE_CARD`*
                      * *`FOREIGN_CITIZEN_PASSPORT`*

                      *document type may be associated with one affiliated person object via `affiliated_person_id`.*

                    ⚠️ *After a verification was created, a new document may be
                    added for the same affiliated person object via
                    `affiliated_person_id`, replacing the one added before.*


                    ---
                  properties:
                    affiliated_person_id:
                      $ref: '#/components/schemas/affiliated_person_id'
                    type:
                      type: string
                      example: FOREIGN_CITIZEN_PASSPORT
                      default: FOREIGN_CITIZEN_PASSPORT
                    document_number:
                      $ref: '#/components/schemas/document_number--document'
                    additional_number:
                      $ref: '#/components/schemas/additional_number'
                    issue_date:
                      $ref: '#/components/schemas/issue_date'
                    expiry_date:
                      $ref: '#/components/schemas/expiry_date'
                    issuing_authority:
                      $ref: '#/components/schemas/issuing_authority'
                    front_side_id:
                      $ref: '#/components/schemas/front_side_id'
                    back_side_id:
                      $ref: '#/components/schemas/back_side_id'
                    other_side_1_id:
                      $ref: '#/components/schemas/other_side_1_id'
                    other_side_2_id:
                      $ref: '#/components/schemas/other_side_2_id'
                    other_side_3_id:
                      $ref: '#/components/schemas/other_side_3_id'
                  required:
                    - affiliated_person_id
                    - type
                - type: object
                  title: Affiliated person • Identity • Government ID
                  description: >
                    A government-issued document used to verify a person
                    identity. Typically provided as a small card, it contains
                    information such as a photo, a full name, a date of birth, a
                    gender, and other personal details.


                    ⚠️ *Only one document with any of:*
                      * *`GOVERNMENT_ID`*
                      * *`PASSPORT`*
                      * *`DRIVERS_LICENSE`*
                      * *`DOMESTIC_PASSPORT`*
                      * *`PERMANENT_RESIDENCE_PERMIT`*
                      * *`REFUGEE_CARD`*
                      * *`FOREIGN_CITIZEN_PASSPORT`*

                      *document type may be associated with one affiliated person object via `affiliated_person_id`.*

                    ⚠️ *After a verification was created, a new document may be
                    added for the same affiliated person object via
                    `affiliated_person_id`, replacing the one added before.*


                    ---
                  properties:
                    affiliated_person_id:
                      $ref: '#/components/schemas/affiliated_person_id'
                    type:
                      type: string
                      example: GOVERNMENT_ID
                      default: GOVERNMENT_ID
                    document_number:
                      $ref: '#/components/schemas/document_number--document'
                    additional_number:
                      $ref: '#/components/schemas/additional_number'
                    issue_date:
                      $ref: '#/components/schemas/issue_date'
                    expiry_date:
                      $ref: '#/components/schemas/expiry_date'
                    issuing_authority:
                      $ref: '#/components/schemas/issuing_authority'
                    front_side_id:
                      $ref: '#/components/schemas/front_side_id'
                    back_side_id:
                      $ref: '#/components/schemas/back_side_id'
                    other_side_1_id:
                      $ref: '#/components/schemas/other_side_1_id'
                    other_side_2_id:
                      $ref: '#/components/schemas/other_side_2_id'
                    other_side_3_id:
                      $ref: '#/components/schemas/other_side_3_id'
                  required:
                    - affiliated_person_id
                    - type
                - type: object
                  title: Affiliated person • Identity • Passport
                  description: >
                    A government-issued document that certifies a holder
                    identity and nationality, primarily for international travel
                    purposes.


                    ⚠️ *Only one document with any of:*
                      * *`GOVERNMENT_ID`*
                      * *`PASSPORT`*
                      * *`DRIVERS_LICENSE`*
                      * *`DOMESTIC_PASSPORT`*
                      * *`PERMANENT_RESIDENCE_PERMIT`*
                      * *`REFUGEE_CARD`*
                      * *`FOREIGN_CITIZEN_PASSPORT`*

                      *document type may be associated with one affiliated person object via `affiliated_person_id`.*

                    ⚠️ *After a verification was created, a new document may be
                    added for the same affiliated person object via
                    `affiliated_person_id`, replacing the one added before.*


                    ---
                  properties:
                    affiliated_person_id:
                      $ref: '#/components/schemas/affiliated_person_id'
                    type:
                      type: string
                      example: PASSPORT
                      default: PASSPORT
                    document_number:
                      $ref: '#/components/schemas/document_number--document'
                    additional_number:
                      $ref: '#/components/schemas/additional_number'
                    issue_date:
                      $ref: '#/components/schemas/issue_date'
                    expiry_date:
                      $ref: '#/components/schemas/expiry_date'
                    issuing_authority:
                      $ref: '#/components/schemas/issuing_authority'
                    front_side_id:
                      $ref: '#/components/schemas/front_side_id'
                    back_side_id:
                      $ref: '#/components/schemas/back_side_id'
                    other_side_1_id:
                      $ref: '#/components/schemas/other_side_1_id'
                    other_side_2_id:
                      $ref: '#/components/schemas/other_side_2_id'
                    other_side_3_id:
                      $ref: '#/components/schemas/other_side_3_id'
                  required:
                    - affiliated_person_id
                    - type
                - type: object
                  title: Affiliated person • Identity • Permanent residence permit
                  description: >
                    A government-issued document that certifies a person
                    permanent resident status in a country where they are not a
                    citizen. It verifies their legal right to reside in that
                    country indefinitely and may also serve as a proof of
                    identity in certain situations.


                    ⚠️ *Only one document with any of:*
                      * *`GOVERNMENT_ID`*
                      * *`PASSPORT`*
                      * *`DRIVERS_LICENSE`*
                      * *`DOMESTIC_PASSPORT`*
                      * *`PERMANENT_RESIDENCE_PERMIT`*
                      * *`REFUGEE_CARD`*
                      * *`FOREIGN_CITIZEN_PASSPORT`*

                      *document type may be associated with one affiliated person object via `affiliated_person_id`.*

                    ⚠️ *After a verification was created, a new document may be
                    added for the same affiliated person object via
                    `affiliated_person_id`, replacing the one added before.*


                    ---
                  properties:
                    affiliated_person_id:
                      $ref: '#/components/schemas/affiliated_person_id'
                    type:
                      type: string
                      example: PERMANENT_RESIDENCE_PERMIT
                      default: PERMANENT_RESIDENCE_PERMIT
                    document_number:
                      $ref: '#/components/schemas/document_number--document'
                    additional_number:
                      $ref: '#/components/schemas/additional_number'
                    issue_date:
                      $ref: '#/components/schemas/issue_date'
                    expiry_date:
                      $ref: '#/components/schemas/expiry_date'
                    issuing_authority:
                      $ref: '#/components/schemas/issuing_authority'
                    front_side_id:
                      $ref: '#/components/schemas/front_side_id'
                    back_side_id:
                      $ref: '#/components/schemas/back_side_id'
                    other_side_1_id:
                      $ref: '#/components/schemas/other_side_1_id'
                    other_side_2_id:
                      $ref: '#/components/schemas/other_side_2_id'
                    other_side_3_id:
                      $ref: '#/components/schemas/other_side_3_id'
                  required:
                    - affiliated_person_id
                    - type
                - type: object
                  title: Affiliated person • Identity • Refugee card
                  description: >
                    An identity document issued by UNHCR or an asylum state to
                    refugees. It certifies a holder refugee status and serves as
                    an official proof of identity, enabling access to essential
                    services and rights within a host country.


                    ⚠️ *Only one document with any of:*
                      * *`GOVERNMENT_ID`*
                      * *`PASSPORT`*
                      * *`DRIVERS_LICENSE`*
                      * *`DOMESTIC_PASSPORT`*
                      * *`PERMANENT_RESIDENCE_PERMIT`*
                      * *`REFUGEE_CARD`*
                      * *`FOREIGN_CITIZEN_PASSPORT`*

                      *document type may be associated with one affiliated person object via `affiliated_person_id`.*

                    ⚠️ *After a verification was created, a new document may be
                    added for the same affiliated person object via
                    `affiliated_person_id`, replacing the one added before.*


                    ---
                  properties:
                    affiliated_person_id:
                      $ref: '#/components/schemas/affiliated_person_id'
                    type:
                      type: string
                      example: REFUGEE_CARD
                      default: REFUGEE_CARD
                    document_number:
                      $ref: '#/components/schemas/document_number--document'
                    additional_number:
                      $ref: '#/components/schemas/additional_number'
                    issue_date:
                      $ref: '#/components/schemas/issue_date'
                    expiry_date:
                      $ref: '#/components/schemas/expiry_date'
                    issuing_authority:
                      $ref: '#/components/schemas/issuing_authority'
                    front_side_id:
                      $ref: '#/components/schemas/front_side_id'
                    back_side_id:
                      $ref: '#/components/schemas/back_side_id'
                    other_side_1_id:
                      $ref: '#/components/schemas/other_side_1_id'
                    other_side_2_id:
                      $ref: '#/components/schemas/other_side_2_id'
                    other_side_3_id:
                      $ref: '#/components/schemas/other_side_3_id'
                  required:
                    - affiliated_person_id
                    - type
      responses:
        '200':
          description: >
            **OK**


            The request was successful, and our system returned an expected
            response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  document_id:
                    $ref: '#/components/schemas/document_id'
        '400':
          description: >
            **Bad Request**


            Our system could not process the request due to invalid syntax,
            missing parameters, or incorrect data format. Check the request
            structure and try again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/400'
        '404':
          description: >
            **Not Found**


            The requested resource does not exist or can’t be found in our
            system.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/document--post--404--applicant_id'
                  - $ref: >-
                      #/components/schemas/document--post--404--affiliated_person
                  - $ref: '#/components/schemas/document--404--front_side_id'
                  - $ref: '#/components/schemas/document--404--back_side_id'
                  - $ref: '#/components/schemas/document--404--other_side_1_id'
                  - $ref: '#/components/schemas/document--404--other_side_2_id'
                  - $ref: '#/components/schemas/document--404--other_side_3_id'
        '422':
          description: >
            **Unprocessable Content**


            Our system understands the request but can’t process it due to
            invalid fields in the request body.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/document--post--422--document_type'
                  - $ref: >-
                      #/components/schemas/document--post--422--applicant_id-affiliated_person_id
                  - $ref: >-
                      #/components/schemas/document--post--422--applicant_id--invalid
                  - $ref: '#/components/schemas/document--post--422--document_type'
                  - $ref: >-
                      #/components/schemas/document--post--422--additional_number
                  - $ref: '#/components/schemas/document--post--422--issue_date'
                  - $ref: '#/components/schemas/document--post--422--expiry_date'
                  - $ref: >-
                      #/components/schemas/document--post--422--issuing_authority
                  - $ref: '#/components/schemas/document--post--422--front_side_id'
                  - $ref: '#/components/schemas/document--post--422--back_side_id'
                  - $ref: '#/components/schemas/document--post--422--other_side_1_id'
                  - $ref: '#/components/schemas/document--post--422--other_side_2_id'
                  - $ref: '#/components/schemas/document--post--422--other_side_3_id'
                  - $ref: '#/components/schemas/document--post--422--income_sources'
                  - $ref: >-
                      #/components/schemas/document--post--422--transaction_amount
                  - $ref: >-
                      #/components/schemas/document--post--422--transaction_currency
                  - $ref: >-
                      #/components/schemas/document--post--422--transaction_datetime
                  - $ref: >-
                      #/components/schemas/document--post--422--transaction_purpose
                  - $ref: '#/components/schemas/document--post--422--origin_funds'
                  - $ref: '#/components/schemas/document--post--422--card_number'
                  - $ref: '#/components/schemas/document--post--422--account_number'
        '429':
          description: >
            **Too Many Requests**


            This response indicates that a user has sent too many requests in a
            given amount of time.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: >-
                      #/components/schemas/document--post--429--domestic_passport
                  - $ref: '#/components/schemas/document--post--429--drivers_license'
                  - $ref: >-
                      #/components/schemas/document--post--429--foreign_citizen_passport
                  - $ref: '#/components/schemas/document--post--429--government_id'
                  - $ref: '#/components/schemas/document--post--429--passport'
                  - $ref: >-
                      #/components/schemas/document--post--429--permanent_residence_permit
                  - $ref: '#/components/schemas/document--post--429--refugee_card'
                  - $ref: '#/components/schemas/document--post--429--bank_statement'
                  - $ref: >-
                      #/components/schemas/document--post--429--financial_document
                  - $ref: '#/components/schemas/document--post--429--credit_card'
                  - $ref: '#/components/schemas/document--post--429--selfie_image'
                  - $ref: >-
                      #/components/schemas/document--post--429--selfie_with_credit_card
                  - $ref: >-
                      #/components/schemas/document--post--429--selfie_with_document
                  - $ref: '#/components/schemas/document--post--429--tax_id_number'
                  - $ref: '#/components/schemas/document--post--429--video'
        '500':
          description: >
            **Internal Server Error**


            This response indicates that our system encountered an unexpected
            condition that prevented it from fulfilling the request.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/500'
        '502':
          description: >
            **Bad Gateway**


            This response indicates that our system is unable to reach or
            communicate properly with an upstream server it relies on, the URL
            provided is incorrect, or a required token is missing from the
            request.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/502'
  /documents/{document_id}:
    get:
      tags:
        - Documents
      summary: Get a document
      description: Get records of a created document object
      operationId: document-get
      parameters:
        - name: document_id
          in: path
          schema:
            $ref: '#/components/schemas/document_id'
          required: true
      responses:
        '200':
          description: >
            **OK**


            The request was successful, and our system returned an expected
            response.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: >-
                      #/components/schemas/document--get--200--person--credit_card
                  - $ref: >-
                      #/components/schemas/document--get--200--person--domestic_passport
                  - $ref: >-
                      #/components/schemas/document--get--200--person--drivers_license
                  - $ref: >-
                      #/components/schemas/document--get--200--person--foreign_citizen_passport
                  - $ref: >-
                      #/components/schemas/document--get--200--person--government_id
                  - $ref: '#/components/schemas/document--get--200--person--passport'
                  - $ref: >-
                      #/components/schemas/document--get--200--person--permanent_residence_permit
                  - $ref: >-
                      #/components/schemas/document--get--200--person--refugee_card
                  - $ref: >-
                      #/components/schemas/document--get--200--person--bank_statement
                  - $ref: >-
                      #/components/schemas/document--get--200--person--financial_document
                  - $ref: >-
                      #/components/schemas/document--get--200--person--selfie_image
                  - $ref: >-
                      #/components/schemas/document--get--200--person--selfie_with_credit_card
                  - $ref: >-
                      #/components/schemas/document--get--200--person--selfie_with_document
                  - $ref: >-
                      #/components/schemas/document--get--200--person--tax_id_number
                  - $ref: '#/components/schemas/document--get--200--person--video'
                  - $ref: >-
                      #/components/schemas/document--get--200--person-company--address_document
                  - $ref: >-
                      #/components/schemas/document--get--200--company--authorised_person
                  - $ref: >-
                      #/components/schemas/document--get--200--company--company_legal_address
                  - $ref: >-
                      #/components/schemas/document--get--200--company--company_ownership
                  - $ref: >-
                      #/components/schemas/document--get--200--company--registration_company
                  - $ref: >-
                      #/components/schemas/document--get--200--affiliated_person--address_document
                  - $ref: >-
                      #/components/schemas/document--get--200--affiliated_person--domestic_passport
                  - $ref: >-
                      #/components/schemas/document--get--200--affiliated_person--drivers_license
                  - $ref: >-
                      #/components/schemas/document--get--200--affiliated_person--foreign_citizen_passport
                  - $ref: >-
                      #/components/schemas/document--get--200--affiliated_person--government_id
                  - $ref: >-
                      #/components/schemas/document--get--200--affiliated_person--passport
                  - $ref: >-
                      #/components/schemas/document--get--200--affiliated_person--permanent_residence_permit
                  - $ref: >-
                      #/components/schemas/document--get--200--affiliated_person--refugee_card
        '400':
          description: >
            **Bad Request**


            Our system could not process the request due to invalid syntax,
            missing parameters, or incorrect data format. Check the request
            structure and try again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/400'
        '404':
          description: >
            **Not Found**


            The requested resource does not exist or can’t be found in our
            system.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/document--404--document_id'
        '422':
          description: >
            **Unprocessable Content**


            Our system understands the request but can’t process it due to
            invalid fields in the request body.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/document--422--document_id'
        '429':
          description: >
            **Too Many Requests**


            This response indicates that a user has sent too many requests in a
            given amount of time.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/429'
        '500':
          description: >
            **Internal Server Error**


            This response indicates that our system encountered an unexpected
            condition that prevented it from fulfilling the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/500'
        '502':
          description: >
            **Bad Gateway**


            This response indicates that our system is unable to reach or
            communicate properly with an upstream server it relies on, the URL
            provided is incorrect, or a required token is missing from the
            request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/502'
    patch:
      tags:
        - Documents
      summary: Update a document
      description: Update records of a created document object
      operationId: document-update
      parameters:
        - name: document_id
          in: path
          schema:
            $ref: '#/components/schemas/document_id'
          required: true
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                type:
                  $ref: '#/components/schemas/type--document'
                document_number:
                  $ref: '#/components/schemas/document_number--document'
                additional_number:
                  $ref: '#/components/schemas/additional_number'
                issue_date:
                  $ref: '#/components/schemas/issue_date'
                expiry_date:
                  $ref: '#/components/schemas/expiry_date'
                issuing_authority:
                  $ref: '#/components/schemas/issuing_authority'
                income_sources:
                  $ref: '#/components/schemas/income_sources'
                annual_income:
                  $ref: '#/components/schemas/annual_income'
                transaction_amount:
                  $ref: '#/components/schemas/transaction_amount'
                transaction_currency:
                  $ref: '#/components/schemas/transaction_currency'
                transaction_datetime:
                  $ref: '#/components/schemas/transaction_datetime'
                transaction_purpose:
                  $ref: '#/components/schemas/transaction_purpose'
                origin_funds:
                  $ref: '#/components/schemas/origin_funds'
                card_number:
                  $ref: '#/components/schemas/card_number'
                account_number:
                  $ref: '#/components/schemas/account_number'
                front_side_id:
                  $ref: '#/components/schemas/front_side_id'
                back_side_id:
                  $ref: '#/components/schemas/back_side_id'
                other_side_1_id:
                  $ref: '#/components/schemas/other_side_1_id'
                other_side_2_id:
                  $ref: '#/components/schemas/other_side_2_id'
                other_side_3_id:
                  $ref: '#/components/schemas/other_side_3_id'
      responses:
        '200':
          description: >
            **OK**


            The request was successful, and our system returned an expected
            response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/document--update--200'
        '404':
          description: >
            **Not Found**


            The requested resource does not exist or can’t be found in our
            system.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/document--404--document_id'
                  - $ref: '#/components/schemas/document--404--front_side_id'
                  - $ref: '#/components/schemas/document--404--back_side_id'
                  - $ref: '#/components/schemas/document--404--other_side_1_id'
                  - $ref: '#/components/schemas/document--404--other_side_2_id'
                  - $ref: '#/components/schemas/document--404--other_side_3_id'
        '422':
          description: >
            **Unprocessable Content**


            Our system understands the request but can’t process it due to
            invalid fields in the request body.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/document--422--document_id'
                  - $ref: '#/components/schemas/document--422--parameter_missing'
        '429':
          description: >
            **Too Many Requests**


            This response indicates that a user has sent too many requests in a
            given amount of time.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/429'
        '500':
          description: >
            **Internal Server Error**


            This response indicates that our system encountered an unexpected
            condition that prevented it from fulfilling the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/500'
        '502':
          description: >
            **Bad Gateway**


            This response indicates that our system is unable to reach or
            communicate properly with an upstream server it relies on, the URL
            provided is incorrect, or a required token is missing from the
            request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/502'
    delete:
      tags:
        - Documents
      summary: Delete a document
      description: Delete records of a created document object
      operationId: document-delete
      parameters:
        - name: document_id
          in: path
          schema:
            $ref: '#/components/schemas/document_id'
          required: true
      responses:
        '200':
          description: >
            **OK**


            The request was successful, and our system returned an expected
            response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/document--delete--200'
        '404':
          description: >
            **Not Found**


            The requested resource does not exist or can’t be found in our
            system.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/document--404--document_id'
        '409':
          description: 409 Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/document--delete--409'
        '422':
          description: >
            **Unprocessable Content**


            Our system understands the request but can’t process it due to
            invalid fields in the request body.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/document--422--document_id'
        '429':
          description: >
            **Too Many Requests**


            This response indicates that a user has sent too many requests in a
            given amount of time.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/429'
        '500':
          description: >
            **Internal Server Error**


            This response indicates that our system encountered an unexpected
            condition that prevented it from fulfilling the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/500'
        '502':
          description: >
            **Bad Gateway**


            This response indicates that our system is unable to reach or
            communicate properly with an upstream server it relies on, the URL
            provided is incorrect, or a required token is missing from the
            request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/502'
  /files:
    post:
      tags:
        - Files
      summary: Create a file
      description: |
        {% admonition type="info" name="Content migration in progress" %}
          Please refer to the [**legacy documentation**](https://docs-v1.kycaid.com/#create-a-file) for this article
        {% /admonition %}
      operationId: file-create
  /files/file_id:
    put:
      tags:
        - Files
      summary: Update a file
      description: |
        Access the article from the previous version of the documentation:

        # [Update file](https://docs-v1.kycaid.com/#update-a-file)
      operationId: file-update
  /forms/{form_id}/urls:
    post:
      tags:
        - Forms
      summary: Get a form URL
      description: Retrieve a URL for a form
      operationId: form-get-url
      parameters:
        - name: form_id
          in: path
          schema:
            $ref: '#/components/schemas/form_id'
          required: true
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                applicant_id:
                  $ref: '#/components/schemas/applicant_id'
                external_applicant_id:
                  $ref: '#/components/schemas/external_applicant_id'
                redirect_url:
                  $ref: '#/components/schemas/redirect_url'
      responses:
        '200':
          description: >
            **OK**


            The request was successful, and our system returned an expected
            response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/form--post--200'
        '400':
          description: >
            **Bad Request**


            Our system could not process the request due to invalid syntax,
            missing parameters, or incorrect data format. Check the request
            structure and try again.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/400'
        '404':
          description: >
            **Not Found**


            The requested resource does not exist or can’t be found in our
            system.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/form--post--404--form_id'
                  - $ref: '#/components/schemas/form--post--404--applicant_id'
        '409':
          description: >
            **409 Conflict**


            The error is returned by our system when a request can’t be
            processed due to a conflict with the current state of the resource.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/form--post--409'
        '422':
          description: >
            **Unprocessable Content**


            Our system understands the request but can’t process it due to
            invalid fields in the request body.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/form--post--422--form_id'
                  - $ref: '#/components/schemas/form--post--422--applicant_id'
        '429':
          description: >
            **Too Many Requests**


            This response indicates that a user has sent too many requests in a
            given amount of time.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/429'
        '500':
          description: >
            **Internal Server Error**


            This response indicates that our system encountered an unexpected
            condition that prevented it from fulfilling the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/500'
        '502':
          description: >
            **Bad Gateway**


            This response indicates that our system is unable to reach or
            communicate properly with an upstream server it relies on, the URL
            provided is incorrect, or a required token is missing from the
            request.
          content:
            text/text:
              schema:
                $ref: '#/components/schemas/502'
  /forms:
    get:
      tags:
        - Forms
      summary: Get forms
      description: |
        Access the article from the previous version of the documentation:

        # [Get forms](https://docs-v1.kycaid.com/#get-forms)
      operationId: forms-get
  /verifications:
    post:
      tags:
        - Verifications
      summary: Create a verification
      description: >
        Access the article from the previous version of the documentation:


        # [Create
        verification](https://docs-v1.kycaid.com/#create-a-verification)
      operationId: verification-create
  /verifications/{verification_id}:
    get:
      tags:
        - Verifications
      summary: Get a verification
      description: >
        Access the article from the previous version of the documentation:


        # [Get
        verification](https://docs-v1.kycaid.com/#retrieve-a-verification)
      operationId: verification-get
      parameters:
        - name: verification_id
          in: path
          schema: {}
          required: true
  /verifications/report:
    get:
      tags:
        - Verifications
      summary: Get a report
      description: >
        Access the article from the previous version of the documentation:


        # [Get verifications
        report](https://docs-v1.kycaid.com/#get-verifications-report)
      operationId: verification-report-get
