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

# HsaCheckout

> An HSA/FSA checkout the store created for an order on its own platform. The shopper pays it on Redo's hosted checkout.

**Required scopes:** [`payments_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-payments_read), [`payments_write`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-payments_write)

**createdAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the checkout was created.

**id** `ID!` *required*

The id of the checkout.

**payment** `[HsaCheckoutPayment](/docs/api-reference/v3/reference/payments/hsa-checkout-payment)`

The checkout's payment, read live from the payments provider. Null when the provider has no record of it. An unreachable provider fails with PAYMENTS\_PROVIDER\_UNAVAILABLE (503).

**Requires:** [`payments_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-payments_read)

**fields**

**balanceDue** `Boolean!` *required*

Whether the HSA/FSA card covered only part of the total and a second card must pay the rest. While true, the checkout is not fully paid.

**state** `[HsaCheckoutPaymentState!](/docs/api-reference/v3/reference/payments/hsa-checkout-payment-state)` *required*

Where the payment is.

**paymentUrl** `String!` *required*

Where to send the shopper to pay. Use it as given: it may be Redo's checkout or the payments provider's page.

**reference** `String!` *required*

The store's order reference the checkout was created for, such as an order number.


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