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

Safe HaskellNone
LanguageHaskell2010

Mollie.API.Methods

Synopsis

Documentation

methodsPath :: Text Source #

Payment method resource's path, relative to API's versioned url.

getMethod Source #

Arguments

:: PaymentMethod 
-> Text

locale

-> Mollie (Either ResponseError Method) 

Handler to get a payment method by its identifier.

Fails on payment methods which are not enabled.

For more information see: https://www.mollie.com/en/docs/reference/methods/get.

getMethods Source #

Arguments

:: Text

locale

-> Int

offset

-> Int

count

-> Mollie (Either ResponseError (List Method)) 

Handler to get a list of payment methods. Because the list endpoint is paginated this handler requires an offset and a count. The maximum amount of payment methods returned with a single call is 250.

For more information see: https://www.mollie.com/en/docs/reference/methods/list.

data MethodAmount Source #

Minimum and maximum amounts for a payment method.

Note that the amounts are curently returned as text because Mollie does not return them as valid json numbers.

Constructors

MethodAmount 

Fields

data MethodImage Source #

Images associated with a payment method.

Constructors

MethodImage 

Fields

data Method Source #

Representation of a payment method available at Mollie.

For more information see: https://www.mollie.com/en/docs/reference/methods/get.

Constructors

Method 

Fields

data ListLinks Source #

Important links associated with List responses.

Constructors

ListLinks 

Fields

data List a Source #

List response for any resource with metadata.

For more information see: https://www.mollie.com/nl/docs/reference/payments/list.

Constructors

List 

Fields

Instances

Show a => Show (List a) Source # 

Methods

showsPrec :: Int -> List a -> ShowS #

show :: List a -> String #

showList :: [List a] -> ShowS #

FromJSON a => FromJSON (List a) Source # 

data ResponseError Source #

Response errors which could happen when requesting resources from Mollie.