> For the complete documentation index, see [llms.txt](https://docs.digitalriver.com/bigcommerce-prebuilt-checkout-solution/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/bigcommerce-prebuilt-checkout-solution/use-digital-river-prebuilt-checkout-with-bigcommerce/generate-refunds.md).

# Generate refunds

Learn how create refunds using Digital River Prebuilt Checkout.

You can generate refunds using the Digital River Dashboard or by sending [Refund API requests](https://docs.digitalriver.com/digital-river-api/order-management/returns-and-refunds-1/refunds) to Digital River directly.&#x20;

The BigCommerce order status will be updated automatically when a refund is created and processed.

| **Digital River Order State**                           | **BigCommerce Order State**                                    |
| ------------------------------------------------------- | -------------------------------------------------------------- |
| If the Digital River order is partially refunded, then  | The BigCommerce order will be updated to "Partially refunded." |
| If the Digital River order is completely refunded, then | The BigCommerce order will be updated to "Refunded."           |

The refunded amount will be reflected in the order details of the BigCommerce application.

<figure><img src="https://1794393090-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbpluWKtvZjpZc2on4950%2Fuploads%2FtWNhMdlmp3cJVPxf2k7N%2Fimage.png?alt=media&amp;token=981ba6a3-13b8-4a31-9132-c78fcc1a4899" alt=""><figcaption></figcaption></figure>
