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

# Get KYC Details

Retrieves the latest KYC verification details for a user. Use this to inspect ID data, face match and liveness checks, and AML results after the user completes the KYC session.

***

## Important Notes

* Verification results are only available **after** the user completes the full KYC session.
* Most fields are passed through from our KYC provider. `amlInfo`, `faceLivenessInfo`, `faceMatchInfo` and `idInfo` are always present, but the fields inside them are omitted when the provider has no data.
* Fields such as `idType`, `entityType`, `resolutionStatus`, `status` and `code` are provider strings without a fixed list of values, and `checkSummary` / `amlHitSummary` are string-to-string maps with no fixed keys. Use them for display and audit, not for business logic.
* `aipriseSummary.verificationResult` (`APPROVED`, `DECLINED`, `REVIEW` or `UNKNOWN`) is our KYC provider's result for the session, passed through as is; it is not Capa's KYC decision. For onboarding decisions, use the [KYC webhooks](https://docs.capa.fi/docs/kyc-events.md).
* KYC date fields (`birthDate`, `idExpiryDate`, `idIssueDate` and the dates inside `documentDetails.ocrData`) have no guaranteed format; parse them defensively. `createdAt` is ISO 8601 in UTC with milliseconds, and is omitted when our KYC provider doesn't return a creation date.
* The response envelope is `{ "status": "ok", "data": { ... } }`.
* This is a read-only endpoint — it does not trigger updates or notifications.
* If a session has expired or was inconclusive, generate a new verification link via [KYC Link Generation](https://docs.capa.fi/reference/userpartnercontrollerv2_createverificationlink.md).

***

## Use Cases

* **Compliance review**: Inspect ID, liveness, and AML data for regulatory review.
* **Support investigation**: Inspect verification artifacts during dispute resolution.

***

## Error Codes

These are the errors this endpoint returns most often. Branch on `code`, not `message`, and handle codes you don't recognize by their HTTP status. See [Error Codes](https://docs.capa.fi/reference/error-codes.md) for the complete list.

Every error on this endpoint includes `code`. It uses an older error format, so `errors[]` is never returned. A `userId` that doesn't belong to your partner account returns `404`.

### Common Errors

| HTTP Status | Code | Message |
| - | - | - |
| 401 | `UNAUTHORIZED` | "API Key is missing" |
| 401 | `UNAUTHORIZED` | "Invalid API Key format" |
| 401 | `UNAUTHORIZED` | "Invalid API Key" |
| 429 | `TOO_MANY_REQUESTS` | "ThrottlerException: Too Many Requests" (wait the number of seconds in the `Retry-After` header) |

### Endpoint-Specific Errors

| HTTP Status | Code | Message |
| - | - | - |
| 400 | `INVALID_USER_INPUT_ERROR` | "Invalid User Input" (`userId` missing or not a valid UUID) |
| 404 | `NOT_FOUND_ERROR` | "Requested User was not found" |
| 404 | `NOT_FOUND_ERROR` | "Requested KYC was not found" |
| 502 | `EXTERNAL_PROVIDER_ERROR` | The identity verification provider failed. Retry later |
| 500 | `INTERNAL_SERVER_ERROR` | "Internal server error". Retry with backoff |


## OpenAPI

````yaml reference/openapi/KYCPartnerControllerV2_getUserVerificationDetails.json GET /api/partner/v2/kyc/details
openapi: 3.0.0
info:
  title: Capa Partner API - V2
  description: >-
    Partner API for integrating cryptocurrency on-ramp and off-ramp services
    using Capa's infrastructure. Enable your users to seamlessly convert between
    fiat and crypto.
  version: v2
  contact: {}
servers:
  - url: https://api.sandbox.capa.fi
  - url: https://api.capa.fi
security: []
paths:
  /api/partner/v2/kyc/details:
    get:
      tags:
        - kyc
      operationId: KYCPartnerControllerV2_getUserVerificationDetails
      parameters:
        - name: userId
          required: true
          in: query
          description: The user ID
          schema:
            example: 2a119021-ed39-4ab4-8690-db610c53f0fb
            type: string
      responses:
        '200':
          description: >-
            Returns the KYC (Know Your Customer) verification details for the
            user.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: ok
                  data:
                    type: object
                    properties:
                      aipriseSummary:
                        type: object
                        description: Overall result of the verification session.
                        properties:
                          verificationResult:
                            type: string
                            description: >-
                              `APPROVED`, `DECLINED`, `REVIEW` or `UNKNOWN`: the
                              KYC provider's result for the session, passed
                              through as is, not Capa's KYC decision. For
                              onboarding decisions, use the KYC webhooks.
                            enum:
                              - APPROVED
                              - DECLINED
                              - REVIEW
                              - UNKNOWN
                            example: APPROVED
                      amlInfo:
                        type: object
                        description: >-
                          Anti-money-laundering screening. Always present; its
                          fields are omitted when the provider has no data.
                        properties:
                          result:
                            type: string
                          sectionId:
                            type: string
                            description: Provider section identifier.
                          status:
                            type: string
                            description: >-
                              Section status. Passed through from Capa's KYC
                              provider as a string, without a fixed list of
                              values; use it for display and audit, not for
                              business logic.
                          statusReasons:
                            type: array
                            items:
                              type: object
                              properties:
                                code:
                                  type: string
                                  description: >-
                                    Reason code. Passed through from Capa's KYC
                                    provider as a string, without a fixed list
                                    of values; use it for display and audit, not
                                    for business logic.
                                message:
                                  type: string
                          warnings:
                            type: array
                            items:
                              type: object
                              properties:
                                code:
                                  type: string
                                  description: >-
                                    Warning code. Passed through from Capa's KYC
                                    provider as a string, without a fixed list
                                    of values; use it for display and audit, not
                                    for business logic.
                                message:
                                  type: string
                                warningId:
                                  type: string
                                resolutionStatus:
                                  type: string
                                  description: >-
                                    Resolution status. Passed through from
                                    Capa's KYC provider as a string, without a
                                    fixed list of values; use it for display and
                                    audit, not for business logic.
                          entityHits:
                            type: array
                            items:
                              type: object
                              properties:
                                entityType:
                                  type: string
                                  description: >-
                                    Entity type. Passed through from Capa's KYC
                                    provider as a string, without a fixed list
                                    of values; use it for display and audit, not
                                    for business logic.
                                name:
                                  type: string
                                nameMatchScore:
                                  type: number
                                alsoKnownAs:
                                  type: array
                                  items:
                                    type: string
                                amlHits:
                                  type: array
                                  items:
                                    type: object
                                    additionalProperties: true
                                  description: Raw hit details from the provider.
                                dateOfBirth:
                                  type: string
                                  description: >-
                                    Date of birth as reported by the provider;
                                    no guaranteed format.
                                dateOfBirthMatchScore:
                                  type: number
                                id:
                                  type: string
                                resolutionStatus:
                                  type: string
                                  description: >-
                                    Resolution status. Passed through from
                                    Capa's KYC provider as a string, without a
                                    fixed list of values; use it for display and
                                    audit, not for business logic.
                          numHits:
                            type: number
                          amlHitSummary:
                            type: object
                            description: >-
                              String-to-string map passed through from the KYC
                              provider. Keys are not fixed; treat it as
                              informational.
                            additionalProperties:
                              type: string
                          searchCriteria:
                            type: object
                            properties:
                              searchTerm:
                                type: string
                              fuzzinessScore:
                                type: number
                              exactMatch:
                                type: boolean
                              birthYear:
                                type: number
                                nullable: true
                      clientReferenceData:
                        type: object
                        description: Reference data attached to the session.
                        additionalProperties: true
                        properties:
                          personalInfo:
                            type: object
                            properties:
                              profession:
                                type: string
                              phoneNumber:
                                type: string
                              birthCountry:
                                type: string
                              taxId:
                                type: string
                      faceLivenessInfo:
                        type: object
                        description: >-
                          Liveness check. Always present; its fields are omitted
                          when the provider has no data.
                        properties:
                          result:
                            type: string
                          sectionId:
                            type: string
                            description: Provider section identifier.
                          status:
                            type: string
                            description: >-
                              Section status. Passed through from Capa's KYC
                              provider as a string, without a fixed list of
                              values; use it for display and audit, not for
                              business logic.
                          statusReasons:
                            type: array
                            items:
                              type: object
                              properties:
                                code:
                                  type: string
                                  description: >-
                                    Reason code. Passed through from Capa's KYC
                                    provider as a string, without a fixed list
                                    of values; use it for display and audit, not
                                    for business logic.
                                message:
                                  type: string
                          warnings:
                            type: array
                            items:
                              type: object
                              properties:
                                code:
                                  type: string
                                  description: >-
                                    Warning code. Passed through from Capa's KYC
                                    provider as a string, without a fixed list
                                    of values; use it for display and audit, not
                                    for business logic.
                                message:
                                  type: string
                                warningId:
                                  type: string
                                resolutionStatus:
                                  type: string
                                  description: >-
                                    Resolution status. Passed through from
                                    Capa's KYC provider as a string, without a
                                    fixed list of values; use it for display and
                                    audit, not for business logic.
                          checkSummary:
                            type: object
                            description: >-
                              String-to-string map passed through from the KYC
                              provider. Keys are not fixed; treat it as
                              informational.
                            additionalProperties:
                              type: string
                          source:
                            type: string
                      faceMatchInfo:
                        type: object
                        description: >-
                          Selfie-to-document match. Always present; its fields
                          are omitted when the provider has no data.
                        properties:
                          result:
                            type: string
                          sectionId:
                            type: string
                            description: Provider section identifier.
                          status:
                            type: string
                            description: >-
                              Section status. Passed through from Capa's KYC
                              provider as a string, without a fixed list of
                              values; use it for display and audit, not for
                              business logic.
                          statusReasons:
                            type: array
                            items:
                              type: object
                              properties:
                                code:
                                  type: string
                                  description: >-
                                    Reason code. Passed through from Capa's KYC
                                    provider as a string, without a fixed list
                                    of values; use it for display and audit, not
                                    for business logic.
                                message:
                                  type: string
                          warnings:
                            type: array
                            items:
                              type: object
                              properties:
                                code:
                                  type: string
                                  description: >-
                                    Warning code. Passed through from Capa's KYC
                                    provider as a string, without a fixed list
                                    of values; use it for display and audit, not
                                    for business logic.
                                message:
                                  type: string
                                warningId:
                                  type: string
                                resolutionStatus:
                                  type: string
                                  description: >-
                                    Resolution status. Passed through from
                                    Capa's KYC provider as a string, without a
                                    fixed list of values; use it for display and
                                    audit, not for business logic.
                          faceMatchScore:
                            type: number
                            nullable: true
                          checkSummary:
                            type: object
                            description: >-
                              String-to-string map passed through from the KYC
                              provider. Keys are not fixed; treat it as
                              informational.
                            additionalProperties:
                              type: string
                      idInfo:
                        type: object
                        description: >-
                          Identity document check. Always present; its fields
                          are omitted when the provider has no data.
                        properties:
                          result:
                            type: string
                          sectionId:
                            type: string
                            description: Provider section identifier.
                          status:
                            type: string
                            description: >-
                              Section status. Passed through from Capa's KYC
                              provider as a string, without a fixed list of
                              values; use it for display and audit, not for
                              business logic.
                          statusReasons:
                            type: array
                            items:
                              type: object
                              properties:
                                code:
                                  type: string
                                  description: >-
                                    Reason code. Passed through from Capa's KYC
                                    provider as a string, without a fixed list
                                    of values; use it for display and audit, not
                                    for business logic.
                                message:
                                  type: string
                          warnings:
                            type: array
                            items:
                              type: object
                              properties:
                                code:
                                  type: string
                                  description: >-
                                    Warning code. Passed through from Capa's KYC
                                    provider as a string, without a fixed list
                                    of values; use it for display and audit, not
                                    for business logic.
                                message:
                                  type: string
                                warningId:
                                  type: string
                                resolutionStatus:
                                  type: string
                                  description: >-
                                    Resolution status. Passed through from
                                    Capa's KYC provider as a string, without a
                                    fixed list of values; use it for display and
                                    audit, not for business logic.
                          address:
                            type: object
                            properties:
                              fullAddress:
                                type: string
                              parsedAddress:
                                type: object
                                properties:
                                  addressStreet1:
                                    type: string
                                  addressStreet2:
                                    type: string
                                  addressCity:
                                    type: string
                                  addressState:
                                    type: string
                                  addressZipCode:
                                    type: string
                                  addressCountry:
                                    type: string
                                  addressType:
                                    type: string
                              source:
                                type: array
                                items:
                                  type: string
                          birthDate:
                            type: string
                            description: >-
                              Date of birth read from the document. Passed
                              through from the provider; no guaranteed format,
                              so parse defensively.
                          checkSummary:
                            type: object
                            description: >-
                              String-to-string map passed through from the KYC
                              provider. Keys are not fixed; treat it as
                              informational.
                            additionalProperties:
                              type: string
                          documentDetails:
                            type: object
                            description: Data read from the document.
                            properties:
                              ocrData:
                                type: object
                                description: >-
                                  OCR fields read from the document. Always
                                  present inside `documentDetails`, possibly
                                  empty; every field is an optional string.
                                properties:
                                  cic:
                                    type: string
                                  citizenId:
                                    type: string
                                  clientId:
                                    type: string
                                  country:
                                    type: string
                                  dateOfBirth:
                                    type: string
                                  docId:
                                    type: string
                                  documentNumber:
                                    type: string
                                  documentType:
                                    type: string
                                  documentVersion:
                                    type: string
                                  electorKey:
                                    type: string
                                  expirationDate:
                                    type: string
                                  issueDate:
                                    type: string
                                  issueNumber:
                                    type: string
                                  machineReadable:
                                    type: string
                                  municipalityName:
                                    type: string
                                  neighborhood:
                                    type: string
                                  ocr:
                                    type: string
                                  postalCode:
                                    type: string
                                  qrIne:
                                    type: string
                                  registrationDate:
                                    type: string
                                  residenceAddress:
                                    type: string
                                  stateName:
                                    type: string
                          firstName:
                            type: string
                          middleName:
                            type: string
                          lastName:
                            type: string
                          secondLastName:
                            type: string
                          fullName:
                            type: string
                          idExpiryDate:
                            type: string
                            description: >-
                              Document expiry date. Passed through from the
                              provider; no guaranteed format, so parse
                              defensively.
                          idIssueDate:
                            type: string
                            description: >-
                              Document issue date. Passed through from the
                              provider; no guaranteed format, so parse
                              defensively.
                          idType:
                            type: string
                            description: >-
                              Document type, for example `NATIONAL_ID`,
                              `PASSPORT`, `ID_CARD`, `RESIDENT_CARD`, `VOTER_ID`
                              or `TAX_ID` (not exhaustive). Passed through from
                              Capa's KYC provider as a string, without a fixed
                              list of values; use it for display and audit, not
                              for business logic.
                          idNumber:
                            type: string
                          gender:
                            type: string
                          nationality:
                            type: string
                          nationalityCode:
                            type: string
                          issueCountry:
                            type: string
                          issueCountryCode:
                            type: string
                          personalNumber:
                            type: string
                      media:
                        type: object
                        description: >-
                          Links to the images captured during the session. Each
                          link is omitted when not available.
                        properties:
                          frontIdImageUrl:
                            type: string
                          backIdImageUrl:
                            type: string
                          selfieImageUrl:
                            type: string
                          selfieVideoUrl:
                            type: string
                      clientReferenceId:
                        type: string
                        description: The Capa user ID the session belongs to.
                      createdAt:
                        type: string
                        description: >-
                          When the verification session was created. UTC, ISO
                          8601 with milliseconds (for example
                          `2026-11-05T14:03:12.345Z`). Omitted when the KYC
                          provider doesn't return a creation date.
                        format: date-time
                      verificationSessionId:
                        type: string
                        description: Verification session ID at the KYC provider.
                    required:
                      - aipriseSummary
                      - amlInfo
                      - faceLivenessInfo
                      - faceMatchInfo
                      - idInfo
                      - media
                      - verificationSessionId
                    x-readme-ref-name: GetUserVerificationResultHttpResponse
                required:
                  - status
                  - data
              example:
                status: ok
                data:
                  aipriseSummary:
                    verificationResult: APPROVED
                  amlInfo:
                    numHits: 0
                    entityHits: []
                    amlHitSummary: {}
                  faceLivenessInfo: {}
                  faceMatchInfo: {}
                  idInfo:
                    idType: NATIONAL_ID
                    firstName: SATOSHI
                    lastName: NAKAMOTO
                    address: {}
                    documentDetails:
                      ocrData: {}
                  media:
                    frontIdImageUrl: https://example.com/front.jpg
                    selfieImageUrl: https://example.com/selfie.jpg
                  clientReferenceId: 2a119021-ed39-4ab4-8690-db610c53f0fb
                  createdAt: '2026-11-05T14:03:12.345Z'
                  verificationSessionId: 31687d9a-f2a8-4176-aa64-6d617632071d
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                code: INVALID_USER_INPUT_ERROR
                message: Invalid User Input
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                UNAUTHORIZED:
                  value:
                    success: false
                    code: UNAUTHORIZED
                    message: API Key is missing
                UNAUTHORIZED_2:
                  value:
                    success: false
                    code: UNAUTHORIZED
                    message: Invalid API Key format
                UNAUTHORIZED_3:
                  value:
                    success: false
                    code: UNAUTHORIZED
                    message: Invalid API Key
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                NOT_FOUND_ERROR:
                  value:
                    success: false
                    code: NOT_FOUND_ERROR
                    message: Requested resource was not found
                NOT_FOUND_ERROR_2:
                  value:
                    success: false
                    code: NOT_FOUND_ERROR
                    message: Requested KYC was not found
        '429':
          description: Too Many Requests
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                code: TOO_MANY_REQUESTS
                message: 'ThrottlerException: Too Many Requests'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                code: INTERNAL_SERVER_ERROR
                message: Internal server error
        '502':
          description: Bad Gateway
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                success: false
                code: EXTERNAL_PROVIDER_ERROR
                message: An error occurred, please try again later
      security:
        - PartnerApiKey: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        code:
          type: string
          description: Machine-readable error code.
        message:
          type: string
          description: Human-readable error message.
        errors:
          type: array
          description: Optional per-field validation details.
          items:
            type: object
            properties:
              field:
                type: string
              message:
                type: string
      required:
        - success
        - code
        - message
  securitySchemes:
    PartnerApiKey:
      type: apiKey
      in: header
      name: partner-api-key
      description: API key for the affiliated partner performing the request.

````

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