---
schema_version: "1"
id: 39c734dd1be4ed4f28b64bc27e8bc42da6abc83b4f171bf3465720958c15c718
title: ConnectApi.PaymentMethodTokenizationRequest
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_payment_method_tokenization.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_payment_method_tokenization.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 01bf35b06211d96d63fac9b1cff80cf81e8538ea9e53d1472af5bd49b5b7c030
description: Payment method tokenization input consumed by the payment tokenization service.
---
# ConnectApi.PaymentMethodTokenizationRequest

Payment method tokenization input consumed by the payment tokenization service.

Subclass of [ConnectApi.BaseRequest](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_gateway_callable_base.htm "Base parameters for making a request to the payment gateway.").

| Property | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| address | [ConnectApi.​AddressRequest](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_address.htm "Address input representation for a payment method or card payment method.") | Address of the payment method. | Required | 52.0 |
| bankPayment​Method | [ConnectApi.​BankPayment​MethodRequest](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_bank_payment_method.htm "Bank payment method input representation.") | Object representation of the bank payment method. | Required, if cardPaymentMethod isn't provided. | 65.0 |
| cardPayment​Method | [ConnectApi.​CardPayment​MethodRequest](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_card_payment_method.htm "Card payment method input representation.") | 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 |