How It Works
The custom integration flow:- Sync your product catalog — Send products to Gale via the Products API. Gale determines HSA/FSA eligibility automatically.
- Create a checkout session — When a customer checks out, create a session via the Checkout API. You get back a
checkout_urlto redirect the customer to. - Customer pays — On Gale’s hosted checkout page, the customer enters payment details. Gale handles HSA/FSA card detection, eligibility verification, and LMN flow for dual-purpose items.
- Receive confirmation — Gale sends an
order.createdwebhook when payment succeeds. You can also poll the Orders API. - Fulfill the order — Use the
reference_idyou passed during checkout creation to match the order back to your system.
Get Started
Quickstart
Create your first checkout session in minutes with curl examples.
Integration Flow
Full end-to-end walkthrough: product sync, eligibility, checkout, payment, webhooks, and refunds.
API Reference
Complete endpoint documentation for products, checkout, orders, and more.
Webhooks
Receive real-time notifications for payments, orders, and product updates.
