Flex Checkout is our low-code integration to accept HSA/FSA payments.
New API Key
button and give your key a name. With this key, you can now
make authenticated requests to the Flex API.price_data
.For this example, we’ve created a product eligible via a Letter of Medical Necessity.
To learn more, see the Product docs or
the Product API.product_id
, create a one-time price for $50.99:payment
(one-time purchases) or subscription
.
Learn more about subscription and setup modes in the docs.success_url
: https://withflex.com/thank-you?success=true
cancel_url
: https://withflex.com/thank-you?canceled=true
redirect_url
—send the user there to complete payment:redirect_url
and test with these cards:4242 4242 4242 4242
4000 0000 0000 9995