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
ReissueReplaceReasonif 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
externalIdUnique identification of the card in your system.
actionWhether the card should be reissued or replaced.
reasonThe reason whether the card is reissued/replaced. The keys can be mapped from
ReissueReplaceReasonif you want type safety.descriptionDescription.
shippingAddressShipping address details.
customFieldsCard custom fields.
serviceFeesService fees to be applied to a card activation.
View on GitHub