UNPKG

@redwoodjs-stripe/api

Version:

API-side code for RedwoodJS-Stripe projects

19 lines (17 loc) 883 B
# redwoodjs-stripe/api This package handles code for the api side of the [redwoodjs-stripe](https://github.com/chrisvdm/redwoodjs-stripe) plugin. ### Use 1. Run plugin setup script. Follow the prompts _No need to install, the setup script sorts all this out for you._ ```js npx @redwoodjs/cli@latest setup ``` 2. To use the api side code import code like this: ```js import { createStripeCustomer } from '@redwoodjs-stripe/api' ``` Refer to the [documentation](https://github.com/chrisvdm/redwoodjs-stripe/wiki) for more information. ### Useful links - [Plugin Documentation](https://github.com/chrisvdm/redwoodjs-stripe/wiki). - [API reference](https://github.com/chrisvdm/redwoodjs-stripe/wiki/API-Reference#api-side-api-reference) - [redwoodjs-stripe Repo](https://github.com/chrisvdm/redwoodjs-stripe) - [Example store Repo](https://github.com/redwoodjs/example-store-stripe)