Newer Version Available
ConnectApi.CardPaymentMethodRequest
Subclass of ConnectApi.BasePaymentMethodRequest.
| Property | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
| accountId | String | Salesforce account to which this payment method is linked. | Required | 51.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 | CVV. | Required | 51.0 |
| String | Email. | 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 | Start month of the card. | Optional | 51.0 |
| startYear | Integer | Start year of the card. | Optional | 51.0 |