stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostDisputesDisputeClose

Description

Contains the different functions to run the operation postDisputesDisputeClose

Synopsis

Documentation

postDisputesDisputeClose Source #

Arguments

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

The configuration to use in the request

-> String

dispute | Constraints: Maximum length of 5000

-> PostDisputesDisputeCloseRequestBody

The request body to send

-> m (Either HttpException (Response PostDisputesDisputeCloseResponse))

Monad containing the result of the operation

POST /v1/disputes/{dispute}/close

<p>Closing the dispute for a charge indicates that you do not have any evidence to submit and are essentially dismissing the dispute, acknowledging it as lost.</p>

<p>The status of the dispute will change from <code>needs_response</code> to <code>lost</code>. <em>Closing a dispute is irreversible</em>.</p>

data PostDisputesDisputeCloseRequestBody Source #

Defines the data type for the schema postDisputesDisputeCloseRequestBody

Constructors

PostDisputesDisputeCloseRequestBody 

Fields

data PostDisputesDisputeCloseResponse Source #

Represents a response of the operation postDisputesDisputeClose.

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

Constructors

PostDisputesDisputeCloseResponseError String

Means either no matching case available or a parse error

PostDisputesDisputeCloseResponse200 Dispute

Successful response.

PostDisputesDisputeCloseResponseDefault Error

Error response.