Refund Credit Memo (POST)
Initiate a refund against a credit memo.
Initiates a refund for a credit memo. Locks the credit memo, calls the Commerce Refund API, and applies the refund inline (sync) or defers the apply until the payment gateway event is received (async).
68.0
POST
JSON Example
Properties
| Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
appliedToId | String | ID of the credit memo that the refund is applied to. | Required | 68.0 |
currencyIsoCode | String | ISO currency code. Required when multi-currency is enabled. Must match the credit memo’s currency. | Required if multi-currency is enabled | 68.0 |
paymentMethodId | String | ID of the payment method to issue the refund. Must reference a valid, active payment method. | Required | 68.0 |
refundAmount | Double | Amount to be refunded. Must be greater than 0 and not exceed the remaining balance on the credit memo. | Required | 68.0 |
refundNotes | String | Optional notes that are stored in the comments of the refund entity. | Optional | 68.0 |
refundReason | String | Reason for the refund. | Required | 68.0 |