Skip to content

feat(payments): add Stripe-backed billing module - #364

Merged
devIKargi merged 1 commit into
StellAIverse:mainfrom
No-bodyq:feat/payments-module
Jul 26, 2026
Merged

feat(payments): add Stripe-backed billing module#364
devIKargi merged 1 commit into
StellAIverse:mainfrom
No-bodyq:feat/payments-module

Conversation

@No-bodyq

Copy link
Copy Markdown
Contributor

Adds a Payments module built on Stripe: customer creation, subscription lifecycle (create/update/cancel), invoice/billing history endpoints, and a signature-verified webhook that idempotently records subscription updates and charge/invoice transactions.

  • POST/GET/PATCH/DELETE /payments/subscriptions, POST /payments/customer, GET /payments/invoices, GET /payments/transactions
  • POST /payments/webhook verifies the Stripe signature and records each event id before processing so retried deliveries are skipped
  • Config: STRIPE_SECRET_KEY, STRIPE_WEBHOOK_SECRET (see src/payments/README.md for Stripe CLI test steps)
  • Tests cover customer creation, subscription create/update/cancel, transaction recording, and webhook idempotency/failure handling

Closes #352

Adds customer, subscription, and invoice management on top of Stripe,
plus a signature-verified webhook endpoint that idempotently records
subscription updates and charge/invoice transactions.

Closes StellAIverse#352
@devIKargi
devIKargi merged commit c1eb7db into StellAIverse:main Jul 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build Payments module: subscription & webhook-backed billing

2 participants