Skip to content

Repository files navigation

Payrix GraphQL

Explore the Payrix API through GraphiQL here.

Payrix GraphQL

This was done mostly as an exploration in exposing an external, uncontrolled service through GrahpQL, when the service itself provides nesting functionality.

Installation

This Rails application requires Ruby version 3.2.2. You can install that with https://github.com/rbenv/rbenv.

git clone git@github.com:harrylewis/payrix-graphql.git
cd ./payrix-graphql
bundle install

Usage

Run the server.

bundle exec rails server

Navigate to http://localhost:3000. You can pass in the following headers through the GraphiQL interface.

  • API_KEY - Set this to your private Payrix API key.
  • API_PRODUCTION_MODE - Set this to "enabled" to use the Production environment. Otherwise, the Sandbox environment will be used.

About

Query the Payrix API with GraphQL

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages