CardToken

data class CardToken(val token: String)

Represents a tokenized card for secure payment processing. This class contains the token generated after successful card tokenization, which is used to process payments without handling sensitive card data directly.

Parameters

token

The secure token representing the card, generated after successful tokenization

Example:

// Create a card token from tokenization response
val cardToken = CardToken(
token = "1234567890abcdef"
)

// Use the token for payment processing
processPayment(cardToken.token)

Constructors

Link copied to clipboard
constructor(token: String)

Properties

Link copied to clipboard