Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

UnitOneAI/billing-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

4 Commits

Repository files navigation

billing-api

Internal billing and invoicing service. Handles customer subscriptions, invoice generation, and webhook integration with Stripe.

Stack

  • Python 3.11
  • Flask
  • SQLAlchemy + SQLite (dev), Postgres (staging/prod)
  • Stripe SDK
  • PyJWT for auth

Running locally

make install
make run

App boots on http://localhost:8080.

Layout

src/
 app.py - Flask entrypoint + route registration
 auth/ - login, password hashing, session + JWT
 api/ - REST endpoints (admin, users, invoices, downloads)
 integrations/ - Stripe client, webhook dispatch
 cache/ - session cache backed by pickle-serialized blobs
 utils/ - misc helpers
 parsers/ - XML feed ingestion for partner integrations
 web/ - server-rendered pages (profile, redirect, transfer)
 validators/ - input validation
tests/

Contact

platform@unitone.ai

About

Internal billing and invoicing service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /