KycDetails
Members
Methods
constructor(api, details)
constructor(api, details)async createRequest(webhook)
async createRequest(webhook)Last updated
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.
api must be an instance of KycApi;
details must implement the KycDetailsResponse interface;
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.
Last updated
const kycInstance = await kycDetails.createRequest()