stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetPayoutsPayout

Description

Contains the different functions to run the operation getPayoutsPayout

Synopsis

Documentation

getPayoutsPayout Source #

Arguments

:: (MonadHTTP m, SecurityScheme s) 
=> Configuration s

The configuration to use in the request

-> Maybe String

expand: Specifies which fields in the response should be expanded.

-> String

payout | Constraints: Maximum length of 5000

-> GetPayoutsPayoutRequestBody

The request body to send

-> m (Either HttpException (Response GetPayoutsPayoutResponse))

Monad containing the result of the operation

GET /v1/payouts/{payout}

<p>Retrieves the details of an existing payout. Supply the unique payout ID from either a payout creation request or the payout list, and Stripe will return the corresponding payout information.</p>

getPayoutsPayoutRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetPayoutsPayoutRequestBody -> m (Either HttpException (Response ByteString)) Source #

GET /v1/payouts/{payout}

The same as getPayoutsPayout but returns the raw ByteString

data GetPayoutsPayoutResponse Source #

Represents a response of the operation getPayoutsPayout.

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

Constructors

GetPayoutsPayoutResponseError String

Means either no matching case available or a parse error

GetPayoutsPayoutResponse200 Payout

Successful response.

GetPayoutsPayoutResponseDefault Error

Error response.