stripe
Interact with a Stripe account. More information: https://github.com/stripe/stripe-cli.
-
Follow the logs of activity on the account:
stripe logs tail
-
Listen for events, filtering on events with the name
charge.succeeded
and forwarding them to localhost:3000/events:
stripe listen --events="{{charge.succeeded}}" --forward-to="{{localhost:3000/events}}"
-
Send a test webhook event:
stripe trigger {{charge.succeeded}}
-
Create a customer:
stripe customers create --email="{{[email protected]}}" --name="{{Jenny Rosen}}"
-
Print to JSON:
stripe listen --print-json
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.