UpdateVirtualCardInput

public struct UpdateVirtualCardInput : Equatable

Input object for a Update Card operation, using SudoVirtualCardsClient.

Properties

  • id

    Id of the card.

    Declaration

    Swift

    public let id: String
  • Version of card to update. If specified, version must match existing version of card.

    Declaration

    Swift

    public let expectedCardVersion: Int?
  • Name of the card holder.

    Declaration

    Swift

    public let cardHolder: String
  • Address used as the billing address of the card.

    Declaration

    Swift

    public let billingAddress: Nullish<Address>
  • Custom metadata to associate with the virtual card. Can be used for values such as card aliases, card colors, image references, etc.

    There is a limit of 3k characters when data is serialized.

    Declaration

    Swift

    public let metadata: Nullish<JSONValue>
  • Associated pseudonym of the user.

    Declaration

    Swift

    @available(*, deprecated, message: "Please use metadata to store and retrieve alias instead")
    public let alias: Nullish<String>

Lifecycle