Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postDisputesDisputeClose
Synopsis
- postDisputesDisputeClose :: forall m. MonadHTTP m => Text -> Maybe PostDisputesDisputeCloseRequestBody -> ClientT m (Response PostDisputesDisputeCloseResponse)
- data PostDisputesDisputeCloseRequestBody = PostDisputesDisputeCloseRequestBody {}
- mkPostDisputesDisputeCloseRequestBody :: PostDisputesDisputeCloseRequestBody
- data PostDisputesDisputeCloseResponse
Documentation
postDisputesDisputeClose Source #
:: forall m. MonadHTTP m | |
=> Text | dispute | Constraints: Maximum length of 5000 |
-> Maybe PostDisputesDisputeCloseRequestBody | The request body to send |
-> ClientT 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.
PostDisputesDisputeCloseRequestBody | |
|
mkPostDisputesDisputeCloseRequestBody :: PostDisputesDisputeCloseRequestBody Source #
Create a new PostDisputesDisputeCloseRequestBody
with all required 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.
PostDisputesDisputeCloseResponseError String | Means either no matching case available or a parse error |
PostDisputesDisputeCloseResponse200 Dispute | Successful response. |
PostDisputesDisputeCloseResponseDefault Error | Error response. |