createCvvUpdateToken

open override fun createCvvUpdateToken(context: Context, params: ICvvTokenParams, callback: ApiResultCallback<ICvvUpdateToken?>)

Creates an ICvvUpdateToken instance with the provided parameters and returns it via callback.


Important:

This version of the method is provided mainly as convenience for Java developers. Kotlin developers should generally use the suspend version instead

Parameters

context

Activity or Application context

params

The parameters used to create the CVV validation token

callback

The callback used to return the result.

Note: This callback returns on a background thread


open suspend override fun createCvvUpdateToken(context: Context, params: ICvvTokenParams): ICvvUpdateToken

Creates an ICvvUpdateToken instance with the provided parameters


Return

An ICvvUpdateToken instance, which can then be used revalidate a previously used credit/debit card on file

Parameters

context

Activity or Application context

params

The parameters used to create the CVV validation token

Throws