Skip to content

guillaumeboudon/lambda-nodjs-stripe-subscriptions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lambda-nodjs-stripe-subscriptions

Lambda in Node.js, to handle subscriptions to a stripe plan.

Do a POST request with the following JSON body:

{
  "stripeEmail": "john@doe.com",
  "stripeToken": "tok_visa",
  "stripePlanId": "subscription-id"
}

It will create a new Stripe user, with his email address, and his card details. Then, it will subscribe him to the defined plan.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published