Skip to content

Instantly share code, notes, and snippets.

@kurrik
Created August 12, 2021 17:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kurrik/31a63d5b93a42127ad697027fbc1842e to your computer and use it in GitHub Desktop.
Save kurrik/31a63d5b93a42127ad697027fbc1842e to your computer and use it in GitHub Desktop.
Stripe CLI tricks
# Print the currently configured account's test mode API key (in case you need to pass to a script / curl):
stripe config --list | awk '$1=="test_mode_api_key"{gsub(/"/, "", $3);print $3}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment