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

NameTypeDescriptionRequired or OptionalAvailable Version
applied​To​IdStringID of the credit memo that the refund is applied to.Required68.0
currency​Iso​CodeStringISO currency code. Required when multi-currency is enabled. Must match the credit memo’s currency.Required if multi-currency is enabled68.0
payment​Method​IdStringID of the payment method to issue the refund. Must reference a valid, active payment method.Required68.0
refund​AmountDoubleAmount to be refunded. Must be greater than 0 and not exceed the remaining balance on the credit memo.Required68.0
refund​NotesStringOptional notes that are stored in the comments of the refund entity.Optional68.0
refund​ReasonStringReason for the refund.Required68.0

Refund Credit Memo