API Reference ash_billing v#0.1.1

Copy Markdown View Source

Modules

Top-level API for AshBilling.

An Ash policy check that authorizes if the current actor has an active subscription to a specific price.

An Ash policy check that authorizes if the current actor has an active billing subscription.

Deduplication engine for billing webhook events.

A Plug for receiving and verifying incoming webhooks from billing providers.

Defines the behavior for billing providers (Stripe, Paddle, LemonSqueezy, etc.).

A Spark DSL extension for Ash resources representing billing customers (e.g., User or Organization).

Introspection helpers for resources using AshBilling.Resource.

A Spark DSL extension for Ash resources storing subscriptions in the database.

Introspection helpers for resources using AshBilling.Subscription.

A Spark DSL extension for Ash resources representing processed webhook events.

Synchronizes incoming billing webhook events with Ash resources.

Mix Tasks

Installs AshBilling into a project. Should be called with mix igniter.install ash_billing