api : KycApi

The KycApi that this object was created with.

An object that implements the KycDetailsResponse interface.


constructor(api, details)

Create a new instance of the KycDetails object.

This constructor should not be called directly, use ApplicationReference.uploadKycDetails() instead.

async createRequest(webhook)

Create a new KYC request based on the details, the webhook argument is optional.

This function returns a KycInstance.

const kycInstance = await kycDetails.createRequest()

Last updated