---
schema_version: "1"
id: e0231d1070f53d8bb0ffbdc42a002f65133bfcdbca6b3397d8ba6d7be81bd95d
title: ConnectApi.CaptureRequest
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_capture.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_capture.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 027d9f926d078a71f381f68057ec4bf5af3870eee1fc5e1d2c44f3555c1a8e4a
description: Payment capture input consumed by the payment capture service.
---
# ConnectApi.CaptureRequest

Payment capture input consumed by the payment capture 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 linked to the capture request. | Optional | 50.0 |
| amount | Double | Amount captured from the previous authorization. | Required | 50.0 |
| clientContext | String | Context for payment APIs. Used for a payment caller to re-establish context. | Optional | 50.0 |
| comments | String | Comments for the payment capture. | Optional | 50.0 |
| effectiveDate | Datetime | Date when the payment becomes effective. | Optional | 50.0 |
| isFinalCapture | Boolean | Indicates whether the current capture payment transaction is the final request (true) or not (false). Default value is false, but it also depends on the card type associated with the payment authorization. | Optional | 64.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.") | Details about the payment group record associated with the payment request. | Optional | 50.0 |