stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostPayoutsPayoutReverse

Description

Contains the different functions to run the operation postPayoutsPayoutReverse

Synopsis

Documentation

postPayoutsPayoutReverse Source #

Arguments

:: forall m. MonadHTTP m 
=> Text

payout | Constraints: Maximum length of 5000

-> Maybe PostPayoutsPayoutReverseRequestBody

The request body to send

-> ClientT m (Response PostPayoutsPayoutReverseResponse)

Monadic computation which returns the result of the operation

POST /v1/payouts/{payout}/reverse

<p>Reverses a payout by debiting the destination bank account. Only payouts for connected accounts to US bank accounts may be reversed at this time. If the payout is in the <code>pending</code> status, <code>/v1/payouts/:id/cancel</code> should be used instead.</p>

<p>By requesting a reversal via <code>/v1/payouts/:id/reverse</code>, you confirm that the authorized signatory of the selected bank account has authorized the debit on the bank account and that no other authorization is required.</p>

data PostPayoutsPayoutReverseRequestBody Source #

Defines the object schema located at paths./v1/payouts/{payout}/reverse.POST.requestBody.content.application/x-www-form-urlencoded.schema in the specification.

Constructors

PostPayoutsPayoutReverseRequestBody 

Fields

data PostPayoutsPayoutReverseResponse Source #

Represents a response of the operation postPayoutsPayoutReverse.

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

Constructors

PostPayoutsPayoutReverseResponseError String

Means either no matching case available or a parse error

PostPayoutsPayoutReverseResponse200 Payout

Successful response.

PostPayoutsPayoutReverseResponseDefault Error

Error response.