stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostPayoutsPayoutCancel

Description

Contains the different functions to run the operation postPayoutsPayoutCancel

Synopsis

Documentation

postPayoutsPayoutCancel Source #

Arguments

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

The configuration to use in the request

-> String

payout | Constraints: Maximum length of 5000

-> PostPayoutsPayoutCancelRequestBody

The request body to send

-> m (Either HttpException (Response PostPayoutsPayoutCancelResponse))

Monad containing the result of the operation

POST /v1/payouts/{payout}/cancel

<p>A previously created payout can be canceled if it has not yet been paid out. Funds will be refunded to your available balance. You may not cancel automatic Stripe payouts.</p>

data PostPayoutsPayoutCancelRequestBody Source #

Defines the data type for the schema postPayoutsPayoutCancelRequestBody

Constructors

PostPayoutsPayoutCancelRequestBody 

Fields

data PostPayoutsPayoutCancelResponse Source #

Represents a response of the operation postPayoutsPayoutCancel.

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

Constructors

PostPayoutsPayoutCancelResponseError String

Means either no matching case available or a parse error

PostPayoutsPayoutCancelResponse200 Payout

Successful response.

PostPayoutsPayoutCancelResponseDefault Error

Error response.