woovi-kyc

Configuration

All available props for the KYCWizard component

KYCConfig props

PropTypeRequiredDescription
cnpjstringYesCompany CNPJ (digits only). Auto-fetches data from BrasilAPI.
onNext(data: KYCPayload) => voidNoCalled when user advances to the next step.
onBack(data: KYCPayload) => voidNoCalled when user goes back to the previous step.
onFileUploaded(file: File, metadata: KYCFileMetadata) => Promise<string>NoCalled when user selects a file. Upload it and return the public URL.
onFileRemoved(fileUrl: string, data: KYCPayload) => voidNoCalled when a file is removed.
onSubmit(data: KYCPayload) => void | Promise<void>NoCalled when user clicks "Submit" on the Review step.
onError(error: Error) => voidNoCalled on any error.

On this page