Skip to content

Instantly share code, notes, and snippets.

@SimonHoiberg
Created June 19, 2020 14:15
Show Gist options
  • Save SimonHoiberg/19eef6354a98c00d7d46317c7808431f to your computer and use it in GitHub Desktop.
Save SimonHoiberg/19eef6354a98c00d7d46317c7808431f to your computer and use it in GitHub Desktop.
# serverless.yml
stripe-handle-subscription:
handler: dist/lambdas/stripe/handleSubscription.handler
events:
- http:
path: stripe/handle-subscription
method: post
environment:
STRIPE_SECRET_KEY: PUT-YOUR-SECRET-KEY-HERE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment