KycDetails
Members
The KycApi that this object was created with.
An object that implements the KycDetailsResponse interface.
Methods
constructor(api, details)
constructor(api, details)Create a new instance of the KycDetails object.
apimust be an instance ofKycApi;detailsmust implement theKycDetailsResponseinterface;
This constructor should not be called directly, use ApplicationReference.uploadKycDetails() instead.
async createRequest(webhook)
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