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

# CheckoutState

> Checkout state response



**Kind**: `object`

## Fields

**`activeSubscription`**: `CustomerSubscription`

The current active subscription

---

**`billingIntegration`**: `CheckoutBillingIntegration!`

Current billing integration

---

**`configuration`**: `CheckoutConfiguration`

The checkout configuration

---

**`customer`**: `Customer!`

The customer

---

**`plan`**: `Plan!`

The selected plan

---

**`resource`**: `CustomerResource`

The resource

---

**`setupSecret`**: `String!`

The billing setup secret

> Deprecated: Use billingIntegration.billingCredentials.setupSecret instead



## Related topics

- [checkoutState](https://docs.stigg.io/graphql-reference/queries/checkoutState.md)
- [CheckoutStateInput](https://docs.stigg.io/graphql-reference/types/CheckoutStateInput.md)
- [Checkout](https://docs.stigg.io/documentation/snap-in-widgets/checkout.md)
- [JavaScript SDK](https://docs.stigg.io/api-and-sdks/changelog/frontend/javascript.md)
- [Embed SDK](https://docs.stigg.io/api-and-sdks/changelog/frontend/embed.md)


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