Skip to main content
GET
/
api
/
public
/
checkout
/
types
{
  "ResourceTypes": [
    {}
  ],
  "TariffTypes": [
    {}
  ],
  "ProductTypes": [
    {}
  ],
  "ResourceTypesMembers": [
    {}
  ],
  "ResourceTypesContacts": [
    {}
  ],
  "ProductTypesMembers": [
    {}
  ],
  "ProductTypesContacts": [
    {}
  ]
}

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

onlyVisible
boolean
required
When true, returns only types the operator has made visible in the portal.
businessId
number
Optional business ID to scope types to a specific location.

Response

ResourceTypes
eSystemResourceType[]
required
All resource types available for checkout.
TariffTypes
eTariffType[]
required
All tariff/plan types available for checkout.
ProductTypes
eProductType[]
required
All product types available for checkout.
ResourceTypesMembers
eSystemResourceType[]
required
Resource types available specifically to members.
ResourceTypesContacts
eSystemResourceType[]
required
Resource types available specifically to contacts.
ProductTypesMembers
eProductType[]
required
Product types available specifically to members.
ProductTypesContacts
eProductType[]
required
Product types available specifically to contacts.

Examples

Fetch checkout types

GET /api/public/checkout/types?onlyVisible=true

TypeScript Integration

import endpoints from '@/api/endpoints'

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