stripeapi-1.0.0.0: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetChargesChargeRefunds

Description

Contains the different functions to run the operation getChargesChargeRefunds

Synopsis

Documentation

getChargesChargeRefunds Source #

Arguments

:: 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.

Constructors

GetChargesChargeRefundsParameters 

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.

Constructors

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.

Constructors

GetChargesChargeRefundsResponseBody200 

Fields