io.paymenthighway.sdk.model / CardData / isSecurityCodeValid

isSecurityCodeValid

fun isSecurityCodeValid(securityCode: String, cardBrand: CardBrand?): Boolean

Validate a given security code Need the card brand to understand the lenght of the security code

Parameters

securityCode - The security code to validate

Return
true if the security code is valid