@vonage/verify
Version:
Verify API provides a choice of routes for sending a code to a user. You can use this to confirm a user's contact information, as a second factor when authenticating users, or for step-up authentication.
30 lines (27 loc) • 631 B
TypeScript
import { CheckStatus } from '../../enums/CheckStatus.js';
/**
* Represents the response object for the Verify Check API.
*/
type VerifyCheckResponse = {
/**
* The unique identifier for the verification request.
*/
request_id: string;
/**
* The status of the verification check.
*/
status: CheckStatus;
/**
* The unique identifier for the verification event.
*/
event_id?: string;
/**
* The price of the verification check.
*/
price?: string;
/**
* The currency of the price.
*/
currency?: string;
};
export type { VerifyCheckResponse };