Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postPayoutsPayoutReverse
Synopsis
- postPayoutsPayoutReverse :: forall m. MonadHTTP m => Text -> Maybe PostPayoutsPayoutReverseRequestBody -> StripeT m (Response PostPayoutsPayoutReverseResponse)
- data PostPayoutsPayoutReverseRequestBody = PostPayoutsPayoutReverseRequestBody {}
- mkPostPayoutsPayoutReverseRequestBody :: PostPayoutsPayoutReverseRequestBody
- data PostPayoutsPayoutReverseResponse
Documentation
postPayoutsPayoutReverse Source #
:: forall m. MonadHTTP m | |
=> Text | payout | Constraints: Maximum length of 5000 |
-> Maybe PostPayoutsPayoutReverseRequestBody | The request body to send |
-> StripeT 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.
PostPayoutsPayoutReverseRequestBody | |
|
mkPostPayoutsPayoutReverseRequestBody :: PostPayoutsPayoutReverseRequestBody Source #
Create a new PostPayoutsPayoutReverseRequestBody
with all required 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.
PostPayoutsPayoutReverseResponseError String | Means either no matching case available or a parse error |
PostPayoutsPayoutReverseResponse200 Payout | Successful response. |
PostPayoutsPayoutReverseResponseDefault Error | Error response. |