> ## 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.

# Introduction

> Welcome to Flex. The easiest way to start accepting [HSA](https://www.healthcare.gov/glossary/health-savings-account-hsa/)/[FSA](https://www.healthcare.gov/glossary/flexible-spending-account-fsa/) Payments

Flex offers a hosted checkout page to integrate HSA/FSA payments directly in your existing payments flow. Flex offers two paths to accept HSA/FSA cards at checkout.

## Auto substantiation

If you're an ecommerce store selling HSA/FSA eligible products, you're required by the IRS to use an [Inventory
Information Approval System (IIAS)](https://www.sig-is.org/resources/faq/programs/iias-certification#WhatisaninventoryinformationapprovalsystemasspecifiedbytheIRS). This system
must auto-substantiate HSA/FSA transactions at the point of sale in order for customers to use their HSA/FSA cards. Flex
offers this system for our merchants.

## Letter of Medical Necessity

If you're a wellness business (fitness, nutrition, sleep, etc), your product or service may not be explicitly eligible
by the IRS. Customers must receive a Letter of Medical Necessity from a licensed healthcare provider deeming your product medically necessary
before you can accept HSA/FSA funds. Flex can issue a Letter of Medical Necessity directly in the checkout flow, providing
a compliant checkout experience for your customers.

## Integration

Flex provides an [API based integration](https://docs.withflex.com/developer-guides/integration/checkout/how-checkout-works.md), a
[Shopify Flex Payments app](https://docs.withflex.com/developer-guides/integration/shopify/overview.md), and a
[WooCommerce plugin](https://docs.withflex.com/developer-guides/integration/woocommerce/overview.md), making it easy to get started.

## AI assistants

Connect Claude, Cursor, Windsurf, or any other Model Context Protocol-compatible client to your Flex account using the [Flex MCP](https://docs.withflex.com/developer-guides/integration/mcp/overview.md). Look up payment intents, draft dispute responses, reconcile captures, or manage subscriptions from natural-language prompts.


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