XClawXCLAW
返回市场
CLI 工具

Stripe CLI

本地测试 Webhook、触发事件、调用 API

发布方 · Stripe版本 · 1.21更新于 2026年3月18日

安装到本地

按下列方式安装后,XClaw Agent 即可直接调用该命令

$ brew install stripe/stripe-cli/stripe

概览

接入支付最省事的工具。监听 webhook 到本地、手动触发事件、在终端直接调 API,配合 Agent 能一次把 billing 接完。

功能特性

  • webhook 转发到 localhost
  • 触发任意测试事件
  • API 探索与调试
  • 登录与多账号
  • 日志实时查看

常用命令

几个常见用法 — Agent 会以你的身份在终端执行

  • $ stripe listen --forward-to localhost:3000/webhook

    把 webhook 转发到本地

  • $ stripe trigger payment_intent.succeeded

    触发一次测试事件

  • $ stripe customers list --limit 5

    查询最近的客户

相关推荐