stripeapi-1.0.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

:: forall m. MonadHTTP m 
=> Text

dispute | Constraints: Maximum length of 5000

-> Maybe PostDisputesDisputeCloseRequestBody

The request body to send

-> StripeT m (Response PostDisputesDisputeCloseResponse)

Monadic computation which returns 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 object schema located at paths./v1/disputes/{dispute}/close.POST.requestBody.content.application/x-www-form-urlencoded.schema in the specification.

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.