PaymentKeyInfo
public struct PaymentKeyInfo : Sendable
DigitalCard.Status contains information about the current status of the card.
-
Retrieves the remaining number of credentials left to perform payment transactions for this card if monobadged, or the primary card if co-badged.
Declaration
Swift
public let numberOfPaymentsLeft: UIntReturn Value
UInt: Numbers of primary payment credentials remaining. -
Retrieves the remaining number of credentials left to perform payment transactions for the auxiliary card if co-badged. This returns
nilif the card is monobadged.Declaration
Swift
public let auxiliaryNumberOfPaymentsLeft: UInt?Return Value
UInt: Numbers of auxiliary payment credentials remaining ornilif the card is monobadged. -
Determines if the card needs to be replenished based on the number of credentials left, and configured threshold on the backend.
Declaration
Swift
public let needsReplenishment: BoolReturn Value
Bool: True if replenishment is required. -
Retrieves the
limitedUseKeyexpiry date of the card.Declaration
Swift
public let expiryDate: String?Return Value
String: the key validity period of thelimitedUseKeykey of the digitalized card.nil: if it is asingleUseKeyor error -
Retrieves the key type of the payment card.
Declaration
Swift
public let keyType: KeyType
PaymentKeyInfo Structure Reference