Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.46 KB

README.md

File metadata and controls

33 lines (25 loc) · 1.46 KB

Stripe-Haskell-Library

CircleCI

This code is auto-generated by Haskell-OpenAPI-Client-Code-Generator available on Hackage.

Generation

The files were auto-generated and formatted (with ormolu) with:

openapi3-code-generator-exe stripe-api.yml --force --property-type-suffix="'" --module-name "StripeAPI" --convert-to-camel-case --omit-additional-operation-functions --package-name "stripeapi"
for file in $(find src -name "*.hs"); do LC_ALL=C.UTF-8 ormolu -m inplace $file; done

How to use

See example/src/StripeHandling.hs for an example usage. The example can be run as follows (add your Stripe API key to example/src/StripeHandling.hs):

cd example
stack run --fast

On the package level

From hackage

  • install cabal
  • cabal install stripeapi (This may take a while)

From source

See https://github.com/Haskell-OpenAPI-Code-Generator/Haskell-OpenAPI-Client-Code-Generator#example-package for an example project generated with the same code generator.

Hackage

This library is available at https://hackage.haskell.org/package/stripeapi.