Stripe CLI 是一个开发者工具,可以帮助您直接从终端建立、测试和管理与 Stripe 的集成。Stripe CLI 安装简单,可在 macOS、Windows 和 Linux 上使用,并提供了一系列的功能,使您在 Stripe 上的开发者体验更好。
Stripe CLI
-
安全地测试 webhooks,无需依赖第三方隧道软件
-
触发 webhook 事件以轻松测试您的集成
-
在本地接收 API 请求日志
-
创建、检索、更新和删除 API 对象
按照下面的步骤开始使用 Stripe CLI
- 通过 homebrew 安装
brew install stripe/stripe-cli/stripe
- 登陆 stripe 账号
# stripe login
- 更新 stripe
brew upgrade stripe/stripe-cli/stripe