Stripe connector provides instant queries and mutations to request Stripe API resources.
This connector is built using the NDC Rest with Stripe's OpenAPI Specification.
Name | Description | Default Value |
---|---|---|
STRIPE_SERVER_URL | The base server URL of Stripe API | https://api.stripe.com |
STRIPE_BASIC_AUTH_TOKEN | Basic authentication token | |
STRIPE_BEARER_AUTH_TOKEN | Bearer authentication token | |
STRIPE_TIMEOUT | Default request timeout in seconds | 30 |
STRIPE_RETRY_TIMES | Number of retry times | 0 |
STRIPE_RETRY_DELAY | Delay time between each retry in milliseconds | 1000 |
STRIPE_RETRY_HTTP_STATUS | Retry on HTTP status | 429, 500, 502, 503 |
Copy .env.example
to .env
and start Docker Compose:
docker-compose up -d --build
The connector serves the HTTP service at http://localhost:8080
and connect to the internal stripe-mock
service.
NDC_REST_VERSION=<version> make update-deps
Update VERSION
in Makefile and run:
make build-schema