---
schema_version: "1"
id: cd780420ab660e22a5b0fb202e268962db09f0961294f31ee5ba6a6f757fc1f3
title: PostAuthApiPaymentMethodRequest Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_class_commercepayments_PostAuthApiPaymentMethodRequest.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_commercepayments_PostAuthApiPaymentMethodRequest.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9b0cb6e2a3c72d07da23d796ecbf303ea627a3c9b3c80675f116c3ca511b3e8c
description: Sends information about a payment method to a gateway adapter during a postauthorization service call.
---
# PostAuthApiPaymentMethodRequest Class

Sends information about a payment method to a gateway adapter during a postauthorization service call.

## Namespace

[CommercePayments](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_commercepayments.htm "Use the CommercePayments namespace to provide a safe and customizable platform for managing customer payments and refunds.")

## Usage

Contains information about the payment method that is used for a postauthorization request. It contains all available payment methods as fields, but populates only one field for each request. The gateway adapter uses this class when constructing a postauthorization request. An object of this class is available through the paymentMethod field on the [PostAuthorizationRequest Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_commercepayments_AuthorizationRequest.htm#apex_class_commercepayments_AuthorizationRequest "Sends information about an authorization request to a gateway adapter during a service call. This class extends the BaseRequest class and inherits all its methods.") object.

- **[PostAuthApiPaymentMethodRequest Constructors](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_commercepayments_PostAuthApiPaymentMethodRequest_constructors.htm)**  
    Lists the constructors for the PostAuthApiPaymentMethodRequest.
- **[PostAuthApiPaymentMethodRequest Properties](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_commercepayments_PostAuthApiPaymentMethodRequest_properties.htm)**  
    Lists the properties for PostAuthApiPaymentMethodRequest.