PCIPTokenization

class PCIPTokenization(merchantId: String)

Use this class to start a PCI Proxy tokenization request. After the tokenization request has been completed - regardless if successful or not - the listener will be called with some basic information about the success or failure.

  • Warning: Only use this API if you are a PCI Proxy customer. Use Transaction if you want to register a saved payment method.

Parameters

merchantId

Your merchantId.

paymentMethodTypes

The allowed credit or debit card types.

Constructors

PCIPTokenization
Link copied to clipboard
fun PCIPTokenization(merchantId: String, paymentMethodTypes: List<PaymentMethodType>)
PCIPTokenization
Link copied to clipboard
fun PCIPTokenization(merchantId: String, cvvOnlyCard: CvvOnlyCard)
Use this constructor to tokenize the CVV of an already tokenized card.
PCIPTokenization
Link copied to clipboard
fun PCIPTokenization(merchantId: String, card: Card)
Use this constructor if you use your own UI and already have a Card instance with the card data to be tokenized.
PCIPTokenization
Link copied to clipboard
fun PCIPTokenization(merchantId: String)
Use this constructor to allow the user to enter the card data to be tokenized.

Properties

listener
Link copied to clipboard
var listener: PCIPTokenizationListener? = null
This listener will be notified after a tokenization request has been completed, regardless if successful or not.
options
Link copied to clipboard
var options: PCIPTokenizationOptions
The available options for how a tokenization request is handled by the mobile SDK.