Package-level declarations

Types

Link copied to clipboard
class CustomerAlreadyExistsException(val existingCustomerId: String? = null) : KYCException

Exception thrown when attempting to create a customer that already exists (HTTP 409).

Link copied to clipboard

Exception thrown when a customer is not found (HTTP 404).

Link copied to clipboard
class FileTooLargeException(val fileSize: Long? = null) : KYCException

Exception thrown when an uploaded file exceeds the server's size limit (HTTP 413).

Link copied to clipboard
class InvalidFieldException(val fieldName: String? = null, val fieldError: String? = null) : KYCException

Exception thrown when field validation fails (HTTP 400).

Link copied to clipboard
open class KYCException(message: String, cause: Throwable? = null) : Exception

Base exception class for SEP-12 KYC API errors.

Link copied to clipboard

Exception thrown when authentication fails (HTTP 401).