feat: add Stripe integration with 9 tables and 5 report templates#78
Merged
Empreiteiro merged 1 commit intomainfrom Mar 18, 2026
Merged
feat: add Stripe integration with 9 tables and 5 report templates#78Empreiteiro merged 1 commit intomainfrom
Empreiteiro merged 1 commit intomainfrom
Conversation
Add full Stripe integration allowing users to connect their Stripe account and query customers, subscriptions, invoices, charges, products, prices, refunds, payouts, and disputes using natural language. New files: - backend/app/scripts/ask_stripe.py: Q&A engine for Stripe data - backend/app/routers/stripe_router.py: test-connection, discover, refresh endpoints - src/components/StripeSourceForm.tsx: frontend form with API key input and resource discovery Modified files: - backend/app/routers/ask.py: route Stripe source type to ask_stripe - backend/app/routers/crud.py: add "stripe" to valid source types - backend/app/main.py: register stripe_router - src/components/AddSourceModal.tsx: add Stripe to source picker - src/services/apiClient.ts: add stripeTestConnection, stripeDiscover, stripeRefreshMetadata - src/contexts/LanguageContext.tsx: add Stripe i18n keys for EN, PT, ES Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
f9872e8 to
b384dd0
Compare
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
stripe)sk_...)starting_after/has_moreNew files
backend/app/scripts/ask_stripe.py- Q&A logic with Stripe API fetching, SQLite loading, and LLM interactionbackend/app/routers/stripe_router.py- FastAPI endpoints: test-connection, discover, refresh-metadatasrc/components/StripeSourceForm.tsx- React form component with password input, test button, resource previewModified files
backend/app/routers/ask.py- Routestripesource type toask_stripebackend/app/routers/crud.py- Addstripeto valid source typesbackend/app/main.py- Registerstripe_routersrc/components/AddSourceModal.tsx- Add Stripe to source options and render formsrc/services/apiClient.ts- AddstripeTestConnection,stripeDiscover,stripeRefreshMetadatasrc/contexts/LanguageContext.tsx- Add i18n keys for EN, PT, ESTest plan
npm run typecheckpasses (confirmed)sk_test_...)Closes #66
🤖 Generated with Claude Code