> For the complete documentation index, see [llms.txt](https://docs.mimic.fi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mimic.fi/use-cases/automated-refunds.md).

# Automated refunds

The goal here is to integrate a backend to send refunds through Mimic Protocol.

### Function

{% @github-files/github-code-block url="<https://github.com/mimic-protocol/examples/blob/main/examples/11-automated-refunds/src/function.ts>" visible="false" %}

[Github link](https://github.com/mimic-protocol/examples/blob/main/examples/11-automated-refunds/src/function.ts)

### Manifest

{% @github-files/github-code-block url="<https://github.com/mimic-protocol/examples/blob/main/examples/11-automated-refunds/manifest.yaml>" visible="false" %}

[Github link](https://github.com/mimic-protocol/examples/blob/main/examples/11-automated-refunds/manifest.yaml)

### Backend

{% @github-files/github-code-block url="<https://github.com/mimic-protocol/examples/blob/main/examples/11-automated-refunds/src/create-trigger.ts>" visible="false" %}

[Github link](https://github.com/mimic-protocol/examples/blob/main/examples/11-automated-refunds/src/create-trigger.ts)
