ConnectApi.CardPaymentMethodRequest

Card payment method input representation.

Subclass of ConnectApi.BasePaymentMethodRequest.

PropertyTypeDescriptionRequired or OptionalAvailable Version
accountIdStringSalesforce Payments account to which this payment method is linked.Required51.0
autoPayBooleanIndicates whether a token for recurring payments is being requested (true) or not (false). The token lets the payment method be used for recurring payments.Optional55.0
cardCategoryConnectApi.​CardCategoryCard processing type. Valid values are:
  • CreditCard
  • DebitCard
Required51.0
cardHolder​FirstNameStringFirst name of the card holder.Required51.0
cardHolder​LastNameStringLast name of the card holder.Required51.0
cardHolderNameStringFull name of the card holder.Required51.0
cardNumberStringCard number.Required51.0
cardTypeStringCard network type. Valid values are:
  • AmericanExpress
  • DinersClub
  • JCB
  • MasterCard
  • Maestro
  • Visa
Required51.0
commentsStringOptional comments for the card payment method.Optional51.0
cvvStringCard Verification Value.Optional51.0
emailStringEmail address of the card holder.Required51.0
expiryMonthIntegerCard expiration month.Required51.0
expiryYearIntegerCard expiration year.Required51.0
nickNameStringOptional nickname for the card.Optional51.0
startMonthIntegerMonth the card becomes active.Optional51.0
startYearIntegerYear the card becomes active.Optional51.0