Order Payment Summaries

Create an OrderPaymentSummary for an OrderSummary. Specify a payment authorization or payments that share the same payment method. In an org with the multicurrency feature enabled, the OrderPaymentSummary inherits the CurrencyIsoCode value from the OrderSummary.
Resource
/commerce/order-management/order-payment-summaries
Available version
48.0
HTTP methods
POST
Request body for POST
Create Order Payment Summary Input
Root XML tag
<orderPaymentSummaryInput>
JSON examples
{
  "orderSummaryId":"1Osxx0000000000001",
  "paymentAuthorizationId":"2Dgxx00000000W0001"
}
{
  "orderSummaryId":"1Osxx0000000000001",
  "paymentIds":[  
    "0a3xx0000000085AAA",
    "0a3xx0000000085BBB"
  ]
}
Properties
Name Type Description Required or Optional Available Version
orderSummaryId String ID of the OrderSummary. Required 48.0
payment​AuthorizationId String ID of the payment authorization. Either a payment authorization or at least one payment is required. 48.0
paymentIds String[] List of IDs of the payments. Either a payment authorization or at least one payment is required. 48.0
Response body for POST