Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getBalanceHistory
Synopsis
- getBalanceHistory :: forall m. MonadHTTP m => GetBalanceHistoryParameters -> ClientT m (Response GetBalanceHistoryResponse)
- data GetBalanceHistoryParameters = GetBalanceHistoryParameters {
- getBalanceHistoryParametersQueryAvailableOn :: Maybe GetBalanceHistoryParametersQueryAvailableOn'Variants
- getBalanceHistoryParametersQueryCreated :: Maybe GetBalanceHistoryParametersQueryCreated'Variants
- getBalanceHistoryParametersQueryCurrency :: Maybe Text
- getBalanceHistoryParametersQueryEndingBefore :: Maybe Text
- getBalanceHistoryParametersQueryExpand :: Maybe [Text]
- getBalanceHistoryParametersQueryLimit :: Maybe Int
- getBalanceHistoryParametersQueryPayout :: Maybe Text
- getBalanceHistoryParametersQuerySource :: Maybe Text
- getBalanceHistoryParametersQueryStartingAfter :: Maybe Text
- getBalanceHistoryParametersQueryType :: Maybe Text
- mkGetBalanceHistoryParameters :: GetBalanceHistoryParameters
- data GetBalanceHistoryParametersQueryAvailableOn'OneOf1 = GetBalanceHistoryParametersQueryAvailableOn'OneOf1 {}
- mkGetBalanceHistoryParametersQueryAvailableOn'OneOf1 :: GetBalanceHistoryParametersQueryAvailableOn'OneOf1
- data GetBalanceHistoryParametersQueryAvailableOn'Variants
- data GetBalanceHistoryParametersQueryCreated'OneOf1 = GetBalanceHistoryParametersQueryCreated'OneOf1 {}
- mkGetBalanceHistoryParametersQueryCreated'OneOf1 :: GetBalanceHistoryParametersQueryCreated'OneOf1
- data GetBalanceHistoryParametersQueryCreated'Variants
- data GetBalanceHistoryResponse
- data GetBalanceHistoryResponseBody200 = GetBalanceHistoryResponseBody200 {}
- mkGetBalanceHistoryResponseBody200 :: [BalanceTransaction] -> Bool -> Text -> GetBalanceHistoryResponseBody200
Documentation
:: 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.
GetBalanceHistoryParameters | |
|
Instances
mkGetBalanceHistoryParameters :: GetBalanceHistoryParameters Source #
Create a new GetBalanceHistoryParameters
with all required 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
mkGetBalanceHistoryParametersQueryAvailableOn'OneOf1 :: GetBalanceHistoryParametersQueryAvailableOn'OneOf1 Source #
Create a new GetBalanceHistoryParametersQueryAvailableOn'OneOf1
with all required fields.
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'
GetBalanceHistoryParametersQueryAvailableOn'GetBalanceHistoryParametersQueryAvailableOn'OneOf1 GetBalanceHistoryParametersQueryAvailableOn'OneOf1 | |
GetBalanceHistoryParametersQueryAvailableOn'Int Int |
Instances
data GetBalanceHistoryParametersQueryCreated'OneOf1 Source #
Defines the object schema located at paths./v1/balance/history.GET.parameters.properties.queryCreated.anyOf
in the specification.
Instances
mkGetBalanceHistoryParametersQueryCreated'OneOf1 :: GetBalanceHistoryParametersQueryCreated'OneOf1 Source #
Create a new GetBalanceHistoryParametersQueryCreated'OneOf1
with all required fields.
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'
GetBalanceHistoryParametersQueryCreated'GetBalanceHistoryParametersQueryCreated'OneOf1 GetBalanceHistoryParametersQueryCreated'OneOf1 | |
GetBalanceHistoryParametersQueryCreated'Int Int |
Instances
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.
GetBalanceHistoryResponseError String | Means either no matching case available or a parse error |
GetBalanceHistoryResponse200 GetBalanceHistoryResponseBody200 | Successful response. |
GetBalanceHistoryResponseDefault Error | Error response. |
Instances
data GetBalanceHistoryResponseBody200 Source #
Defines the object schema located at paths./v1/balance/history.GET.responses.200.content.application/json.schema
in the specification.
GetBalanceHistoryResponseBody200 | |
|