UpdateVirtualCardInput

data class UpdateVirtualCardInput(val id: String, val expectedCardVersion: Int? = null, val cardHolder: String, val alias: String? = null, val metadata: JsonValue<Any>? = null, val billingAddress: BillingAddress? = null)

Input object containing the information required to update a virtual card.

Constructors

Link copied to clipboard
constructor(id: String, expectedCardVersion: Int? = null, cardHolder: String, alias: String? = null, metadata: JsonValue<Any>? = null, addressLine1: String, addressLine2: String? = null, city: String, state: String, postalCode: String, country: String)
constructor(id: String, expectedCardVersion: Int? = null, cardHolder: String, alias: String? = null, metadata: JsonValue<Any>? = null, billingAddress: BillingAddress? = null)

Properties

Link copied to clipboard
val alias: String? = null

String deprecated User defined name associated with the card.

Link copied to clipboard

BillingAddress associated with the card. To remove, set to null.

Link copied to clipboard

String The name of the virtual card holder. Leave as existing to remain unchanged.

Link copied to clipboard

Int Version of virtual card to update. If specified, version must match existing version of virtual card.

Link copied to clipboard
val id: String

String Identifier of the virtual card to update.

Link copied to clipboard
val metadata: JsonValue<Any>? = null

JsonValue Custom metadata to associated 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.