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.EnsurePaymentCreditInputRepresentation

The credit memo information and, optionally, the payment sequence details for issuing credits. The credit memo amount is distributed to the payment methods specified in the payment sequence until the amount is fully applied. If you don’t specify a payment sequence, the default payment sequence for Ensure Payment is used.
Property Type Description Required or Optional Available Version
creditMemo CreditMemoInputRepresentation The credit memo that’s being credited. Required 65.0
paymentCreditSequence List<ConnectApi.PaymentCreditSequenceInputRepresentation> The ordering sequence of payments being used for the payment credit application. Optional 65.0