mollie-api-haskell-0.2.0.0: Mollie API client for Haskell http://www.mollie.com

Safe HaskellNone
LanguageHaskell2010

Mollie.API

Synopsis

Documentation

type Mollie a = ReaderT Env IO a Source #

Reader wrapper with Mollie Env.

data Env Source #

Environment to run requests to Mollie with.

createEnv Source #

Arguments

:: Text

key

-> IO Env 

Create a new Env from a Mollie API key.

This key should start with either test_ or live_.

runMollie :: Env -> Mollie a -> IO a Source #

Runs handlers with the provided environment against the Mollie API.

liftIO :: MonadIO m => forall a. IO a -> m a #

Lift a computation from the IO monad.