> For the complete documentation index, see [llms.txt](https://docs.vespr.xyz/vespr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vespr.xyz/vespr/user-guide/faq/swap/swap-refunds-explained.md).

# Swap refunds explained

What you get back when you cancel a pending swap order in VESPR, which costs are not refunded, and what happens if the order fills before the cancellation.

You can cancel the part of a swap order that hasn't been filled yet. To find your open orders and cancel one, see [Cancel a swap order](https://docs.vespr.xyz/vespr/user-guide/the-basics/swap/cancelling-a-swap-order.md).

## What you get back

When a cancellation goes through, you get back, for each DEX that hasn't filled its part of the order:

* the amount that hasn't been swapped yet,
* that DEX's batcher fee, and
* that DEX's deposit.

The deposits for parts that have already filled are returned to you when those parts complete.

Before you confirm a cancellation, VESPR shows what you will get back (**You get back**), worked out from the actual cancellation transaction, and the **Fee** for cancelling.

## What isn't refunded

* **The service fee.** VESPR's service fee is not refunded when you cancel an order.
* **The Cardano network fee** you paid to place the order.
* **The network fee for the cancellation.** Cancelling needs a new transaction, with its own network fee, shown before you confirm.
* **Anything already swapped.** A part of the order that has filled can't be reversed. If part of an order has filled, the button reads **Cancel Remaining Order**.

## If the order fills first

A cancellation can race the DEXs. If any part of the order fills before the cancellation is confirmed on the blockchain, the cancellation fails and you aren't charged for it. You can then cancel what's left of the order.

## Orders placed outside VESPR

VESPR can also cancel orders that you placed on a DEX website. Cancelling such an order in VESPR may include a service fee, which is shown before you confirm.

If you cancel an order on a DEX's own website, that website's rules apply. VESPR can't refund costs for orders cancelled outside VESPR.
