Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ConnectApi.AuthorizationRequest

Payment Authorization input consumed by the Payment Authorization service.
Subclass of ConnectApi.BaseRequest.
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 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 Payment method used in the payment gateway for the authorization transaction. Required 51.0