1234567891011121314151617181920212223
data class PrimerPaymentMethodTokenData(  val token: String,  val analyticsId: String,  val tokenType: TokenType,  val paymentInstrumentType: String,  val paymentInstrumentData: PaymentInstrumentData?,  val vaultData: VaultData?,  val threeDSecureAuthentication: AuthenticationDetails? = null,  val isVaulted: Boolean) {
  data class VaultData(    val customerId: String,  )
  data class AuthenticationDetails(    val responseCode: ResponseCode,    val reasonCode: String?,    val reasonText: String?,    val protocolVersion: String?,    val challengeIssued: Boolean?,  )}
kotlin
copy

Properties

token
StringRequired
tokenType
TokenTypeRequired
Cases
analyticsId
StringRequired
paymentInstrumentType
StringRequired
paymentInstrumentData
PaymentInstrumentData?
Properties

A unique string identifier for the payment method. (e.g. PAYPAL, GOOGLE_PAY)

sessionInfo
SessionInfo?
The first 6 digits of the card number.
The last 4 digits of the card number.
The expiration month of the card, in 2-digit format.
The expiration year of the card, in 4-digit format.
The name of the cardholder.
network
String?
The human readable representation of card network (e.g., Visa, Mastercard).
binData
BinData?
Additional BIN data.
Properties
network
String?
The card network (e.g., VISA, MASTERCARD, AMEX).
externalPayerInfo
ExternalPayerInfo?
External information about the payer associated with the transaction.
Properties
email
String
The payer's email address.
The payer's unique ID.
firstName
String?
The payer's given name.
lastName
String
The payer's given surname.
sessionData
SessionData?
vaultData
VaultData?
threeDSecureAuthentication
AuthenticationDetails?