@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.
21 lines (18 loc) • 572 B
text/typescript
import { VerificationParameters } from './VerificationParams.mjs';
import '../enums/VerifyLanguages.mjs';
import '../enums/Workflows.mjs';
/**
* Represents parameters for a PSD2 (Payment Services Directive 2)
* verification request.
*/
type PSD2Parameters = Omit<VerificationParameters, 'brand' | 'senderId' | 'pinCode'> & {
/**
* The payee's name or identifier for the payment confirmation.
*/
payee: string;
/**
* The decimal amount of the payment to be confirmed, in Euros.
*/
amount: number;
};
export type { PSD2Parameters };