tokenizeCard

fun tokenizeCard(card: DLCardData, onSuccess: (cardToken: DLCardToken) -> Unit, onError: (error: DLError) -> Unit)

Parameters

card

object to be tokenized

onSuccess

function that is called when the request produces a valid result.

onError

function that is called when an error occurs.

See also