getIdentificationTypes

Retrieves the list of available identification types for the current country. This method helps identify which types of identification documents (CPF, CNPJ, DNI, etc.) are accepted for payment processing in the current market.

Return

Result: On Success a list of IdentificationType, On Error ResultError

Example:

val result = coreMethods.getIdentificationTypes()

when (result) {
is Result.Success -> {
val identificationTypes = result.data
// Display available identification types to user
}
is Result.Error -> {
// Handle error
}
}

See also