---
schema_version: "1"
id: 03cde6b52caa91688f26a8830b5a69c725e2bc7470e2eea410bf8159bdbc1868
title: ConnectApi.PaymentMethodTokenizationResponse
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_payment_method_tokenization_output.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_payment_method_tokenization_output.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: fd432a377d7e90c1062a76d3e340ce23ff63f7b3fcae57f08d572113cda50297
description: Payment method tokenization output representation.
---
# ConnectApi.PaymentMethodTokenizationResponse

Payment method tokenization output representation.

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| error | [ConnectApi.​ErrorResponse](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_error_response.htm "Base error response.") | Error representation for the payment method tokenization process. Sent only if the tokenization process encounters an error in the gateway. | 52.0 |
| gatewayResponse | [ConnectApi.​PaymentMethodTokenization​GatewayResponse](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_payment_method_tokenization_gateway_response.htm "Payment method tokenization gateway response representation.") | Response containing the tokenized payment method value from the payment gateway. | 52.0 |
| paymentGatewayLogs | [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[ConnectApi.​GatewayLogResponse](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_gateway_log_output.htm "Gateway log output.")\> | Logs showing more details about the tokenization process that occurred in the gateway. | 52.0 |
| paymentMethod | [ConnectApi.PaymentMethod​Response](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_payment_method_output.htm "Payment method information response.") | Object representation of the payment method object that was tokenized. | 52.0 |