Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getPayouts
Synopsis
- getPayouts :: forall m. MonadHTTP m => GetPayoutsParameters -> ClientT m (Response GetPayoutsResponse)
- data GetPayoutsParameters = GetPayoutsParameters {
- getPayoutsParametersQueryArrivalDate :: Maybe GetPayoutsParametersQueryArrivalDate'Variants
- getPayoutsParametersQueryCreated :: Maybe GetPayoutsParametersQueryCreated'Variants
- getPayoutsParametersQueryDestination :: Maybe Text
- getPayoutsParametersQueryEndingBefore :: Maybe Text
- getPayoutsParametersQueryExpand :: Maybe [Text]
- getPayoutsParametersQueryLimit :: Maybe Int
- getPayoutsParametersQueryStartingAfter :: Maybe Text
- getPayoutsParametersQueryStatus :: Maybe Text
- mkGetPayoutsParameters :: GetPayoutsParameters
- data GetPayoutsParametersQueryArrivalDate'OneOf1 = GetPayoutsParametersQueryArrivalDate'OneOf1 {}
- mkGetPayoutsParametersQueryArrivalDate'OneOf1 :: GetPayoutsParametersQueryArrivalDate'OneOf1
- data GetPayoutsParametersQueryArrivalDate'Variants
- data GetPayoutsParametersQueryCreated'OneOf1 = GetPayoutsParametersQueryCreated'OneOf1 {}
- mkGetPayoutsParametersQueryCreated'OneOf1 :: GetPayoutsParametersQueryCreated'OneOf1
- data GetPayoutsParametersQueryCreated'Variants
- data GetPayoutsResponse
- data GetPayoutsResponseBody200 = GetPayoutsResponseBody200 {}
- mkGetPayoutsResponseBody200 :: [Payout] -> Bool -> Text -> GetPayoutsResponseBody200
Documentation
:: forall m. MonadHTTP m | |
=> GetPayoutsParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response GetPayoutsResponse) | Monadic computation which returns the result of the operation |
GET /v1/payouts
<p>Returns a list of existing payouts sent to third-party bank accounts or that Stripe has sent you. The payouts are returned in sorted order, with the most recently created payouts appearing first.</p>
data GetPayoutsParameters Source #
Defines the object schema located at paths./v1/payouts.GET.parameters
in the specification.
GetPayoutsParameters | |
|
Instances
Eq GetPayoutsParameters Source # | |
Defined in StripeAPI.Operations.GetPayouts (==) :: GetPayoutsParameters -> GetPayoutsParameters -> Bool # (/=) :: GetPayoutsParameters -> GetPayoutsParameters -> Bool # | |
Show GetPayoutsParameters Source # | |
Defined in StripeAPI.Operations.GetPayouts showsPrec :: Int -> GetPayoutsParameters -> ShowS # show :: GetPayoutsParameters -> String # showList :: [GetPayoutsParameters] -> ShowS # | |
ToJSON GetPayoutsParameters Source # | |
Defined in StripeAPI.Operations.GetPayouts toJSON :: GetPayoutsParameters -> Value # toEncoding :: GetPayoutsParameters -> Encoding # toJSONList :: [GetPayoutsParameters] -> Value # toEncodingList :: [GetPayoutsParameters] -> Encoding # | |
FromJSON GetPayoutsParameters Source # | |
Defined in StripeAPI.Operations.GetPayouts parseJSON :: Value -> Parser GetPayoutsParameters # parseJSONList :: Value -> Parser [GetPayoutsParameters] # |
mkGetPayoutsParameters :: GetPayoutsParameters Source #
Create a new GetPayoutsParameters
with all required fields.
data GetPayoutsParametersQueryArrivalDate'OneOf1 Source #
Defines the object schema located at paths./v1/payouts.GET.parameters.properties.queryArrival_date.anyOf
in the specification.
mkGetPayoutsParametersQueryArrivalDate'OneOf1 :: GetPayoutsParametersQueryArrivalDate'OneOf1 Source #
Create a new GetPayoutsParametersQueryArrivalDate'OneOf1
with all required fields.
data GetPayoutsParametersQueryArrivalDate'Variants Source #
Defines the oneOf schema located at paths./v1/payouts.GET.parameters.properties.queryArrival_date.anyOf
in the specification.
Represents the parameter named 'arrival_date'
GetPayoutsParametersQueryArrivalDate'GetPayoutsParametersQueryArrivalDate'OneOf1 GetPayoutsParametersQueryArrivalDate'OneOf1 | |
GetPayoutsParametersQueryArrivalDate'Int Int |
data GetPayoutsParametersQueryCreated'OneOf1 Source #
Defines the object schema located at paths./v1/payouts.GET.parameters.properties.queryCreated.anyOf
in the specification.
mkGetPayoutsParametersQueryCreated'OneOf1 :: GetPayoutsParametersQueryCreated'OneOf1 Source #
Create a new GetPayoutsParametersQueryCreated'OneOf1
with all required fields.
data GetPayoutsParametersQueryCreated'Variants Source #
Defines the oneOf schema located at paths./v1/payouts.GET.parameters.properties.queryCreated.anyOf
in the specification.
Represents the parameter named 'created'
GetPayoutsParametersQueryCreated'GetPayoutsParametersQueryCreated'OneOf1 GetPayoutsParametersQueryCreated'OneOf1 | |
GetPayoutsParametersQueryCreated'Int Int |
data GetPayoutsResponse Source #
Represents a response of the operation getPayouts
.
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), GetPayoutsResponseError
is used.
GetPayoutsResponseError String | Means either no matching case available or a parse error |
GetPayoutsResponse200 GetPayoutsResponseBody200 | Successful response. |
GetPayoutsResponseDefault Error | Error response. |
Instances
Eq GetPayoutsResponse Source # | |
Defined in StripeAPI.Operations.GetPayouts (==) :: GetPayoutsResponse -> GetPayoutsResponse -> Bool # (/=) :: GetPayoutsResponse -> GetPayoutsResponse -> Bool # | |
Show GetPayoutsResponse Source # | |
Defined in StripeAPI.Operations.GetPayouts showsPrec :: Int -> GetPayoutsResponse -> ShowS # show :: GetPayoutsResponse -> String # showList :: [GetPayoutsResponse] -> ShowS # |
data GetPayoutsResponseBody200 Source #
Defines the object schema located at paths./v1/payouts.GET.responses.200.content.application/json.schema
in the specification.
GetPayoutsResponseBody200 | |
|
Instances
mkGetPayoutsResponseBody200 Source #
:: [Payout] | |
-> Bool | |
-> Text | |
-> GetPayoutsResponseBody200 |
Create a new GetPayoutsResponseBody200
with all required fields.