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 |
bankPaymentMethod | ConnectApi.BankPaymentMethodRequest | Object representation of the bank payment method. | Required, if cardPaymentMethod isn’t provided. | 65.0 |
cardPaymentMethod | ConnectApi.CardPaymentMethodRequest | 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 |