KYCCardFieldsEnum
public enum KYCCardFieldsEnum : Sendable
KYC field values for payment card information as defined in SEP-0009. This enum represents credit/debit card fields that can be submitted in PUT /customer requests for card-based payment methods. Each case contains the field value and converts it to the appropriate format.
-
Card number
Declaration
Swift
case number(String) -
Expiration month and year in YY-MM format (e.g. 29-11 for November 2029)
Declaration
Swift
case expirationDate(String) -
CVC security code (digits on the back of the card)
Declaration
Swift
case cvc(String) -
Name of the card holder
Declaration
Swift
case holderName(String) -
Brand of the card/network it operates within (Visa, Mastercard, AmEx, etc.)
Declaration
Swift
case network(String) -
Billing address postal code
Declaration
Swift
case postalCode(String) -
Billing address country code in ISO 3166-1 alpha-2 format (e.g. US)
Declaration
Swift
case countryCode(String) -
Billing address state/province/region/prefecture in ISO 3166-2 format
Declaration
Swift
case stateOrProvince(String) -
Billing address city/town
Declaration
Swift
case city(String) -
Complete billing address (country, state, postal code, street address, etc.) as a multi-line string
Declaration
Swift
case address(String) -
Token representation of the card in an external payment system (e.g. Stripe)
Declaration
Swift
case token(String) -
Undocumented
Declaration
Swift
public var parameter: (String, Data) { get }
View on GitHub
Install in Dash