Check a code
Check the validity of a verification code.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The verification target. Either a phone number or an email address. To use the email verification feature contact us to discuss your use case.
The OTP code to validate.
"12345"
Required when checking a code issued under the prelude:psd2 template. The submitted variables must match those provided at issuance; any mismatch invalidates the code (PSD2 SCA RTS Article 5 dynamic linking). Ignored on non-PSD2 verifications.
Response
OK
The status of the check. For prelude:psd2 codes, transaction_missing is returned when the psd2 block is omitted, and transaction_mismatch when the submitted variables differ from those provided at issuance.
success, failure, expired_or_not_found, transaction_missing, transaction_mismatch "success"
The verification identifier.
"vrf_01jc0t6fwwfgfsq1md24mhyztj"
The metadata for this verification.