PII inquiry with OTP: submit ID images

View as Markdown
Submits front/back ID images and a phone number for validation against national records, with phone-number ownership proven by a one-time password. Call `POST /api/FRAServices/RequestOtpForPii` first to send the code and get an `otpRequestId`, then send it here together with the `otpCode` the user received. Same URL as the no-OTP variant — the only difference is that `otpRequestId` and `otpCode` are present. They travel together: send both, or send neither and use the [no-OTP variant](/api-reference/vlens-api/fra-services/post-fraservices-personallyidentifiableinformation).

Authentication

ApiKeystring
Static API key issued to your tenant. Required on every request.
OR
AuthorizationBearer

End-user JWT from registration or login. Required for verification, signing, and user-scoped operations.

Request

This endpoint expects an object.
idBackBase64ImagestringRequired
idFrontBase64ImagestringRequired
phoneNumberstringRequired
otpRequestIdstringRequiredformat: "uuid"

The otpRequestId returned by POST /api/FRAServices/RequestOtpForPii.

otpCodeintegerRequired

The OTP the user received, sent as a JSON number (123456), not a string.

Response

PII inquiry result.
dataobjectOptional
error_codeinteger or nullOptional
error_messagestring or nullOptional
error_descriptionslist of strings or nullOptional