Braintree Automation
它能做什么
这个工具可以帮你管理在线支付,就像一个虚拟收银员。你可以添加客户、为他们创建订阅、记录支付方式,还能查看交易记录。
适用场景
- ✓当你需要在支付系统中添加新客户时。
- ✓当你需要为客户创建订阅或查看订阅情况时。
- ✓当你想查看支付记录或添加新的银行卡时。
技能链接
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/braintree-automation/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“创建一个名为 John Doe、邮箱为 john@email.com 的客户,并使用价格 'price_monthly' 为他添加一个月度订阅。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会连接到支付系统(Stripe)来执行操作。每项任务都有对应的特定命令,比如创建客户或创建订阅。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Braintree Automation
Automate payment processing operations via Stripe-compatible tooling including managing customers, subscriptions, payment methods, balance transactions, and customer searches. The Composio platform routes Braintree payment workflows through the Stripe toolkit for unified payment management.
Toolkit docs: composio.dev/toolkits/braintree
Setup
This skill requires the Rube MCP server connected at https://rube.app/mcp.
Before executing any tools, ensure an active connection exists for the stripe toolkit. If no connection is active, initiate one via RUBE_MANAGE_CONNECTIONS.
Core Workflows
1. Create and Manage Customers
Create new customers and retrieve existing customer details.
Tools:
STRIPE_CREATE_CUSTOMER-- Create a new customerSTRIPE_GET_CUSTOMERS_CUSTOMER-- Retrieve a customer by IDSTRIPE_POST_CUSTOMERS_CUSTOMER-- Update an existing customerSTRIPE_LIST_CUSTOMERS-- List customers with paginationSTRIPE_GET_V1_CUSTOMERS_SEARCH_CUSTOMERS-- Search customers by email, name, metadata
Key Parameters for STRIPE_CREATE_CUSTOMER:
email-- Customer's primary email addressname-- Full name or business namephone-- Phone number with country codedescription-- Internal reference notesaddress-- Billing address object withline1,city,state,postal_code,country
Key Parameters for STRIPE_GET_V1_CUSTOMERS_SEARCH_CUSTOMERS:
query(required) -- Stripe Search Query Language. Must usefield:valuesyntax:email:'user@example.com'-- Exact match (case insensitive)name~'John'-- Substring match (min 3 chars)metadata['key']:'value'-- Metadata searchcreated>1609459200-- Timestamp comparison- Combine with
ANDorOR(max 10 clauses, cannot mix)
limit-- Results per page (1--100, default 10)
Example:
Tool: STRIPE_CREATE_CUSTOMER
Arguments:
email: "jane@example.com"
name: "Jane Doe"
description: "Enterprise plan customer"
address: {
"line1": "123 Main St",
"city": "San Francisco",
"state": "CA",
"postal_code": "94105",
"country": "US"
}
2. Manage Subscriptions
Create subscriptions and view customer subscription details.
Tools:
STRIPE_CREATE_SUBSCRIPTION-- Create a new subscription for an existing customerSTRIPE_GET_CUSTOMERS_CUSTOMER_SUBSCRIPTIONS-- List all subscriptions for a customerSTRIPE_GET_CUSTOMERS_CUSTOMER_SUBS_SUB_EXPOSED_ID-- Get a specific subscription
Key Parameters for STRIPE_CREATE_SUBSCRIPTION:
customer(required) -- Customer ID, e.g.,"cus_xxxxxxxxxxxxxx"items(required) -- Array of subscription items, each with:price-- Price ID, e.g.,"price_xxxxxxxxxxxxxx"(use this ORprice_data)price_data-- Inline price definition withcurrency,product,unit_amount,recurringquantity-- Item quantity
default_payment_method-- Payment method ID (not required for trials or invoice billing)trial_period_days-- Trial days (no payment required during trial)collection_method--"charge_automatically"(default) or"send_invoice"cancel_at_period_end-- Cancel at end of billing period (boolean)
Key Parameters for STRIPE_GET_CUSTOMERS_CUSTOMER_SUBSCRIPTIONS:
customer(required) -- Customer IDstatus-- Filter:"active","all","canceled","trialing","past_due", etc.limit-- Results per page (1--100, default 10)
Example:
Tool: STRIPE_CREATE_SUBSCRIPTION
Arguments:
customer: "cus_abc123"
items: [{"price": "price_xyz789", "quantity": 1}]
trial_period_days: 14
3. Manage Payment Methods
List and attach payment methods to customers.
Tools:
STRIPE_GET_CUSTOMERS_CUSTOMER_PAYMENT_METHODS-- List a customer's payment methodsSTRIPE_ATTACH_PAYMENT_METHOD-- Attach a payment method to a customer
Key Parameters for STRIPE_GET_CUSTOMERS_CUSTOMER_PAYMENT_METHODS:
customer(required) -- Customer IDtype-- Filter by type:"card","sepa_debit","us_bank_account", etc.limit-- Results per page (1--100, default 10)
Example:
Tool: STRIPE_GET_CUSTOMERS_CUSTOMER_PAYMENT_METHODS
Arguments:
customer: "cus_abc123"
type: "card"
limit: 10
4. View Balance Transactions
Retrieve the history of balance changes for a customer.
…
常见问题
这个工具如何处理金额?
所有金额都以最小的货币单位表示(比如美元对应的是美分)。例如,1000 表示 $10.00。
如果我尝试添加一个已被使用的支付方式会怎样?
如果你尝试添加的支付方式已经绑定到某个客户上,工具可能会报错。
我可以创建带有免费试用期的订阅吗?
可以,你在创建订阅时可以设置免费试用的天数。
详情
作者的原始描述
Braintree Automation: manage payment processing via Stripe-compatible tools for customers, subscriptions, payment methods, and transactions
热度
- GitHub 星标
- 77k
- 排名
- #1868
- 许可证
- —
- 更新时间
- 2026/9/18
评论
- …
同一仓库的更多技能
artifacts-builder
77k帮助你的智能体构建复杂的用户界面。它借助现代技术,创建功能丰富的交互式网页。
brand-guidelines
77k帮助你的智能体把官方品牌色和字体应用到各类材料中。适合需要体现公司视觉形象的场景,保持视觉统一。
canvas-design
77k让你的智能体创作 .png 和 .pdf 格式的原创视觉作品。当用户需要海报、艺术作品或其他静态设计时使用。
changelog-generator
77k帮助你的智能体根据代码提交记录撰写面向用户的更新说明。它能把技术内容转换成通俗易懂的文字。