# Submit OTP for prefill verification

Submits the 6-digit OTP code sent to the user's phone during prefill verification. On successful verification, returns prefill data and marks the session as accepted.
**Requirements:** The user must have completed the prefill step with a `REVIEW` status, meaning OTP verification is required.
**Expiration:** The OTP code expires after **10 minutes**.

Endpoint: POST /users/identity-submit-otp
Version: v3
Security: userToken

## Security:

  - `userToken` (unknown)
    http bearer JWT

## Request fields (application/json):

  - `otpCode` (string, required)
    6-digit one-time password code
    Example: 123456

## Request examples:

  - `OTP Submit` (unknown)
    OTP Submit

## Response 200:

  - `200` (unknown)
    OTP verification result

## Response 200 fields (application/json):

  - `requestId` (string)
    Correlation ID echoed from the request

  - `decision` (string)
    Decision after OTP submission — `ACCEPT` if the code was correct, `REJECT` otherwise
    Enum: "ACCEPT", "REJECT"

  - `verified` (boolean)
    `true` if the user passed OTP verification, `false` otherwise

  - `message` (string)
    Human-readable message describing the outcome

  - `prefillData` (object)
    Identity data prefilled from the user's phone number — present on ACCEPT

  - `prefillData.fname` (string)
    Prefilled first name

  - `prefillData.lname` (string)
    Prefilled last name

  - `prefillData.dob` (string)
    Prefilled date of birth (YYYY-MM-DD)

  - `prefillData.ssn` (string)
    Prefilled Social Security Number (9 digits, no dashes)

  - `prefillData.street1` (string)
    Prefilled street address

  - `prefillData.city` (string)
    Prefilled city

  - `prefillData.state` (string)
    Prefilled 2-letter state code

  - `prefillData.zip` (string)
    Prefilled 5-digit ZIP code

  - `prefillData.mobile` (string)
    Prefilled mobile number (10 digits, no formatting)

  - `prefillData.email` (string)
    Prefilled email address (when found in associated emails)

## Response 200 headers (application/json):

  - `X-Request-Id` (string)
    Correlation id for this request. Quote it when reporting a problem - it identifies the call, and every bureau call it triggered, in the API log. Send your own X-Request-Id to correlate with your systems; a malformed value is replaced.

## Response 400:

  - `400` (unknown)
    Bad request

## Response 400 fields (application/json):

  - `timestamp` (string)

  - `codes` (array)

  - `messages` (array)

  - `details` (array)

## Response 400 headers (application/json):

  - `X-Request-Id` (string)
    Correlation id for this request. Quote it when reporting a problem - it identifies the call, and every bureau call it triggered, in the API log. Send your own X-Request-Id to correlate with your systems; a malformed value is replaced.

## Response 200 examples:

  - `OTP Response` (unknown)
    OTP Response

## Response 400 examples:

  - `User Already Verified` (unknown)
    User Already Verified

  - `Verification Type Not Allowed` (unknown)
    Verification Type Not Allowed

  - `No Active Prefill Session` (unknown)
    No Active Prefill Session

  - `OTP Verification Failed` (unknown)
    OTP Verification Failed

  - `Session Error` (unknown)
    Session Error

  - `Host Not Found` (unknown)
    Host Not Found

  - `Customer Not Found` (unknown)
    Customer Not Found

