stripe
Interact with Stripe payment processor. Some subcommands such as
docs,listen, andlogshave their own usage documentation. More information: https://docs.stripe.com/cli.
- Browse Stripe documentation:
stripe docs
- Follow the logs of activity on the account:
stripe logs tail
- Listen for events, filtering on events with the name
charge.succeededand forwarding them to localhost:3000/events:
stripe listen --events="" --forward-to=""
- Send a test webhook event:
stripe trigger
- Create a customer:
stripe customers create --email "" --name ""
- Print to JSON:
stripe listen --print-json
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
