Files
caravel/backend/spec/billing.md
T
2026-04-01 15:23:02 -07:00

14 lines
316 B
Markdown

# `pub struct Billing`
Billing encapsulates logic related to synchronizing state with Stripe.
Members:
- `nwc_url: String` - a nostr wallet connect URL used to **create** bolt11 invoices
- `repo: Repo`
- `robot: Robot`
## `pub fn new(repo: Repo, robot: Robot) -> Self`
- Reads environment and populates members