stripeapi-1.0.0.0: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetChargesCharge

Description

Contains the different functions to run the operation getChargesCharge

Synopsis

Documentation

getChargesCharge Source #

Arguments

:: forall m. MonadHTTP m 
=> GetChargesChargeParameters

Contains all available parameters of this operation (query and path parameters)

-> StripeT m (Response GetChargesChargeResponse)

Monadic computation which returns the result of the operation

GET /v1/charges/{charge}

<p>Retrieves the details of a charge that has previously been created. Supply the unique charge ID that was returned from your previous request, and Stripe will return the corresponding charge information. The same information is returned when creating or refunding the charge.</p>

data GetChargesChargeParameters Source #

Defines the object schema located at paths./v1/charges/{charge}.GET.parameters in the specification.

Constructors

GetChargesChargeParameters 

Fields

data GetChargesChargeResponse Source #

Represents a response of the operation getChargesCharge.

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), GetChargesChargeResponseError is used.

Constructors

GetChargesChargeResponseError String

Means either no matching case available or a parse error

GetChargesChargeResponse200 Charge

Successful response.

GetChargesChargeResponseDefault Error

Error response.