@idfy/sdk
Version:
Node.js SDK for Idfy REST API
19 lines (18 loc) • 415 B
TypeScript
export interface PrefilledInput {
/**
* Prefill the user's national identification number.
*/
nin?: string;
/**
* Prefill the user's phone number. Must be prefixed with country code.
*/
phoneNumber?: string;
/**
* Prefill the user's date of birth (YYYY-MM-DD).
*/
dateOfBirth?: Date;
/**
* Prefill the user's username.
*/
userName?: string;
}