---
schema_version: "1"
id: aea85896762a79beca86e52a57f47554e0ee6212333661ac7a3ee471f6d0786c
title: ConnectApi.PostAuthRequest
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_post_auth.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_post_auth.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 61b969a7c89e3a2a826c356bc493274df40258039d0f94169476af9abfc9633b
description: Payment post authorization input consumed by the payment post authorization service.
---
# ConnectApi.PostAuthRequest

Payment post authorization input consumed by the payment post authorization 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 |
| --- | --- | --- | --- | --- |
| accountId | String | ID of the account of the customer for the authorized payment. | Required | 54.0 |
| amount | Double | Amount of the post authorization. | Required | 54.0 |
| comments | String | Comments for payment post authorization. Maximum of 1000 characters. | Optional | 54.0 |
| currencyIsoCode | String | Three-letter ISO 4217 currency code associated with the payment group record. | Optional | 54.0 |
| effectiveDate | Datetime | Date that the payment post authorization occurs. | Required | 54.0 |
| paymentGatewayId | String | Payment gateway that evaluates the post authorization. | Required | 54.0 |
| paymentGroup | [ConnectApi.​PaymentGroup​Request](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_payment_group.htm "Payment group input consumed by a payment group service.") | Payment group associated with or to be created for the request. Request must contain either a paymentGroupId or paymentGroup, but not both. | Optional | 54.0 |
| paymentMethod | [ConnectApi.​PostAuthApi​PaymentMethod​Request](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_post_auth_api_payment_method.htm "Payment method input for post authorization.") | Payment method sent for the post authorization. | Required | 54.0 |