Skip to main content

KYC

public class KYC extends Object

↳ package com.onekosmos.blockid.sdk.BIDAPIs.APIManager.ErrorManager


Utility class to manage KYC errors.

Constructor​

public KYC(int code, String message)

  • Creates an object of KYC class.
ParametersDescription
codeint: The error code. Refer to the error codes table below.
messageString: The message associated with the error code. Refer to the error codes table below.

Method Summary​

TypeMethodDescription
intgetCode()Returns the error code.
StringgetMessage()Returns the error message.

Method Details​

getCode​

public int getCode()

  • Returns the error code.

getMessage​

public String getMessage()

  • Returns the error message.

Error Codes​

The below table lists license error codes and messages.

KeyCodeMessage
KYC_NOT_COMPLETE600001KYC process not complete