stripeapi-2.0.1.0: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetBalanceHistory

Description

Contains the different functions to run the operation getBalanceHistory

Synopsis

Documentation

getBalanceHistory Source #

Arguments

:: forall m. MonadHTTP m 
=> GetBalanceHistoryParameters

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

-> ClientT m (Response GetBalanceHistoryResponse)

Monadic computation which returns the result of the operation

GET /v1/balance/history

<p>Returns a list of transactions that have contributed to the Stripe account balance (e.g., charges, transfers, and so forth). The transactions are returned in sorted order, with the most recent transactions appearing first.</p>

<p>Note that this endpoint was previously called “Balance history” and used the path <code>/v1/balance/history</code>.</p>

data GetBalanceHistoryParameters Source #

Defines the object schema located at paths./v1/balance/history.GET.parameters in the specification.

Constructors

GetBalanceHistoryParameters 

Fields

data GetBalanceHistoryParametersQueryAvailableOn'OneOf1 Source #

Defines the object schema located at paths./v1/balance/history.GET.parameters.properties.queryAvailable_on.anyOf in the specification.

Instances

Instances details
Eq GetBalanceHistoryParametersQueryAvailableOn'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetBalanceHistory

Show GetBalanceHistoryParametersQueryAvailableOn'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetBalanceHistory

ToJSON GetBalanceHistoryParametersQueryAvailableOn'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetBalanceHistory

FromJSON GetBalanceHistoryParametersQueryAvailableOn'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.GetBalanceHistory

data GetBalanceHistoryParametersQueryAvailableOn'Variants Source #

Defines the oneOf schema located at paths./v1/balance/history.GET.parameters.properties.queryAvailable_on.anyOf in the specification.

Represents the parameter named 'available_on'

Instances

Instances details
Eq GetBalanceHistoryParametersQueryAvailableOn'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetBalanceHistory

Show GetBalanceHistoryParametersQueryAvailableOn'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetBalanceHistory

ToJSON GetBalanceHistoryParametersQueryAvailableOn'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetBalanceHistory

FromJSON GetBalanceHistoryParametersQueryAvailableOn'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetBalanceHistory

data GetBalanceHistoryParametersQueryCreated'OneOf1 Source #

Defines the object schema located at paths./v1/balance/history.GET.parameters.properties.queryCreated.anyOf in the specification.

data GetBalanceHistoryParametersQueryCreated'Variants Source #

Defines the oneOf schema located at paths./v1/balance/history.GET.parameters.properties.queryCreated.anyOf in the specification.

Represents the parameter named 'created'

Instances

Instances details
Eq GetBalanceHistoryParametersQueryCreated'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetBalanceHistory

Show GetBalanceHistoryParametersQueryCreated'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetBalanceHistory

ToJSON GetBalanceHistoryParametersQueryCreated'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetBalanceHistory

FromJSON GetBalanceHistoryParametersQueryCreated'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetBalanceHistory

data GetBalanceHistoryResponse Source #

Represents a response of the operation getBalanceHistory.

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

Constructors

GetBalanceHistoryResponseError String

Means either no matching case available or a parse error

GetBalanceHistoryResponse200 GetBalanceHistoryResponseBody200

Successful response.

GetBalanceHistoryResponseDefault Error

Error response.

data GetBalanceHistoryResponseBody200 Source #

Defines the object schema located at paths./v1/balance/history.GET.responses.200.content.application/json.schema in the specification.

Constructors

GetBalanceHistoryResponseBody200 

Fields