Set up a free Heroku account.
Obtain your Stripe secret, test mode API Key, available in the Dashboard. Note that you must use your secret key, not your publishable key, to set up the backend. For more information on the differences between secret and publishable keys, see API Keys. For more information on test mode, see Test and live modes.
Click the button below to deploy the example backend. You'll be prompted to enter a name for the Heroku application as well as your Stripe API key.
Note that this backend is intended for example purposes only. Because endpoints are not authenticated, you should not use this backend in production.
If you prefer running the backend locally:
.envand add the following line
The example backend should now be running at