Newer Version Available
ConnectApi.AlternativePaymentMethod
A payment method that doesn't have a defined Salesforce entity such as
CardPaymentMethod or DigitalWallet. Common examples of alternative payment methods include
CashOnDeliver, Klarna, and Direct Debit. AlternativePaymentMethod functions the same as any
other type of payment method for processing transactions in the payment gateway.
Subclass of ConnectApi.BasePaymentMethodRequest
| Property | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
| accountId | String | Account for the alternative payment method. | Required | 54.0 |
| comments | String | Users can add comments to provide additional details about a record. Maximum of 1,000 characters. | Optional | 54.0 |
| String | Email address of the payment method holder. | Optional | 54.0 | |
| gatewayToken | String | Unique tokenized ID generated by the payment gateway when this payment method first interacts with the gateway. Used to identify the payment method during future transactions. Stored as encrypted text. | Required | 54.0 |
| gatewayTokenDetails | String | Information about the gateway token. | Required | 54.0 |
| name | String | Name of the payment method. | Optional | 54.0 |