useListPlans hook fetches all available plans configured in your Autumn dashboard. Use this to build custom pricing pages or plan selectors.
Parameters
Optional TanStack Query options to customize caching and refetching behavior.
Fetch the list of available plans
useListPlans hook fetches all available plans configured in your Autumn dashboard. Use this to build custom pricing pages or plan selectors.
dataisLoadingerrorrefetch()