Created
November 14, 2017 09:26
-
-
Save loujaybee/4d84f576868de9bbae6ae39f40d5ceb3 to your computer and use it in GitHub Desktop.
stripeCreatePlan.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| stripe.plans.create( | |
| { | |
| amount: 1000, | |
| name: "A monthly membership", | |
| id: "monthly-membership", | |
| interval: "month", | |
| currency: "gbp" | |
| }, | |
| { | |
| stripe_account: "your-account-id-from-step-1" | |
| } | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment