Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ConnectApi.PaymentMethodTokenizationRequest

Payment method tokenization input consumed by the payment tokenization service.
Subclass of ConnectApi.BaseRequest.
Property Type Description Required or Optional Available Version
address ConnectApi.​AddressRequest Address of the payment method. Required 52.0
bankPayment​Method ConnectApi.​BankPayment​MethodRequest Object representation of the bank payment method. Required, if cardPaymentMethod isn't provided. 65.0
cardPayment​Method ConnectApi.​CardPayment​MethodRequest Object representation of the card payment method. Required, if bankPaymentMethod isn't provided. 52.0
paymentGatewayId String ID of the card payment method's payment gateway. Required 52.0
savedByMerchant Boolean Indicates whether the payment method tokenization is configured to be saved by merchant (true) or not (false). Default value is false. Optional 62.0