KycStatus
Last updated
Last updated
api :
The KycApi
instance that this object was created with.
status :
An object that implements the KycStatusResponse
interface.
constructor(api, status)
Create a new instance of the KycStatus
object.
api
must be an instance of ;
status
must be an object that implements the interface;
This constructor should not be called directly, use instead.
id()
Get the id of the request.
This function returns a string
.
isComplete()
Is the KYC verification complete?
This function returns a boolean
.
isSuccessful()
Was the KYC verification successful?
This function returns a boolean
.
distance()
Get the machine learning algorithm distance.
This function returns a number
between 0
and 1
.
createdAt()
When was the KYC verification requested?
This function returns a Date
object.
completedAt()
When was the KYC verification completed?
This function returns a Date
object.
webhook()
Get the webhook URL that got / will get called when the request is complete.
This function returns an URL
object.