Payment Line Unapply (POST)
Revert the application of a payment line from an invoice, and return the payment and invoices to their preapplication state. Use this API to correct an input during the payment application process.
For example, you can use this API to revert an incorrect payment that’s applied to an invoice, or to rectify an incorrect amount.
Use the Commerce Payments APIs to send your payment and refund details to external payment gateways for processing against a customer’s bank. See Commerce Payments resources to check the APIs for payment gateways, payment captures, and payment authorizations.
64.0
POST
| Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
paymentId | String | ID of the payment record. | Required | 64.0 |
paymentLineId | String | ID of the payment line record. | Required | 64.0 |
JSON Example
Properties
| Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
comments | String | Comments that you can add when you revert a payment line application. | Optional | 64.0 |
effectiveDate | String | Date from when the reversal of the payment line application is in effect. | Optional | 64.0 |