---
schema_version: "1"
id: 4d85496183b9a825cd31655309440c7220085f5db2f4563463b988496481776e
title: ConnectApi.AuthorizationRequest
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_authorization.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_authorization.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4f4a9f16f653329a11ba354bcdf4da271ef1c91adbc09349743cdeffc5d42809
description: Payment Authorization input consumed by the Payment Authorization service.
---
# ConnectApi.AuthorizationRequest

Payment Authorization input consumed by the Payment 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 | Salesforce account that contains the payment transaction being authorized. | Required | 51.0 |
| amount | Double | Authorization amount. | Required | 51.0 |
| comments | String | Optional comments for the payment authorization. | Optional | 51.0 |
| currencyIsoCode | String | Three-letter ISO 4217 currency code associated with the payment group record. | Required | 51.0 |
| effectiveDate | Datetime | Date that the authorization will be applied to the transaction. | Required | 51.0 |
| paymentGatewayId | String | Payment gateway that processes the authorization. | Required | 51.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 for the authorization. The payload must reference either a paymentGroup or a paymentGroupId, but not both. | Optional | 51.0 |
| paymentMethod | [ConnectApi.​AuthApiPayment​MethodRequest](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_auth_api_payment_method.htm "Payment method input representation for payment authorizations.") | Payment method used in the payment gateway for the authorization transaction. | Required | 51.0 |