Skip to content

Instantly share code, notes, and snippets.

@SimonHoiberg
Created June 19, 2020 14:19
Show Gist options
  • Save SimonHoiberg/343426aacedee83b5d9d35d518bb1ff8 to your computer and use it in GitHub Desktop.
Save SimonHoiberg/343426aacedee83b5d9d35d518bb1ff8 to your computer and use it in GitHub Desktop.
# serverless.yml
stripe-retry-invoice:
handler: dist/lambdas/stripe/updatePaymentMethod.handler
events:
- http:
path: stripe/retry-invoice
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