tokenize Card
fun tokenizeCard(card: DLCardData, onSuccess: (cardToken: DLCardToken) -> Unit, onError: (error: DLError) -> Unit)
Parameters
card
object to be tokenized
on Success
function that is called when the request produces a valid result.
on Error
function that is called when an error occurs.