Repository navigation
feat(api): mount subscriptions, payment-retry, and payment-methods (#808–#811) - #910
Merged
github-actions[bot] merged 1 commit intoSep 26, 2026
Conversation
…uters Resolves Smartdevs17#808 — wire Stripe subscription billing routes at /api/v1/subscriptions (already implemented in routes/subscriptions.ts + services/stripe.ts). Resolves Smartdevs17#809 — invoice generation with PDF export was already mounted at /api/v1/invoice (GET /:id/pdf via buildInvoicePdf); documented alongside the related mounts so the four billing issues land together. Resolves Smartdevs17#810 — wire payment retry (exponential backoff) at /api/v1/payment-retry (routes/retry.ts + services/retry/*). Resolves Smartdevs17#811 — wire multiple payment methods per account at /api/v1/payment-methods (routes/payment-methods.ts).
|
@stephanieefeakpokrire-droid is attempting to deploy a commit to the smartdevs17's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@stephanieefeakpokrire-droid Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
These four Stellar Wave billing features were largely implemented but three of the routers were never mounted on the API (same class of gap as #816–#819 in PR #903). This PR wires them in.
subscriptionsRouterat/api/v1/subscriptions/api/v1/invoice(GET /:id/pdf); called out next to the related mounts so the batch closes togetherretryRouterat/api/v1/payment-retrypaymentMethodsRouterat/api/v1/payment-methodsTest plan
/api/v1after bootGET/POST /api/v1/subscriptions(withx-tenant-id)GET /api/v1/invoice/:id/pdfreturnsapplication/pdfGET /api/v1/payment-retry/analyticsPOST/GET /api/v1/payment-methodsResolves #808
Resolves #809
Resolves #810
Resolves #811