- Full refund – Returns the entire payment amount; can only be done once.
- Partial refund – Returns part of the payment; can be done multiple times, up to the original amount.
Request
Find the API documentation for the request here.Response
Commerce will process the refund asynchronously, such that the response will return a refund inprocessing state, which the ultimately will finish in completed or failed state.
The amount on the payment will be updated and reflects the total amount of refunds on the payment: