CardRequest

data class CardRequest(val programName: String, val currency: String, val mobile: String?, val cardPin: String?, val externalId: String?, val deliveryAddress: DeliveryAddress?, val termsAndConditionsAccepted: Boolean?, val eDisclosureAccepted: Boolean?)

Data class containing the required parameters for creation of a card.

Constructors

Link copied to clipboard
constructor(programName: String, currency: String, mobile: String?, cardPin: String?, externalId: String?, deliveryAddress: DeliveryAddress?, termsAndConditionsAccepted: Boolean?, eDisclosureAccepted: Boolean?)

Properties

Link copied to clipboard

The card PIN. For EU Customers: The Card pin should be 4 digits. US customers must set their card PIN via a separate CardService.update.

Link copied to clipboard

Currency code in three-letter format ("Alpha-3").

Link copied to clipboard

DeliveryAddress The DeliveryAddress object will be used for the PHYSICAL card delivery. It must be null in case of VIRTUAL card.

Link copied to clipboard

The field must be present for US customers.

Link copied to clipboard

External card identifier in merchant system.

Link copied to clipboard

If not provided, we will try to use the mobile phone provided during the customer onboarding. Mobile phone number must be in format "+1 123456789".

Link copied to clipboard

Program name provided by Paysafe.

Link copied to clipboard

The field must be present for US customers.