PaymentToken

public struct PaymentToken

PaymentToken

A PaymentToken object which is one part to be used in any token transactions

  • Our unique reference for this Consumer. Used in conjunction with the card token in repeat transactions.

    Declaration

    Swift

    public let consumerToken: String
  • Can be used to charge future payments against this card.

    Declaration

    Swift

    public let cardToken: String
  • cv2

    CV2 of the card

    Declaration

    Swift

    public var cv2: String?
  • Designated initializer for non-optional values

    Declaration

    Swift

    public init(consumerToken: String, cardToken: String, cv2: String? = nil)

    Parameters

    consumerToken

    Consumer token string

    cardToken

    Card token string

    Return Value

    a PaymentToken object