Card
public struct Card : Codable
Card used to create the card token
-
Card Id
Declaration
Swift
public let id: String
-
Expiry month
Declaration
Swift
public let expiryMonth: String
-
Expiry year
Declaration
Swift
public let expiryYear: String
-
Billing address
Declaration
Swift
public let billingDetails: Address
-
Last 4 digits of the card number
Declaration
Swift
public let last4: String
-
Bin of the card number (first 6 digits)
Declaration
Swift
public let bin: String
-
Payment method used (e.g. Visa)
Declaration
Swift
public let paymentMethod: String
-
Name of the card owner
Declaration
Swift
public let name: String?