Skip to content

Submit OTP for prefill verification

Request

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.

Security
userToken
Bodyapplication/jsonrequired
otpCodestringrequired

6-digit one-time password code

Example:"123456"

OTP Submit

curl -i -X POST \
  https://efx-wgt.stitchcredit.com/api/users/identity-submit-otp \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "otpCode": "123456"
  }'

Responses

OTP verification result

Headers
X-Request-Idstring, (uuid)

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.

Bodyapplication/json
requestIdstring

Correlation ID echoed from the request

decisionstring

Decision after OTP submission — ACCEPT if the code was correct, REJECT otherwise

Enum:"ACCEPT""REJECT"
verifiedboolean

true if the user passed OTP verification, false otherwise

messagestring

Human-readable message describing the outcome

prefillDataobject(IdentityPrefillData)

Identity data prefilled from the user's phone number — present on ACCEPT

Response

OTP Response

{ "requestId": "req-abc-123", "decision": "ACCEPT", "verified": true, "message": "OTP verified successfully", "prefillData": { "fname": "John", "lname": "Doe", "dob": "1985-06-15", "ssn": "6789", "street1": "123 Main St", "city": "Denver", "state": "CO", "zip": "80202", "mobile": "3035551234", "email": "john.doe@example.com" } }