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

Safe HaskellNone
LanguageHaskell2010

Mollie.API.Refunds

Synopsis

Documentation

refundsPath :: Text Source #

Refund resource's path, relative to API's versioned url or to a Payment resource url.

getRefunds Source #

Arguments

:: Int

offset

-> Int

count

-> Mollie (Either ResponseError (List Refund)) 

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

For more information see: https://www.mollie.com/en/docs/reference/refunds/list-all.

data RefundStatus Source #

All possible statusses a refund could be assigned.

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

Constructors

RefundPending

The payment will be processed soon (usually the next business day). The refund could still be cancelled, see: https://www.mollie.com/en/docs/reference/refunds/delete.

RefundProcessing

The refund is processing, cancellation is no longer possible.

RefundRefunded

The refund has been paid out the the customer.

data Refund Source #

Representation of a refund made with Mollie.

Note that the amount is curently returned as text because Mollie does not return it as a valid json number.

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

Constructors

Refund 

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 a0 => FromJSON (List a0) Source # 

Methods

parseJSON :: Value -> Parser (List a0) #

data ResponseError Source #

Response errors which could happen when requesting resources from Mollie.