tokenize

fun tokenize(context: Context, localPaymentAuthResult: LocalPaymentAuthResult.Success, callback: LocalPaymentTokenizeCallback)

After receiving a result from the web authentication flow via LocalPaymentLauncher.handleReturnToApp, pass the LocalPaymentAuthResult.Success returned to this method to tokenize the local payment method and receive a LocalPaymentNonce on success.

Parameters


suspend fun tokenize(context: Context, localPaymentAuthResult: LocalPaymentAuthResult.Success): LocalPaymentResult

After receiving a result from the web authentication flow via LocalPaymentLauncher.handleReturnToApp, pass the LocalPaymentAuthResult.Success returned to this method to tokenize the local payment method and receive a LocalPaymentNonce on success.

Return

LocalPaymentResult

Parameters

context

Android Context