CardUpdateRequest

@Serializable
data class CardUpdateRequest(val externalId: String? = null, val authRules: AuthRulesRequest? = null, val incentives: IncentivesRequest? = null, val metadata: Map<String, JsonPrimitive>? = null, val shippingAddress: ShippingAddressRequest? = null)

Model that holds the card data to be updated.

Constructors

Link copied to clipboard
constructor(externalId: String? = null, authRules: AuthRulesRequest? = null, incentives: IncentivesRequest? = null, metadata: Map<String, JsonPrimitive>? = null, shippingAddress: ShippingAddressRequest? = null)

Properties

Link copied to clipboard
@SerialName(value = "auth_rules")
val authRules: AuthRulesRequest? = null

Card rules when authorizing a transaction

Link copied to clipboard
@SerialName(value = "external_id")
val externalId: String? = null

External identifier in your platform

Link copied to clipboard
@SerialName(value = "incentives")
val incentives: IncentivesRequest? = null

Card incentive rules

Link copied to clipboard
@SerialName(value = "metadata")
val metadata: Map<String, JsonPrimitive>? = null

Card metadata fields

Link copied to clipboard
@SerialName(value = "shipping_address")
val shippingAddress: ShippingAddressRequest? = null

Card shipping address