stripe

Interact with a Stripe account.

TLDR

Follow the logs of activity on the account

>_ stripe logs tail
copy

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]"
copy

Send a test webhook event

>_ stripe trigger [charge.succeeded]
copy

Create a customer

>_ stripe customers create --email="[test@example.com]" --name="[Jenny Rosen]"
copy

Print to JSON

>_ stripe listen --print-json
copy

Copied to clipboard
free 100$ digital ocean credit