Safe Haskell | None |
---|---|
Language | Haskell2010 |
- refundsPath :: Text
- getRefunds :: Int -> Int -> Mollie (Either ResponseError (List Refund))
- data RefundStatus
- data Refund = Refund {}
- data ListLinks = ListLinks {}
- data List a = List {
- list_totalCount :: Int
- list_offset :: Int
- list_count :: Int
- list_data :: [a]
- list_links :: Maybe ListLinks
- data ResponseError
Documentation
refundsPath :: Text Source #
Refund resource's path, relative to API's versioned url or to a Payment resource url.
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.
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. |
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.
Refund | |
|
Important links associated with List responses.
ListLinks | |
|
List response for any resource with metadata.
For more information see: https://www.mollie.com/nl/docs/reference/payments/list.
List | |
|
data ResponseError Source #
Response errors which could happen when requesting resources from Mollie.