CreditCardFundingSourceInput

data class CreditCardFundingSourceInput(val cardNumber: String, val expirationMonth: Int, val expirationYear: Int, val securityCode: String, val addressLine1: String, val addressLine2: String? = null, val city: String, val state: String, val postalCode: String, val country: String, val name: String? = null)

Input object containing the information required to create a credit card funding source.

Constructors

Link copied to clipboard
constructor(cardNumber: String, expirationMonth: Int, expirationYear: Int, securityCode: String, addressLine1: String, addressLine2: String? = null, city: String, state: String, postalCode: String, country: String, name: String? = null)

Properties

Link copied to clipboard

String Required street address for the cardholder's legal residence.

Link copied to clipboard
val addressLine2: String? = null

String Optional secondary address information for the cardholder's legal residence.

Link copied to clipboard

String Required card account number.

Link copied to clipboard

String Required city that the address resides in.

Link copied to clipboard

String Required ISO-3166 Alpha-2 country code that the address resides in.

Link copied to clipboard

Int Required expiration month field.

Link copied to clipboard

Int Required expiration year field.

Link copied to clipboard
val name: String? = null

String Name of the cardholder. Optional for backwards compatibility but required for checkout integrations

Link copied to clipboard

String Required postal code for the cardholder's legal residence.

Link copied to clipboard

String Required 3 or 4 digit security code from the back of the card.

Link copied to clipboard

String Required state that the address resides in.