Card
public struct Card : Codable, Sendable
The card model.
-
The unique token for this card. This is how you will identify this card in the future throughout the API.
Declaration
Swift
public let paymentMethodUuid: String -
The account uuid.
Declaration
Swift
public let accountUuid: String? -
The unique identifier of the bank account in your own system.
Declaration
Swift
public let externalId: String? -
The card network to which this card belongs.
Declaration
Swift
public let brandString: String? -
The card network to which this card belongs. Check
brandStringifnil.Declaration
Swift
public var brand: CardBrand? { get } -
The type of card.
Declaration
Swift
public let typeString: String -
The type of card. Check
typeStringifnil.Declaration
Swift
public var type: CardType? { get } -
The 3-letter code of the country of issuance of the card. The keys can be mapped from
Countryif you want type safety.Declaration
Swift
public let country: String -
The last 4 digits of the card.
Declaration
Swift
public let lastFourDigits: String -
The status of the card.
Declaration
Swift
public let statusString: String -
The status of the card. Check
statusStringifnil.Declaration
Swift
public var status: CardStatus? { get } -
The status reason of the card.
Declaration
Swift
public let statusReasonString: String? -
The status reason of the card. Check
statusReasonStringifnil.Declaration
Swift
public var statusReason: PaymentMethodStatusReason? { get } -
Types of transactions supported by this card.
Declaration
Swift
public let flags: CardFlags? -
Allows for any number of custom metadata keys and values to be stored with a given entity.
Declaration
Swift
public let metadata: [String : CustomValue]? -
The date this card was created.
Declaration
Swift
public let createdAt: String -
The date this card was last updated.
Declaration
Swift
public let updatedAt: String -
3DS options.
Declaration
Swift
public let threeDSOptions: ThreeDSOptions?
View on GitHub