Comment on page
KycStatus
The
KycApi
instance that this object was created with.An object that implements the
KycStatusResponse
interface.Create a new instance of the
KycStatus
object.Get the id of the request.
This function returns a
string
.const id = kycStatus.id()
Is the KYC verification complete?
This function returns a
boolean
.if (kycStatus.isComplete()) {
// do something
}
Was the KYC verification successful?
This function returns a
boolean
.if (kycStatus.isSuccessful()) {
// do something
}
Get the machine learning algorithm distance.
This function returns a
number
between 0
and 1
.if (kycStatus.distance() > 0.9) {
// the user sent something worse than random noise
}
When was the KYC verification requested?
This function returns a
Date
object.const createdDate = kycStatus.createdAt()
When was the KYC verification completed?
This function returns a
Date
object.const completedDate = kycStatus.completedAt()
Get the webhook URL that got / will get called when the request is complete.
This function returns an
URL
object.const webhookUrl = kycStatus.webhook()
Last modified 1yr ago