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

# Get Checkout Types

> Returns the available resource types, tariff types, and product types for the checkout flow.

# Get Checkout Types

Returns the system enum values for resource types, tariff types, and product types available in the checkout flow. Used to configure the checkout UI based on what the operator has enabled for members vs. contacts.

## Authentication

No authentication required.

## Query Parameters

<ParamField query="onlyVisible" type="boolean" required>
  When `true`, returns only types the operator has made visible in the portal.
</ParamField>

<ParamField query="businessId" type="number">
  Optional business ID to scope types to a specific location.
</ParamField>

## Response

<ResponseField name="ResourceTypes" type="eSystemResourceType[]" required>
  All resource types available for checkout.
</ResponseField>

<ResponseField name="TariffTypes" type="eTariffType[]" required>
  All tariff/plan types available for checkout.
</ResponseField>

<ResponseField name="ProductTypes" type="eProductType[]" required>
  All product types available for checkout.
</ResponseField>

<ResponseField name="ResourceTypesMembers" type="eSystemResourceType[]" required>
  Resource types available specifically to members.
</ResponseField>

<ResponseField name="ResourceTypesContacts" type="eSystemResourceType[]" required>
  Resource types available specifically to contacts.
</ResponseField>

<ResponseField name="ProductTypesMembers" type="eProductType[]" required>
  Product types available specifically to members.
</ResponseField>

<ResponseField name="ProductTypesContacts" type="eProductType[]" required>
  Product types available specifically to contacts.
</ResponseField>

## Examples

### Fetch checkout types

```http theme={null}
GET /api/public/checkout/types?onlyVisible=true
```

## TypeScript Integration

```typescript theme={null}
import endpoints from '@/api/endpoints'

const { resource: types } = useTypedData(httpClient, endpoints.checkout.types(true))
```
