ReissueReplaceCardRequest
public struct ReissueReplaceCardRequest : Encodable, Sendable
Reissue/replace card request model.
-
Unique identification of the card in your system.
Declaration
Swift
public let externalId: String
-
Whether the card should be reissued or replaced.
Declaration
Swift
public let action: ReissueReplaceAction
-
The reason whether the card is reissued/replaced. The keys can be mapped from
ReissueReplaceReason
if you want type safety.Declaration
Swift
public let reason: String
-
Description.
Declaration
Swift
public let description: String?
-
Shipping address details.
Declaration
Swift
public let shippingAddress: Address?
-
Card custom fields.
Declaration
Swift
public let customFields: CardCustomFields?
-
Service fees to be applied to a card activation.
Declaration
Swift
public let serviceFees: [CardServiceFee]?
-
Auxiliary constructor.
Declaration
Swift
public init(externalId: String, action: ReissueReplaceAction, reason: String, description: String? = nil, shippingAddress: Address? = nil, customFields: CardCustomFields? = nil, serviceFees: [CardServiceFee]? = nil)
Parameters
externalId
Unique identification of the card in your system.
action
Whether the card should be reissued or replaced.
reason
The reason whether the card is reissued/replaced. The keys can be mapped from
ReissueReplaceReason
if you want type safety.description
Description.
shippingAddress
Shipping address details.
customFields
Card custom fields.
serviceFees
Service fees to be applied to a card activation.