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

# Fetch a credit report

> Fetch an individual's credit report from a credit bureau using name, mobile number and PAN.

Fetch an individual's credit report using their name, mobile number and PAN. Use it to assess a borrower's credit history during underwriting.

> [!WARNING]
>
> Collect the individual's explicit consent to pull their credit report before you call this endpoint, and keep a record of it.

The response carries `status` and `message`, plus `result` (the report) when `status` is `success`. When the bureau has no report for the person, `status` is `success`, `message` is "No credit report found for the provided details.", `result` is empty and the call is charged. This endpoint returns no `tranx_id` or `timestamp`; send your own `user_id` to tie each call to your records.

> [!WARNING]
>
> This endpoint has no idempotency support. A retried request runs the verification again and can be charged again. Retry only after you have confirmed the first call did not return a response.

## Environments

| Environment | Base URL | Notes |
| - | - | - |
| Production | `https://prod.idto.ai` | Keys from the dashboard after go-live. Billed. |
| Staging | `https://dev.idto.ai` | Keys on request from your idto account manager. Calls reach live sources, so use identities you are authorised to verify. Staging credits are deducted from your staging account. |

## Billing

Charged only when the response `status` is `success`. A charged call carries `"chargeble": "true"` and `"user_consent": "true"`; an uncharged call has neither field.

## Outcomes

| `status` | `message` | HTTP | Billed |
| - | - | - | - |
| `success` | Credit report fetched successfully | 200 | Yes |
| `success` | No credit report found for the provided details. | 200 | Yes |
| `failed` | Unable to fetch credit report. Please check the details and try again. | 200 | No |
| `failed` | Unable to fetch credit report. Please try again. | 200 | No |

A `failed` result can also carry a message asking you to retry later when the bureau is unreachable. It is not charged.

## Response fields

| Field | Type | Description |
| - | - | - |
| `status` | string | `success` or `failed`. |
| `message` | string | Outcome message, see Outcomes. |
| `result.credit_report` | object | The full bureau report. |
| `result.credit_score` | string | The credit score, as a string. |
| `result.mobile` | string | Mobile number sent in the request. |
| `result.name` | string | Name sent in the request. |
| `result.pan` | string | PAN sent in the request. |
| `chargeble` | string | `"true"` on a charged call, absent otherwise. |
| `user_consent` | string | `"true"` on a charged call, absent otherwise. |

### Report sections

`result.credit_report` is the full bureau report. Every leaf value is a string, including amounts, counts and dates. Objects such as `CAIS_Account_DETAILS` are keyed by position (`"0"`, `"1"`), not arrays. The response schema on this page lists every field.

| Section | Type | Contains | Leaf fields |
| - | - | - | - |
| `credit_report.CAIS_Account` | object | Credit accounts (`CAIS_Account_DETAILS`, with payment history) and an account and outstanding balance summary (`CAIS_Summary`). | 106 |
| `credit_report.CAPS` | object | Credit enquiries about the person (`CAPS_Application_Details`) and enquiry counts for the last 7, 30, 90 and 180 days. | 64 |
| `credit_report.CreditProfileHeader` | object | Report date, time, number and version. | 4 |
| `credit_report.Current_Application` | object | Applicant details as received for this request. | 48 |
| `credit_report.Header` | object | Report date, time and response text. | 4 |
| `credit_report.Match_result` | object | `Exact_match` flag for the person searched. | 1 |
| `credit_report.NonCreditCAPS` | object | Non-credit enquiry counts for the same windows. | 4 |
| `credit_report.SCORE` | object | `BureauScore` and `BureauScoreConfidLevel`. | 2 |
| `credit_report.TotalCAPS_Summary` | object | Total enquiry counts for the same windows. | 4 |

## Errors

| Code | HTTP | When | Billed |
| - | - | - | - |
| `null` | 400 | *Wrapped.* Credits are insufficient, a required field is blank, or the product is not enabled for your account. | No |
| No code | 502 | The credit bureau could not be reached or sent an unreadable reply. Retry after a few seconds; if it persists, write to [tech@idto.ai](mailto:tech@idto.ai) with the request time. | No |
| No code | 504 | The credit bureau did not respond in time. Retry after a few seconds; if it persists, write to [tech@idto.ai](mailto:tech@idto.ai) with the request time. | No |
| No code | 401 | Missing or invalid `X-Client-ID` or `X-API-Key`. | No |
| No code | 403 | The client is inactive or not allowed to call this endpoint. | No |
| No code | 422 | Body failed schema validation. Body: `{"detail": [{"loc": [...], "msg": "..."}]}`. | No |
| No code | 500 | Our side failed. Retry once after a few seconds (this endpoint has no Idempotency-Key); if it persists, write to [tech@idto.ai](mailto:tech@idto.ai) with the request time. | No |

`Code` is the `error_code` in the body. Errors marked *wrapped* return `{"detail": {"status": "error", "message": "...", "error_code": null, "data": null, "tranx_id": "...", "timestamp": "..."}}`.

## Test scenarios

Use these input classes in staging to exercise each outcome.

| Input | Expected result | Billed |
| - | - | - |
| Name, mobile and PAN of a person with a credit history | 200, `status: "success"`, `result` filled | Yes |
| Valid details of a person with no credit history | 200, `status: "success"`, empty `result` | Yes |
| Details the bureau rejects | 200, `status: "failed"` | No |
| `name`, `mobile` or `pan` missing from the body | 422 | No |

Questions about credit reports are answered in the [Credit and Legal FAQ](https://idto.mintlify.site/products/credit-legal/faq.md).

***

Was this page helpful? Email us at [tech@idto.ai](mailto:tech@idto.ai?subject=Docs%20feedback%3A%20Fetch%20a%20credit%20report) with the page link.


## OpenAPI

````yaml openapi2.0.json POST /verify/credit_report
openapi: 3.1.0
info:
  title: idto Verification API
  version: 2.0.0
  description: >-
    idto is an identity and KYC verification platform. This API lets you run
    PAN, Aadhaar, bank account,

    business/GST, vehicle, mobile, employment, credit-bureau, DigiLocker,
    driving-licence, face-match,

    liveness, document-OCR, address and eSign verifications through a single set
    of HTTP endpoints,

    either individually or composed into a workflow on the idto dashboard.


    ## Response envelope (v2)


    Every product under `/v2/verify/*` shares one response contract. A call is
    charged when it finishes with a 2xx

    response whose `status` is `"success"`, unless a verification session
    already pays for that step. A charged

    2xx carries `billed: true`, whether the result is a full match (`error_code:
    null`, `data` populated) or a

    definitive no-record outcome (`error_code` set to an `IDTO_2xx` code, `data:
    null`). Callers distinguish a full

    match from a no-record result by checking `error_code`, never by inspecting
    `status`: there is no `"failed"`

    status anywhere in the v2 API.


    Exceptions to the charge rule: a step that a verification session already
    pays for returns its 2xx with

    `billed: false`; an idempotent replay returns the stored response and is not
    charged again; a v1 `202`

    `IDTO_203` handoff is not charged, and the result is charged once when the
    job completes.


    A raised error (any non-2xx response) from `/v2/verify/*` carries `status:
    "error"`, `message`, `error_code`,

    `data: null`, `billed: false` and the legacy string flags `chargeble:
    "false"` and `user_consent: "false"`.

    `tranx_id` and `timestamp` are set when the failed call was recorded. Raised
    errors are

    never billed; `IDTO_204` (no readable Aadhaar QR found) is an ordinary
    raised 422. Authentication failures (401, 403) use

    the framework shape `{"detail": "..."}` on every endpoint.


    ## v1 vs v2


    `/v2/verify/*` is the current, vendor-agnostic contract described above,
    used for every product that

    has been migrated onto it. `/verify/*` (no `/v2` prefix) remains live for
    products that have not been

    ported yet. Because v1 predates the shared envelope, each v1 product's
    response shape is its own:

    consult that product's schema and examples rather than assuming the v2
    envelope applies. Raised errors on

    v1 use three shapes: `{"detail": {...}}` for a failed verification,
    `{"detail": "..."}` for authentication and

    `{"detail": [...]}` for request validation. Each operation names the shape
    it uses.


    ## Asynchronous handoff (v1 employment products)


    Some v1 employment and UAN endpoints can answer `202` with `IDTO_203` and a
    `reference_id` instead of the

    result. Fetch the result with `GET /verify/result/{reference_id}`. Today
    staging returns this 202 and

    production does not, so handle both a 200 result and a 202 handoff.


    ## Idempotency


    Send an `Idempotency-Key` header (max 255 characters) on any v2 request to
    make retries safe. If the

    same key is replayed with an identical request body, the original result is
    returned without re-running

    the verification or billing again. If the same key is replayed with a
    **different** body, the request

    is rejected with `IDTO_010` (422). A request with the same key that is still
    in flight returns `IDTO_004` (409). The header is optional; omitting it runs
    every request as new.


    ## Authentication


    Every request to `/verify/*` and `/v2/verify/*` must include two headers:
    `X-Client-ID` and

    `X-API-Key`. Both are issued per environment (staging and production
    credentials are separate and

    not interchangeable).


    ## Error Codes


    | Code | HTTP | Message |

    |---|---|---|

    | IDTO_001 | 400 or 422 | Invalid input. Please check the request and try
    again. |

    | IDTO_004 | 409 | Duplicate request. Verification ID already exists. |

    | IDTO_005 | 400 | User consent is required to proceed. |

    | IDTO_006 | 429 | Too many requests. Please wait a moment and retry. (the
    verification source is limiting requests; idto has no per-key quota) |

    | IDTO_007 | 500 | Verification could not be completed due to a service
    configuration issue. Please contact support at tech@idto.ai. |

    | IDTO_008 | 503 | The verification service is facing downtime due to issues
    from the source. Please drop a mail to tech@idto.ai, and try again later. |

    | IDTO_009 | 402 | Insufficient credits or balance. Recharge, or ask your
    account owner to add credits. |

    | IDTO_010 | 422 | Idempotency-Key was already used with a different request
    body. |

    | IDTO_101 | 400 | A required parameter is missing from the request. |

    | IDTO_102 | 400 | A required parameter is missing from the request. |

    | IDTO_103 | 503 | This verification could not be completed. Please retry
    shortly or contact support at tech@idto.ai. |

    | IDTO_201 | 200 | Bank account is invalid or does not exist. |

    | IDTO_202 | 200 | Record is invalid or does not exist. (per-product
    messages may override this text) |

    | IDTO_203 | 202 | Verification is still in progress. Retrieve the result
    using reference_id. (v1 asynchronous handoff, not billed) |

    | IDTO_204 | 422 | No readable Aadhaar QR was found in the image. (not
    billed, like every raised error) |

    | IDTO_205 | 422 | Invalid OTP or session expired. Please request a new OTP.
    |

    | IDTO_206 | 429 | Maximum OTP attempts exceeded. Please generate a new OTP.
    |

    | IDTO_207 | 404 | No result found for this reference_id. |

    | IDTO_401 | 400 | The account number provided is invalid. |

    | IDTO_402 | 400 | The IFSC code provided is invalid. |

    | IDTO_403 | 503 | This verification could not be completed. Please retry
    shortly or contact support at tech@idto.ai. |

    | IDTO_503 | 413 | The image could not be processed. Please try a clearer,
    smaller image. |

    | IDTO_509 | 500 | Face match could not be completed. Please try again. |

    | IDTO_609 | 500 | Liveness could not be determined. Please try again. |
  contact:
    name: idto Support
    email: tech@idto.ai
servers:
  - url: https://prod.idto.ai
    description: >-
      Production: keys from the idto dashboard after go-live. Every successful
      call is billed.
  - url: https://dev.idto.ai
    description: >-
      Staging: keys on request from your idto account manager. Calls reach live
      sources and deduct staging credits.
security:
  - ClientIdAuth: []
    ApiKeyAuth: []
tags:
  - name: PAN
    description: >-
      PAN validation, detailed lookups, OCR and every PAN-linked crosswalk (UAN,
      GST, CIN, DIN, Udyam).
  - name: Aadhaar
    description: Aadhaar OKYC (OTP-based) and Aadhaar secure-QR read and verification.
  - name: Bank Account
    description: >-
      Bank account penny-drop verification, IFSC lookups, and bank-statement PDF
      processing.
  - name: Business & GST
    description: GSTIN, CIN/MCA, Udyam, FSSAI and shop & establishment registration checks.
  - name: Vehicle & RC
    description: Vehicle registration certificate, challan and FASTag lookups.
  - name: Mobile & UPI
    description: >-
      Mobile-number OTP, subscriber profile, and UPI VPA verification and
      crosswalks.
  - name: Employment (EPFO/UAN)
    description: >-
      EPFO employment history and UAN-linked lookups, including the async
      passbook flows.
  - name: Credit Bureau
    description: >-
      Credit reports and scores from supported bureaus, including OTP-gated
      pulls.
  - name: DigiLocker
    description: >-
      DigiLocker account linking and document fetches (Aadhaar, PAN, DL,
      marksheets, and more).
  - name: Driving Licence
    description: Driving licence verification and OCR.
  - name: Face & Liveness
    description: Face-match comparison and liveness/anti-spoofing checks.
  - name: Document OCR
    description: OCR extraction for PAN, driving licence and Aadhaar card images.
  - name: Address & Invoice
    description: Address verification via OCR on invoices and utility bills.
  - name: Voter & Passport
    description: Voter ID and passport verification.
  - name: eSign
    description: Electronic signature docket creation and signed-document retrieval.
  - name: Verification Links
    description: Hosted, no-code verification links (added by a later documentation pass).
  - name: Webhooks
    description: >-
      Webhook configuration for asynchronous result delivery.


      ## What gets delivered


      Two kinds of event are delivered by webhook: a verification-link session
      completing (see the

      Verification Links tag), and an eSign docket finishing signing (see the
      eSign tag). Both use the

      same delivery, signing and retry mechanism described below, but the two
      payload shapes are

      different and are not wrapped in any shared envelope.


      ## Signing scheme


      The request body sent to your `webhook_url` is compact, key-sorted JSON,
      produced the same way as

      Python's `json.dumps(payload, separators=(",", ":"), sort_keys=True)`, and
      sent as raw UTF-8 bytes.

      A Unix timestamp (whole seconds, encoded as a string) is generated at send
      time.


      The string that gets signed is built by concatenating, as bytes: the
      timestamp string, a literal

      `.`, then the raw request body bytes. In Python terms this is
      `f"{timestamp}.".encode() + raw_body_bytes`,

      a bytes concatenation, not a string concatenation of the decoded body. The
      signature is

      `HMAC-SHA256(secret, signing_string)`, hex-encoded.


      Every delivery carries three headers:


      - `X-idto-Event-Id`: a unique id for this specific delivery, used to
      de-duplicate retried or
        re-sent events on your side.
      - `X-idto-Timestamp`: the same timestamp string used when building the
      signature.

      - `X-idto-Signature`: the signature in the form `sha256=<hex signature>`.


      To verify a delivery, recompute the HMAC over `timestamp + "." +
      raw_body_bytes` using your stored

      secret, and compare the result to `X-idto-Signature` with a constant-time
      comparison, never a plain

      `==` on the strings. During a secret rotation, deliveries in flight may be
      signed with either the

      previous secret or the new one for a short grace window, so verify against
      both secrets if you have

      just rotated.


      ## Event payloads


      There is no shared `event` wrapper key across both event types, so
      distinguish them by shape: the

      eSign event carries an explicit `event` field, the session-completion
      event does not.


      Session completion (implicit, no `event` field):


      ```json

      {
        "session_id": "8f14e45f-ceea-467e-bd93-4a2c11e0a1b2",
        "session_token": "sess_3c9a1e2b7d4f5061",
        "status": "completed",
        "outcome": "approved",
        "partial": false,
        "completed_steps": ["mobile_verification", "pan_validation", "face_match"],
        "skipped_steps": [],
        "fallback_steps": [],
        "branch_excluded_steps": [],
        "consents": [
          {"type": "data_processing", "version": "1.0", "timestamp": "2026-09-14T10:15:30Z"}
        ],
        "event_id": "evt_5b6c7d8e9f0a1b2c",
        "report": {
          "url": "https://reports.idto.ai/r/8f14e45f-ceea-467e-bd93-4a2c11e0a1b2?sig=...",
          "expires_at": "2026-09-14T11:15:30Z",
          "content_type": "application/pdf",
          "filename": "report.pdf"
        }
      }

      ```


      The `report` key is only present when a PDF report is attached to the
      session and the merchant has

      report attachment enabled. Its `url` is a fresh, short-lived presigned
      link generated for that one

      delivery, never a permanent link.


      eSign completion:


      ```json

      {
        "event": "esign.completed",
        "event_id": "evt_esign_2a3b4c5d6e7f8091",
        "tranx_id": "b6e1f2a0-1234-4abc-9def-0123456789ab",
        "docket_id": "b6e1f2a0-1234-4abc-9def-0123456789ab",
        "document_id": "doc_1a2b3c4d5e6f7081",
        "signing_status": "signed",
        "signed_at": "2026-09-14T10:15:30Z"
      }

      ```


      No document bytes are included in this event. Retrieve the signed PDF
      separately through the eSign

      document-download endpoint documented elsewhere in this spec.


      ## Delivery and retries


      A delivery is attempted up to 5 times with exponential backoff between
      attempts, starting at

      roughly 10 seconds and doubling on each retry, capped at 1 hour between
      tries. If every attempt is

      exhausted, the delivery is marked permanently failed and is not retried
      again. Events created before a signing secret exists are still attempted:
      they run through this same 5-attempt retry cycle and are permanently
      dead-lettered within a few minutes, the same as any other delivery
      failure. There is no separate holding queue that waits for you to
      configure a secret. Generate one with `POST
      /merchant/webhook-config/rotate-secret` before, or immediately after,
      setting a webhook URL, or the earliest events from that window are lost
      for good.
  - name: Authentication
    description: SDK and API authentication (added by a later documentation pass).
  - name: Court Records
    description: Court and litigation record checks.
  - name: Name Match
    description: Compare two person or business names and get a match score.
paths:
  /verify/credit_report:
    post:
      tags:
        - Credit Bureau
      summary: Fetch a credit report
      description: >-
        Fetches an individual's credit report from a credit bureau using name,
        mobile number and PAN. Obtain the individual's consent before you call
        this endpoint. When the bureau has no report for the person, `status` is
        `success`, `result` is empty and the call is charged. Charged only when
        the response `status` is `success`. This endpoint has no idempotency
        support: a retried request runs again and can be charged again.


        Raised errors use the v1 shapes, always under `detail`: an object
        `{"detail": {...}}` for a failed verification, a string `{"detail":
        "..."}` for authentication and some input checks, and a list `{"detail":
        [...]}` for request validation.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - name
                - mobile
                - pan
              properties:
                name:
                  type: string
                  description: Full name as on PAN.
                mobile:
                  type: string
                  description: 10-digit mobile number of the individual.
                pan:
                  type: string
                  description: PAN of the individual.
                user_id:
                  type: string
                  maxLength: 255
                  description: >-
                    Your own reference for the end user. Stored against this
                    call.
            example:
              name: RAHUL SHARMA
              mobile: '9999999999'
              pan: ABCDE1234F
              user_id: customer-001
      responses:
        '200':
          description: >-
            The request reached the bureau. Charged when `status` is `success`,
            which includes the no-report case. When `status` is `failed`, the
            call is not charged. This endpoint returns no `tranx_id` or
            `timestamp`.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  status:
                    type: string
                    enum:
                      - success
                      - failed
                  message:
                    type: string
                  result:
                    type: object
                    properties:
                      credit_report:
                        type: object
                        properties:
                          CAIS_Account:
                            type: object
                            properties:
                              CAIS_Account_DETAILS:
                                type: object
                                additionalProperties:
                                  type: object
                                  properties:
                                    AccountHoldertypeCode:
                                      type: string
                                    Account_Number:
                                      type: string
                                    Account_Status:
                                      type: string
                                    Account_Type:
                                      type: string
                                    Amount_Past_Due:
                                      type: string
                                    CAIS_Account_History:
                                      type: object
                                      additionalProperties:
                                        type: object
                                        properties:
                                          Asset_Classification:
                                            type: string
                                          Days_Past_Due:
                                            type: string
                                          Month:
                                            type: string
                                          Year:
                                            type: string
                                      description: >-
                                        Object keyed by position: "0", "1" and
                                        so on.
                                    CAIS_Holder_Address_Details:
                                      type: object
                                      additionalProperties:
                                        type: object
                                        properties:
                                          Address_indicator_non_normalized:
                                            type: string
                                          City_non_normalized:
                                            type: string
                                          CountryCode_non_normalized:
                                            type: string
                                          Fifth_Line_Of_Address_non_normalized:
                                            type: string
                                          First_Line_Of_Address_non_normalized:
                                            type: string
                                          Residence_code_non_normalized:
                                            type: string
                                          Second_Line_Of_Address_non_normalized:
                                            type: string
                                          State_non_normalized:
                                            type: string
                                          Third_Line_Of_Address_non_normalized:
                                            type: string
                                          ZIP_Postal_Code_non_normalized:
                                            type: string
                                      description: >-
                                        Object keyed by position: "0", "1" and
                                        so on.
                                    CAIS_Holder_Details:
                                      type: object
                                      additionalProperties:
                                        type: object
                                        properties:
                                          Alias:
                                            type: string
                                          Date_of_birth:
                                            type: string
                                          First_Name_Non_Normalized:
                                            type: string
                                          Gender_Code:
                                            type: string
                                          Income_TAX_PAN:
                                            type: string
                                          Middle_Name_1_Non_Normalized:
                                            type: string
                                          Middle_Name_2_Non_Normalized:
                                            type: string
                                          Middle_Name_3_Non_Normalized:
                                            type: string
                                          Passport_Number:
                                            type: string
                                          Surname_Non_Normalized:
                                            type: string
                                          Voter_ID_Number:
                                            type: string
                                      description: >-
                                        Object keyed by position: "0", "1" and
                                        so on.
                                    CAIS_Holder_ID_Details:
                                      type: object
                                      additionalProperties:
                                        type: object
                                        properties:
                                          Driver_License_Expiration_Date:
                                            type: string
                                          Driver_License_Issue_Date:
                                            type: string
                                          Driver_License_Number:
                                            type: string
                                          EMailId:
                                            type: string
                                          Income_TAX_PAN:
                                            type: string
                                          PAN_Expiration_Date:
                                            type: string
                                          PAN_Issue_Date:
                                            type: string
                                          Passport_Expiration_Date:
                                            type: string
                                          Passport_Issue_Date:
                                            type: string
                                          Passport_Number:
                                            type: string
                                          Ration_Card_Expiration_Date:
                                            type: string
                                          Ration_Card_Issue_Date:
                                            type: string
                                          Ration_Card_Number:
                                            type: string
                                          Universal_ID_Expiration_Date:
                                            type: string
                                          Universal_ID_Issue_Date:
                                            type: string
                                          Universal_ID_Number:
                                            type: string
                                          Voter_ID_Expiration_Date:
                                            type: string
                                          Voter_ID_Issue_Date:
                                            type: string
                                          Voter_ID_Number:
                                            type: string
                                      description: >-
                                        Object keyed by position: "0", "1" and
                                        so on.
                                    CAIS_Holder_Phone_Details:
                                      type: object
                                      additionalProperties:
                                        type: object
                                        properties:
                                          EMailId:
                                            type: string
                                          FaxNumber:
                                            type: string
                                          Mobile_Telephone_Number:
                                            type: string
                                          Telephone_Extension:
                                            type: string
                                          Telephone_Number:
                                            type: string
                                          Telephone_Type:
                                            type: string
                                      description: >-
                                        Object keyed by position: "0", "1" and
                                        so on.
                                    Consumer_comments:
                                      type: string
                                    Credit_Limit_Amount:
                                      type: string
                                    CurrencyCode:
                                      type: string
                                    Current_Balance:
                                      type: string
                                    DateOfAddition:
                                      type: string
                                    Date_Closed:
                                      type: string
                                    Date_Reported:
                                      type: string
                                    Date_of_First_Delinquency:
                                      type: string
                                    Date_of_Last_Payment:
                                      type: string
                                    DefaultStatusDate:
                                      type: string
                                    Highest_Credit_or_Original_Loan_Amount:
                                      type: string
                                    Identification_Number:
                                      type: string
                                    Income:
                                      type: string
                                    Income_Frequency_Indicator:
                                      type: string
                                    Income_Indicator:
                                      type: string
                                    LitigationStatusDate:
                                      type: string
                                    Occupation_Code:
                                      type: string
                                    Open_Date:
                                      type: string
                                    Original_Charge_Off_Amount:
                                      type: string
                                    Payment_History_Profile:
                                      type: string
                                    Payment_Rating:
                                      type: string
                                    Portfolio_Type:
                                      type: string
                                    Promotional_Rate_Flag:
                                      type: string
                                    Rate_of_Interest:
                                      type: string
                                    Repayment_Tenure:
                                      type: string
                                    Scheduled_Monthly_Payment_Amount:
                                      type: string
                                    Settlement_Amount:
                                      type: string
                                    Special_Comment:
                                      type: string
                                    Subscriber_Name:
                                      type: string
                                    Subscriber_comments:
                                      type: string
                                    SuitFiledWillfulDefaultWrittenOffStatus:
                                      type: string
                                    SuitFiled_WilfulDefault:
                                      type: string
                                    Terms_Duration:
                                      type: string
                                    Terms_Frequency:
                                      type: string
                                    Type_of_Collateral:
                                      type: string
                                    Value_of_Collateral:
                                      type: string
                                    Value_of_Credits_Last_Month:
                                      type: string
                                    WriteOffStatusDate:
                                      type: string
                                    Written_Off_Amt_Principal:
                                      type: string
                                    Written_Off_Amt_Total:
                                      type: string
                                    Written_off_Settled_Status:
                                      type: string
                                description: 'Object keyed by position: "0", "1" and so on.'
                              CAIS_Summary:
                                type: object
                                properties:
                                  Credit_Account:
                                    type: object
                                    properties:
                                      CADSuitFiledCurrentBalance:
                                        type: string
                                      CreditAccountActive:
                                        type: string
                                      CreditAccountClosed:
                                        type: string
                                      CreditAccountDefault:
                                        type: string
                                      CreditAccountTotal:
                                        type: string
                                  Total_Outstanding_Balance:
                                    type: object
                                    properties:
                                      Outstanding_Balance_All:
                                        type: string
                                      Outstanding_Balance_Secured:
                                        type: string
                                      Outstanding_Balance_Secured_Percentage:
                                        type: string
                                      Outstanding_Balance_UnSecured:
                                        type: string
                                      Outstanding_Balance_UnSecured_Percentage:
                                        type: string
                          CAPS:
                            type: object
                            properties:
                              CAPS_Application_Details:
                                type: object
                                additionalProperties:
                                  type: object
                                  properties:
                                    Amount_Financed:
                                      type: string
                                    CAPS_Applicant_Additional_Address_Details:
                                      type:
                                        - object
                                        - string
                                      properties:
                                        BldgNoSocietyName:
                                          type: string
                                        City:
                                          type: string
                                        Country_Code:
                                          type: string
                                        FlatNoPlotNoHouseNo:
                                          type: string
                                        Landmark:
                                          type: string
                                        PINCode:
                                          type: string
                                        RoadNoNameAreaLocality:
                                          type: string
                                        State:
                                          type: string
                                    CAPS_Applicant_Address_Details:
                                      type: object
                                      properties:
                                        BldgNoSocietyName:
                                          type: string
                                        City:
                                          type: string
                                        Country_Code:
                                          type: string
                                        FlatNoPlotNoHouseNo:
                                          type: string
                                        Landmark:
                                          type: string
                                        PINCode:
                                          type: string
                                        RoadNoNameAreaLocality:
                                          type: string
                                        State:
                                          type: string
                                    CAPS_Applicant_Details:
                                      type: object
                                      properties:
                                        Date_Of_Birth_Applicant:
                                          type: string
                                        Driver_License_Expiration_Date:
                                          type: string
                                        Driver_License_Issue_Date:
                                          type: string
                                        Driver_License_Number:
                                          type: string
                                        EMailId:
                                          type: string
                                        First_Name:
                                          type: string
                                        Gender_Code:
                                          type: string
                                        IncomeTaxPan:
                                          type: string
                                        Last_Name:
                                          type: string
                                        Middle_Name1:
                                          type: string
                                        Middle_Name2:
                                          type: string
                                        Middle_Name3:
                                          type: string
                                        MobilePhoneNumber:
                                          type: string
                                        PAN_Expiration_Date:
                                          type: string
                                        PAN_Issue_Date:
                                          type: string
                                        Passport_Expiration_Date:
                                          type: string
                                        Passport_Issue_Date:
                                          type: string
                                        Passport_number:
                                          type: string
                                        Ration_Card_Expiration_Date:
                                          type: string
                                        Ration_Card_Issue_Date:
                                          type: string
                                        Ration_Card_Number:
                                          type: string
                                        Telephone_Extension:
                                          type: string
                                        Telephone_Number_Applicant_1st:
                                          type: string
                                        Telephone_Type:
                                          type: string
                                        Universal_ID_Expiration_Date:
                                          type: string
                                        Universal_ID_Issue_Date:
                                          type: string
                                        Universal_ID_Number:
                                          type: string
                                        Voter_ID_Expiration_Date:
                                          type: string
                                        Voter_ID_Issue_Date:
                                          type: string
                                        Voter_s_Identity_Card:
                                          type: string
                                    CAPS_Other_Details:
                                      type: object
                                      properties:
                                        Employment_Status:
                                          type: string
                                        Income:
                                          type: string
                                        Marital_Status:
                                          type: string
                                        Number_of_Major_Credit_Card_Held:
                                          type: string
                                        Time_with_Employer:
                                          type: string
                                    Date_of_Request:
                                      type: string
                                    Duration_Of_Agreement:
                                      type: string
                                    Enquiry_Reason:
                                      type: string
                                    Finance_Purpose:
                                      type: string
                                    ReportNumber:
                                      type: string
                                    ReportTime:
                                      type: string
                                    Subscriber_Name:
                                      type: string
                                    Subscriber_code:
                                      type: string
                                description: 'Object keyed by position: "0", "1" and so on.'
                              CAPS_Summary:
                                type: object
                                properties:
                                  CAPSLast180Days:
                                    type: string
                                  CAPSLast30Days:
                                    type: string
                                  CAPSLast7Days:
                                    type: string
                                  CAPSLast90Days:
                                    type: string
                          CreditProfileHeader:
                            type: object
                            properties:
                              ReportDate:
                                type: string
                              ReportNumber:
                                type: string
                              ReportTime:
                                type: string
                              Version:
                                type: string
                          Current_Application:
                            type: object
                            properties:
                              Current_Application_Details:
                                type: object
                                properties:
                                  Amount_Financed:
                                    type: string
                                  Current_Applicant_Additional_AddressDetails:
                                    type: string
                                  Current_Applicant_Address_Details:
                                    type: object
                                    properties:
                                      BldgNoSocietyName:
                                        type: string
                                      City:
                                        type: string
                                      Country_Code:
                                        type: string
                                      FlatNoPlotNoHouseNo:
                                        type: string
                                      Landmark:
                                        type: string
                                      PINCode:
                                        type: string
                                      RoadNoNameAreaLocality:
                                        type: string
                                      State:
                                        type: string
                                  Current_Applicant_Details:
                                    type: object
                                    properties:
                                      Date_Of_Birth_Applicant:
                                        type: string
                                      Driver_License_Expiration_Date:
                                        type: string
                                      Driver_License_Issue_Date:
                                        type: string
                                      Driver_License_Number:
                                        type: string
                                      EMailId:
                                        type: string
                                      First_Name:
                                        type: string
                                      Gender_Code:
                                        type: string
                                      IncomeTaxPan:
                                        type: string
                                      Last_Name:
                                        type: string
                                      Middle_Name1:
                                        type: string
                                      Middle_Name2:
                                        type: string
                                      Middle_Name3:
                                        type: string
                                      MobilePhoneNumber:
                                        type: string
                                      PAN_Expiration_Date:
                                        type: string
                                      PAN_Issue_Date:
                                        type: string
                                      Passport_Expiration_Date:
                                        type: string
                                      Passport_Issue_Date:
                                        type: string
                                      Passport_number:
                                        type: string
                                      Ration_Card_Expiration_Date:
                                        type: string
                                      Ration_Card_Issue_Date:
                                        type: string
                                      Ration_Card_Number:
                                        type: string
                                      Telephone_Extension:
                                        type: string
                                      Telephone_Number_Applicant_1st:
                                        type: string
                                      Telephone_Type:
                                        type: string
                                      Universal_ID_Expiration_Date:
                                        type: string
                                      Universal_ID_Issue_Date:
                                        type: string
                                      Universal_ID_Number:
                                        type: string
                                      Voter_ID_Expiration_Date:
                                        type: string
                                      Voter_ID_Issue_Date:
                                        type: string
                                      Voter_s_Identity_Card:
                                        type: string
                                  Current_Other_Details:
                                    type: object
                                    properties:
                                      Employment_Status:
                                        type: string
                                      Income:
                                        type: string
                                      Marital_Status:
                                        type: string
                                      Number_of_Major_Credit_Card_Held:
                                        type: string
                                      Time_with_Employer:
                                        type: string
                                  Duration_Of_Agreement:
                                    type: string
                                  Enquiry_Reason:
                                    type: string
                                  Finance_Purpose:
                                    type: string
                          Header:
                            type: object
                            properties:
                              MessageText:
                                type: string
                              ReportDate:
                                type: string
                              ReportTime:
                                type: string
                              SystemCode:
                                type: string
                          Match_result:
                            type: object
                            properties:
                              Exact_match:
                                type: string
                          NonCreditCAPS:
                            type: object
                            properties:
                              NonCreditCAPS_Summary:
                                type: object
                                properties:
                                  NonCreditCAPSLast180Days:
                                    type: string
                                  NonCreditCAPSLast30Days:
                                    type: string
                                  NonCreditCAPSLast7Days:
                                    type: string
                                  NonCreditCAPSLast90Days:
                                    type: string
                          SCORE:
                            type: object
                            properties:
                              BureauScore:
                                type: string
                              BureauScoreConfidLevel:
                                type: string
                          TotalCAPS_Summary:
                            type: object
                            properties:
                              TotalCAPSLast180Days:
                                type: string
                              TotalCAPSLast30Days:
                                type: string
                              TotalCAPSLast7Days:
                                type: string
                              TotalCAPSLast90Days:
                                type: string
                        description: >-
                          The full bureau report, in the bureau's own section
                          layout.
                      credit_score:
                        type: string
                        description: The credit score, as a string.
                      mobile:
                        type: string
                        description: Mobile number sent in the request.
                      name:
                        type: string
                        description: Name sent in the request.
                      pan:
                        type: string
                        description: PAN sent in the request.
                    description: >-
                      The credit report. Empty when the bureau has no report for
                      the person. Absent when `status` is `failed`.
                  chargeble:
                    type: string
                    enum:
                      - 'true'
                    description: Present only on a charged call.
                  user_consent:
                    type: string
                    enum:
                      - 'true'
                    description: Present only on a charged call.
                required:
                  - status
                  - message
              examples:
                report:
                  summary: Report found (charged)
                  value:
                    status: success
                    message: Credit report fetched successfully
                    result:
                      credit_report:
                        CAIS_Account:
                          CAIS_Account_DETAILS:
                            '0':
                              AccountHoldertypeCode: ''
                              Account_Number: '********2333'
                              Account_Status: ''
                              Account_Type: ''
                              Amount_Past_Due: '0'
                              CAIS_Account_History:
                                '0':
                                  Asset_Classification: ''
                                  Days_Past_Due: '0'
                                  Month: '09'
                                  Year: '2026'
                              CAIS_Holder_Address_Details:
                                '0':
                                  Address_indicator_non_normalized: ''
                                  City_non_normalized: BENGALURU
                                  CountryCode_non_normalized: IN
                                  Fifth_Line_Of_Address_non_normalized: ''
                                  First_Line_Of_Address_non_normalized: 12 SAMPLE STREET
                                  Residence_code_non_normalized: ''
                                  Second_Line_Of_Address_non_normalized: SAMPLE AREA
                                  State_non_normalized: KARNATAKA
                                  Third_Line_Of_Address_non_normalized: ''
                                  ZIP_Postal_Code_non_normalized: '560001'
                              CAIS_Holder_Details:
                                '0':
                                  Alias: ''
                                  Date_of_birth: '1990-01-01'
                                  First_Name_Non_Normalized: RAHUL
                                  Gender_Code: ''
                                  Income_TAX_PAN: ABCDE1234F
                                  Middle_Name_1_Non_Normalized: ''
                                  Middle_Name_2_Non_Normalized: ''
                                  Middle_Name_3_Non_Normalized: ''
                                  Passport_Number: ''
                                  Surname_Non_Normalized: SHARMA
                                  Voter_ID_Number: ''
                              CAIS_Holder_ID_Details:
                                '0':
                                  Driver_License_Expiration_Date: ''
                                  Driver_License_Issue_Date: ''
                                  Driver_License_Number: ''
                                  EMailId: rahul.sharma@example.com
                                  Income_TAX_PAN: ABCDE1234F
                                  PAN_Expiration_Date: ''
                                  PAN_Issue_Date: ''
                                  Passport_Expiration_Date: ''
                                  Passport_Issue_Date: ''
                                  Passport_Number: ''
                                  Ration_Card_Expiration_Date: ''
                                  Ration_Card_Issue_Date: ''
                                  Ration_Card_Number: ''
                                  Universal_ID_Expiration_Date: ''
                                  Universal_ID_Issue_Date: ''
                                  Universal_ID_Number: ''
                                  Voter_ID_Expiration_Date: ''
                                  Voter_ID_Issue_Date: ''
                                  Voter_ID_Number: ''
                              CAIS_Holder_Phone_Details:
                                '0':
                                  EMailId: rahul.sharma@example.com
                                  FaxNumber: ''
                                  Mobile_Telephone_Number: '9999999999'
                                  Telephone_Extension: ''
                                  Telephone_Number: '9999999999'
                                  Telephone_Type: ''
                              Consumer_comments: ''
                              Credit_Limit_Amount: '0'
                              CurrencyCode: ''
                              Current_Balance: '0'
                              DateOfAddition: '2026-09-14'
                              Date_Closed: '2026-09-14'
                              Date_Reported: '2026-09-14'
                              Date_of_First_Delinquency: '2026-09-14'
                              Date_of_Last_Payment: '2026-09-14'
                              DefaultStatusDate: '2026-09-14'
                              Highest_Credit_or_Original_Loan_Amount: '0'
                              Identification_Number: ''
                              Income: '0'
                              Income_Frequency_Indicator: ''
                              Income_Indicator: ''
                              LitigationStatusDate: '2026-09-14'
                              Occupation_Code: ''
                              Open_Date: '2026-09-14'
                              Original_Charge_Off_Amount: '0'
                              Payment_History_Profile: ''
                              Payment_Rating: ''
                              Portfolio_Type: ''
                              Promotional_Rate_Flag: ''
                              Rate_of_Interest: ''
                              Repayment_Tenure: ''
                              Scheduled_Monthly_Payment_Amount: '0'
                              Settlement_Amount: '0'
                              Special_Comment: ''
                              Subscriber_Name: SAMPLE FINANCE LIMITED
                              Subscriber_comments: ''
                              SuitFiledWillfulDefaultWrittenOffStatus: ''
                              SuitFiled_WilfulDefault: ''
                              Terms_Duration: ''
                              Terms_Frequency: ''
                              Type_of_Collateral: ''
                              Value_of_Collateral: '0'
                              Value_of_Credits_Last_Month: '0'
                              WriteOffStatusDate: '2026-09-14'
                              Written_Off_Amt_Principal: '0'
                              Written_Off_Amt_Total: '0'
                              Written_off_Settled_Status: ''
                          CAIS_Summary:
                            Credit_Account:
                              CADSuitFiledCurrentBalance: '0'
                              CreditAccountActive: '0'
                              CreditAccountClosed: '0'
                              CreditAccountDefault: '0'
                              CreditAccountTotal: '0'
                            Total_Outstanding_Balance:
                              Outstanding_Balance_All: '0'
                              Outstanding_Balance_Secured: '0'
                              Outstanding_Balance_Secured_Percentage: '0'
                              Outstanding_Balance_UnSecured: '0'
                              Outstanding_Balance_UnSecured_Percentage: '0'
                        CAPS:
                          CAPS_Application_Details:
                            '0':
                              Amount_Financed: '0'
                              CAPS_Applicant_Additional_Address_Details:
                                BldgNoSocietyName: SAMPLE STREET
                                City: BENGALURU
                                Country_Code: IN
                                FlatNoPlotNoHouseNo: '12'
                                Landmark: SAMPLE AREA
                                PINCode: '560001'
                                RoadNoNameAreaLocality: SAMPLE AREA
                                State: KARNATAKA
                              CAPS_Applicant_Address_Details:
                                BldgNoSocietyName: SAMPLE STREET
                                City: BENGALURU
                                Country_Code: IN
                                FlatNoPlotNoHouseNo: '12'
                                Landmark: SAMPLE AREA
                                PINCode: '560001'
                                RoadNoNameAreaLocality: SAMPLE AREA
                                State: KARNATAKA
                              CAPS_Applicant_Details:
                                Date_Of_Birth_Applicant: '1990-01-01'
                                Driver_License_Expiration_Date: ''
                                Driver_License_Issue_Date: ''
                                Driver_License_Number: ''
                                EMailId: rahul.sharma@example.com
                                First_Name: RAHUL
                                Gender_Code: ''
                                IncomeTaxPan: ABCDE1234F
                                Last_Name: SHARMA
                                Middle_Name1: ''
                                Middle_Name2: ''
                                Middle_Name3: ''
                                MobilePhoneNumber: '9999999999'
                                PAN_Expiration_Date: ''
                                PAN_Issue_Date: ''
                                Passport_Expiration_Date: ''
                                Passport_Issue_Date: ''
                                Passport_number: ''
                                Ration_Card_Expiration_Date: ''
                                Ration_Card_Issue_Date: ''
                                Ration_Card_Number: ''
                                Telephone_Extension: ''
                                Telephone_Number_Applicant_1st: '9999999999'
                                Telephone_Type: ''
                                Universal_ID_Expiration_Date: ''
                                Universal_ID_Issue_Date: ''
                                Universal_ID_Number: ''
                                Voter_ID_Expiration_Date: ''
                                Voter_ID_Issue_Date: ''
                                Voter_s_Identity_Card: ''
                              CAPS_Other_Details:
                                Employment_Status: ''
                                Income: '0'
                                Marital_Status: ''
                                Number_of_Major_Credit_Card_Held: ''
                                Time_with_Employer: ''
                              Date_of_Request: '2026-09-14'
                              Duration_Of_Agreement: ''
                              Enquiry_Reason: ''
                              Finance_Purpose: ''
                              ReportNumber: SAMPLE-REPORT-0001
                              ReportTime: '101530'
                              Subscriber_Name: SAMPLE FINANCE LIMITED
                              Subscriber_code: ''
                          CAPS_Summary:
                            CAPSLast180Days: '0'
                            CAPSLast30Days: '0'
                            CAPSLast7Days: '0'
                            CAPSLast90Days: '0'
                        CreditProfileHeader:
                          ReportDate: '2026-09-14'
                          ReportNumber: SAMPLE-REPORT-0001
                          ReportTime: '101530'
                          Version: ''
                        Current_Application:
                          Current_Application_Details:
                            Amount_Financed: '0'
                            Current_Applicant_Additional_AddressDetails: >-
                              12 SAMPLE STREET, SAMPLE AREA, BENGALURU,
                              KARNATAKA-560001
                            Current_Applicant_Address_Details:
                              BldgNoSocietyName: SAMPLE STREET
                              City: BENGALURU
                              Country_Code: IN
                              FlatNoPlotNoHouseNo: '12'
                              Landmark: SAMPLE AREA
                              PINCode: '560001'
                              RoadNoNameAreaLocality: SAMPLE AREA
                              State: KARNATAKA
                            Current_Applicant_Details:
                              Date_Of_Birth_Applicant: '1990-01-01'
                              Driver_License_Expiration_Date: ''
                              Driver_License_Issue_Date: ''
                              Driver_License_Number: ''
                              EMailId: rahul.sharma@example.com
                              First_Name: RAHUL
                              Gender_Code: ''
                              IncomeTaxPan: ABCDE1234F
                              Last_Name: SHARMA
                              Middle_Name1: ''
                              Middle_Name2: ''
                              Middle_Name3: ''
                              MobilePhoneNumber: '9999999999'
                              PAN_Expiration_Date: ''
                              PAN_Issue_Date: ''
                              Passport_Expiration_Date: ''
                              Passport_Issue_Date: ''
                              Passport_number: ''
                              Ration_Card_Expiration_Date: ''
                              Ration_Card_Issue_Date: ''
                              Ration_Card_Number: ''
                              Telephone_Extension: ''
                              Telephone_Number_Applicant_1st: '9999999999'
                              Telephone_Type: ''
                              Universal_ID_Expiration_Date: ''
                              Universal_ID_Issue_Date: ''
                              Universal_ID_Number: ''
                              Voter_ID_Expiration_Date: ''
                              Voter_ID_Issue_Date: ''
                              Voter_s_Identity_Card: ''
                            Current_Other_Details:
                              Employment_Status: ''
                              Income: '0'
                              Marital_Status: ''
                              Number_of_Major_Credit_Card_Held: ''
                              Time_with_Employer: ''
                            Duration_Of_Agreement: ''
                            Enquiry_Reason: ''
                            Finance_Purpose: ''
                        Header:
                          MessageText: Normal Response
                          ReportDate: '2026-09-14'
                          ReportTime: '101530'
                          SystemCode: ''
                        Match_result:
                          Exact_match: 'Y'
                        NonCreditCAPS:
                          NonCreditCAPS_Summary:
                            NonCreditCAPSLast180Days: '0'
                            NonCreditCAPSLast30Days: '0'
                            NonCreditCAPSLast7Days: '0'
                            NonCreditCAPSLast90Days: '0'
                        SCORE:
                          BureauScore: '750'
                          BureauScoreConfidLevel: H
                        TotalCAPS_Summary:
                          TotalCAPSLast180Days: '0'
                          TotalCAPSLast30Days: '0'
                          TotalCAPSLast7Days: '0'
                          TotalCAPSLast90Days: '0'
                      credit_score: '750'
                      mobile: '9999999999'
                      name: RAHUL SHARMA
                      pan: ABCDE1234F
                    chargeble: 'true'
                    user_consent: 'true'
                no_report:
                  summary: No report on file (charged)
                  value:
                    status: success
                    message: No credit report found for the provided details.
                    result: {}
                    chargeble: 'true'
                    user_consent: 'true'
                invalid_input:
                  summary: Details rejected (not charged)
                  value:
                    status: failed
                    message: >-
                      Unable to fetch credit report. Please check the details
                      and try again.
                failed:
                  summary: Report could not be fetched (not charged)
                  value:
                    status: failed
                    message: Unable to fetch credit report. Please try again.
        '400':
          description: >-
            Credits are insufficient, a required field is blank, or the product
            is not enabled for your account. Not billed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1WrappedError'
              examples:
                credits:
                  summary: Insufficient credits
                  value:
                    detail:
                      status: error
                      message: Insufficient credits for this operation.
                      error_code: null
                      data: null
                      tranx_id: 8f14e45f-ceea-467e-bd93-4a2c11e0a1b2
                      timestamp: '2026-09-14T10:15:30Z'
        '401':
          description: Missing or invalid `X-Client-ID` or `X-API-Key`. Not billed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              examples:
                missing_keys:
                  summary: Credentials missing or invalid
                  value:
                    detail: >-
                      Authentication required. Provide either a valid JWT token,
                      API key + client ID, or SDK token.
        '403':
          description: >-
            The client is inactive or not allowed to call this endpoint. Not
            billed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              examples:
                inactive:
                  summary: Inactive client
                  value:
                    detail: Client is inactive
        '422':
          description: >-
            The request body failed schema validation, for example a required
            field is missing. Not billed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
              examples:
                missing_field:
                  summary: Required field missing
                  value:
                    detail:
                      - type: missing
                        loc:
                          - body
                          - FIELD
                        msg: Field required
                        input: {}
      security:
        - ClientIdAuth: []
          ApiKeyAuth: []
components:
  schemas:
    V1WrappedError:
      type: object
      description: >-
        Error body returned by v1 `/verify/*` endpoints when the request reached
        the verification step and failed. Not billed.
      properties:
        detail:
          type: object
          properties:
            status:
              type: string
              example: error
            message:
              type: string
            error_code:
              type:
                - string
                - 'null'
            data:
              type: 'null'
            tranx_id:
              type: string
            timestamp:
              type: string
          required:
            - status
            - message
      required:
        - detail
    HTTPValidationError:
      type: object
      description: >-
        Returned by v1 `/verify/*` endpoints when the request body fails schema
        validation (wrong type, or a required field missing). v2 endpoints
        return `IDTO_001` in the v2 error envelope instead.
      properties:
        detail:
          type: array
          items:
            $ref: '#/components/schemas/ValidationError'
    ValidationError:
      type: object
      properties:
        loc:
          type: array
          items:
            anyOf:
              - type: string
              - type: integer
        msg:
          type: string
        type:
          type: string
      required:
        - loc
        - msg
        - type
  securitySchemes:
    ClientIdAuth:
      type: apiKey
      in: header
      name: X-Client-ID
      description: >-
        The Client ID shown on the API Credentials page of the idto dashboard.
        It is not your account or customer ID, which returns 401. Send it on
        every server-to-server request together with X-API-Key. Staging and
        production client IDs are different.
      x-default: <client-id>
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        Your API key from the idto dashboard (API credentials). Keep it on your
        server; never ship it in a browser or mobile app. Send it on every
        server-to-server request together with X-Client-ID.
      x-default: <api-key>

````

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