Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getChargesChargeRefunds
Synopsis
- getChargesChargeRefunds :: forall m. MonadHTTP m => GetChargesChargeRefundsParameters -> StripeT m (Response GetChargesChargeRefundsResponse)
- data GetChargesChargeRefundsParameters = GetChargesChargeRefundsParameters {}
- mkGetChargesChargeRefundsParameters :: Text -> GetChargesChargeRefundsParameters
- data GetChargesChargeRefundsResponse
- data GetChargesChargeRefundsResponseBody200 = GetChargesChargeRefundsResponseBody200 {}
- mkGetChargesChargeRefundsResponseBody200 :: [Refund] -> Bool -> Text -> GetChargesChargeRefundsResponseBody200
Documentation
getChargesChargeRefunds Source #
:: forall m. MonadHTTP m | |
=> GetChargesChargeRefundsParameters | Contains all available parameters of this operation (query and path parameters) |
-> StripeT m (Response GetChargesChargeRefundsResponse) | Monadic computation which returns the result of the operation |
GET /v1/charges/{charge}/refunds
<p>You can see a list of the refunds belonging to a specific charge. Note that the 10 most recent refunds are always available by default on the charge object. If you need more than those 10, you can use this API method and the <code>limit</code> and <code>starting_after</code> parameters to page through additional refunds.</p>
data GetChargesChargeRefundsParameters Source #
Defines the object schema located at paths./v1/charges/{charge}/refunds.GET.parameters
in the specification.
GetChargesChargeRefundsParameters | |
|
mkGetChargesChargeRefundsParameters Source #
Create a new GetChargesChargeRefundsParameters
with all required fields.
data GetChargesChargeRefundsResponse Source #
Represents a response of the operation getChargesChargeRefunds
.
The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), GetChargesChargeRefundsResponseError
is used.
GetChargesChargeRefundsResponseError String | Means either no matching case available or a parse error |
GetChargesChargeRefundsResponse200 GetChargesChargeRefundsResponseBody200 | Successful response. |
GetChargesChargeRefundsResponseDefault Error | Error response. |
data GetChargesChargeRefundsResponseBody200 Source #
Defines the object schema located at paths./v1/charges/{charge}/refunds.GET.responses.200.content.application/json.schema
in the specification.
GetChargesChargeRefundsResponseBody200 | |
|
mkGetChargesChargeRefundsResponseBody200 Source #
:: [Refund] | |
-> Bool | |
-> Text | |
-> GetChargesChargeRefundsResponseBody200 |
Create a new GetChargesChargeRefundsResponseBody200
with all required fields.