> For the complete documentation index, see [llms.txt](https://docs.digitalriver.com/commercetools-1/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalriver.com/commercetools-1/use-the-commercetools-merchant-center-custom-application/merchant-center-custom-application-user-guide/refund-a-payment.md).

# Refund a payment

Learn how to refund a payment

In order to refund a payment, the item(s) to be refunded must have first been fulfilled by Digital River.

## Refund a payment

To refund a payment, add a Refund transaction to the Digital River payment with the amount you wish to be refunded. Partial refunds are supported.

Refunds can also be requested in the [Digital River dashboard](https://dashboard.digitalriver.com/) or via the Digital River [API](https://www.digitalriver.com/docs/digital-river-api-reference/#operation/createRefunds).

## Understand the refund outcome

A Refund transaction initially has a status of **Pending**. Once the refund request is processed, it is updated to either **Success** or **Failure** depending on the result of the Digital River refund.

The `interactionId` of the Refund transaction is set to the `id`of the Digital River refund so that you can reconcile these two if needed.
