<!--
This file was generated by Spark. Do not edit it by hand.
-->
# AshBilling.Resource

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

## Usage

    defmodule MyApp.Accounts.User do
      use Ash.Resource,
        domain: MyApp.Accounts,
        extensions: [AshBilling.Resource]

      billing do
        customer_id_attribute :stripe_customer_id
        provider AshBilling.Providers.Stripe
      end
    end


## billing
Configuration for billing customer functionality.






### Options

| Name | Type | Default | Docs |
|------|------|---------|------|
| [`customer_id_attribute`](#billing-customer_id_attribute){: #billing-customer_id_attribute } | `atom` | `:stripe_customer_id` | The attribute name on the resource that stores the billing customer ID. |
| [`provider`](#billing-provider){: #billing-provider } | `module` | `AshBilling.Providers.Stripe` | The billing provider module. |







<style type="text/css">.spark-required::after { content: "*"; color: red !important; }</style>
