> ## Documentation Index
> Fetch the complete documentation index at: https://docs.withflex.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Shopify Refunds with Flex

> Refund Flex orders straight from Shopify, including split HSA/FSA and credit card payments.

Refunding a Flex order works like refunding any other Shopify payment. Click **Refund** on the order in Shopify, and Flex handles the rest. That includes orders paid with both an HSA/FSA card and a credit card.

There's no separate system to log into, no manual math, and no special process for HSA/FSA orders.

## How to issue a refund

**1. Open the order**

Open the order in Shopify and click **Refund**.

**2. Choose what to refund**

Enter the quantity of each item you're refunding. For a full refund, enter the full quantity of every item. Shipping is refunded separately, so add the shipping amount too if you're refunding it.

**3. Confirm**

Click **Refund**. Done. Flex takes it from there.

> [!TIP]
>
> You can also refund from the Flex Dashboard under **Payments → ⋯ → View Payment → Refund**. For Shopify stores, we recommend refunding from Shopify so your order records stay in sync.

## Split payments

Some customers pay with both an HSA/FSA card and a credit card. You still refund these orders the same way: one refund, on one order, in Shopify. Flex splits the money between the two cards for you.

Here's how the split works. Shopify sends Flex the total refund amount, and Flex returns it to the HSA/FSA card first. Once the full HSA/FSA charge has been refunded, any remaining amount goes back to the credit card.

> [!NOTE]
>
> The split is based on the refund amount, not on which items you selected. For example, refunding only an item that was paid for with the credit card still sends the money to the HSA/FSA card first. If a refund needs to go back to a specific card, email **[merchanthelp@withflex.com](mailto:merchanthelp@withflex.com)** and our team will help.

## Partial refunds, timing and reconciliation

* **Partial refunds:** refund individual items, shipping, or a custom amount. You can issue multiple partial refunds on the same order until the full amount is returned.
* **Timing:** refunds usually process within minutes to a few hours. The customer typically sees the money back in 5–10 business days, depending on their bank or HSA/FSA administrator.
* **Reconciliation:** the refund shows on the Shopify order like any other payment method. It also shows in the Flex Dashboard and payout reports, so your books match on both sides. See [Reconciliation](https://docs.withflex.com/developer-guides/integration/shopify/reconciliation.md) for more.

## By the numbers

Flex merchants have issued **thousands of refunds straight from Shopify**, and 99.99% went through without any manual help. These span every order type, from single-card purchases to split HSA/FSA and credit card payments. Order type has no effect on the automated refund flow, which is built to handle every level of complexity.

## Questions?

Email **[merchanthelp@withflex.com](mailto:merchanthelp@withflex.com)** and our team will help.

## Related

> [card] [Refund API guide](https://docs.withflex.com/api-refund-best-practices.md)
>
> Best practices for refunds through the Flex API.

> [card] [Refunding split-cart orders](https://docs.withflex.com/api-reference/checkout-sessions/refund-checkout-session.md)
>
> API reference for refunding a checkout session.

> [card] [Managing payments](https://docs.withflex.com/developer-guides/dashboard/manage-hsa-fsa-payments.md)
>
> Manage HSA/FSA payments in the Flex Dashboard.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.