Skip to content

Resend OTP for prefill verification

Request

Resends the OTP code to the user's phone.

Requirements: The user must have completed the prefill step with a REVIEW status, meaning OTP verification is required.

Limits: Rate limited to one request per 30 seconds, with a maximum of 5 resends per 10 minutes.

Security
userToken
curl -i -X POST \
  https://efx-wgt.stitchcredit.com/api/users/identity-resend-otp \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OTP resent

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", "message": "OTP code has been resent" }