ConnectApi.CardPaymentMethodRequest
Card payment method input representation.
Subclass of ConnectApi.BasePaymentMethodRequest.
| Property | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
accountId | String | Salesforce Payments account to which this payment method is linked. | Required | 51.0 |
autoPay | Boolean | Indicates whether a token for recurring payments is being requested (true) or not (false). The token lets the payment method be used for recurring payments. | Optional | 55.0 |
cardCategory | ConnectApi.CardCategory | Card processing type. Valid values are:
| Required | 51.0 |
cardHolderFirstName | String | First name of the card holder. | Required | 51.0 |
cardHolderLastName | String | Last name of the card holder. | Required | 51.0 |
cardHolderName | String | Full name of the card holder. | Required | 51.0 |
cardNumber | String | Card number. | Required | 51.0 |
cardType | String | Card network type. Valid values are:
| Required | 51.0 |
comments | String | Optional comments for the card payment method. | Optional | 51.0 |
cvv | String | Card Verification Value. | Optional | 51.0 |
email | String | Email address of the card holder. | Required | 51.0 |
expiryMonth | Integer | Card expiration month. | Required | 51.0 |
expiryYear | Integer | Card expiration year. | Required | 51.0 |
nickName | String | Optional nickname for the card. | Optional | 51.0 |
startMonth | Integer | Month the card becomes active. | Optional | 51.0 |
startYear | Integer | Year the card becomes active. | Optional | 51.0 |