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

359 B

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
  • query: Query
  • command: Command
  • robot: Robot

pub fn new(query: Query, command: Command, robot: Robot) -> Self

  • Reads environment and populates members