Stripe Connector
Overview
The Stripe Data Connector provides an instant adapter for Engine v3 to request Stripe resources via GraphQL. This connector is built upon the REST connector and Stripe's OpenAPI Specification.
Prerequisites
- Create a Hasura Cloud account
- Please ensure you have the DDN CLI and Docker installed
- Create a supergraph
- Create a subgraph
The steps below explain how to initialize and configure a connector on your local machine (typically for development purposes).You can learn how to deploy a connector to Hasura DDN — after it's been configured — here.
Using the Stripe connector
With the context set for an existing subgraph, initialize
the connector by choosing hasura/stripe
. When the wizard runs, you'll also be prompted to enter the following env
vars necessary for your connector to function.
After the CLI initializes the connector, you'll need to:
- Introspect the source.
- Add your models and commands.
- Create a new build.
- Test it by running your project along with the connector
See all available variables here.
License
The Hasura Stripe connector is available under the Apache License 2.0.