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.
Declaration
Swift
public let numberOfPaymentsLeft: UIntReturn Value
UInt: Numbers of payment credentials remaining. -
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