HookSniff.Billing (hooksniff v1.1.1)
Billing and subscription management.
Summary
Functions
@spec plan(HookSniff.t()) :: {:ok, map()} | {:error, term()}
Get current billing plan
@spec portal(HookSniff.t()) :: {:ok, map()} | {:error, term()}
Open billing portal
@spec upgrade(HookSniff.t(), map()) :: {:ok, map()} | {:error, term()}
Upgrade billing plan