File tree Expand file tree Collapse file tree 3 files changed +36
-0
lines changed
Expand file tree Collapse file tree 3 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ import os
2+ from stripe_agent_toolkit .crewai .toolkit import StripeAgentToolkit
3+ from dotenv import load_dotenv
4+ load_dotenv ()
5+
6+ stripe_tools = StripeAgentToolkit (
7+ secret_key = os .getenv ("STRIPE_SECRET_KEY" ),
8+ configuration = {
9+ "actions" : {
10+ "payment_links" : {
11+ "create" : True ,
12+ "read" : True ,
13+ "update" : False
14+ },
15+ "products" : {
16+ "create" : True ,
17+ "update" : True
18+ },
19+ "prices" : {
20+ "create" : True ,
21+ "update" : True
22+ },
23+ }
24+ }).get_tools ()
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " stripe" ,
3+ "package" : " poetry add stripe-agent-toolkit stripe" ,
4+ "env" : " STRIPE_SECRET_KEY=sk-..." ,
5+ "tools_bundled" : true ,
6+ "tools" : [" stripe_tools" ],
7+ "cta" : " 🔑 Create your Stripe API key here: https://dashboard.stripe.com/account/apikeys"
8+ }
Original file line number Diff line number Diff line change 4646 "search" : [{
4747 "name" : " perplexity" ,
4848 "url" : " https://perplexity.ai"
49+ }],
50+ "application-specific" : [{
51+ "name" : " stripe" ,
52+ "url" : " https://github.com/stripe/agent-toolkit"
4953 }]
5054}
You can’t perform that action at this time.
0 commit comments