---
schema_version: "1"
id: b949f369c57c2c95f7c94ead755b91621724d524eccec7d50223236a3d446d7c
title: ConnectApi.SequenceOrderPaymentSummaryInputRepresentation
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_sequence_order_payment_summary.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_sequence_order_payment_summary.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7e33eb011a38468b007293a0985227d1b2de8db0431ea24e40326d997ca8834e
description: Amount to apply to specified OrderPaymentSummary as part of a payment or refund.
---
# ConnectApi.SequenceOrderPaymentSummaryInputRepresentation

Amount to apply to specified OrderPaymentSummary as part of a payment or refund.

| Property | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| amount | Double | Amount to apply to the OrderPaymentSummary. | Optional | 56.0 |
| orderPayment​SummaryId | String | ID of the OrderPaymentSummary to apply the Amount to. | Required | 56.0 |

#### See Also

- [ensureRefundsAsync(orderSummaryId, ensureRefundsInput)](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_ConnectAPI_OrderSummary_static_methods.htm#apex_ConnectAPI_OrderSummary_ensureRefundsAsync_1 "Ensure refunds for a CreditMemo or excess funds by sending a request to a payment provider. This method inserts a background operation into an asynchronous job queue and returns the ID of that operation so you can track its status. Payment gateway responses appear in the payment gateway log and don’t affect the background operation status.")
- [ConnectApi.EnsureRefundsAsyncInputRepresentation](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_ensure_refunds_async.htm "ID of a credit memo to ensure refunds for, an amount of excess funds to refund, or both. At least one is required. Also includes any invoices for fees that reduce the refund amount, such as return fees. If multiple payment methods are available, you can specify how to distribute the refund.")