Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postDisputesDispute
Synopsis
- postDisputesDispute :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostDisputesDisputeRequestBody -> m (Either HttpException (Response PostDisputesDisputeResponse))
- postDisputesDisputeRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostDisputesDisputeRequestBody -> m (Either HttpException (Response ByteString))
- postDisputesDisputeM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostDisputesDisputeRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostDisputesDisputeResponse))
- postDisputesDisputeRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostDisputesDisputeRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostDisputesDisputeRequestBody = PostDisputesDisputeRequestBody {}
- data PostDisputesDisputeRequestBodyEvidence' = PostDisputesDisputeRequestBodyEvidence' {
- postDisputesDisputeRequestBodyEvidence'AccessActivityLog :: Maybe String
- postDisputesDisputeRequestBodyEvidence'BillingAddress :: Maybe String
- postDisputesDisputeRequestBodyEvidence'CancellationPolicy :: Maybe String
- postDisputesDisputeRequestBodyEvidence'CancellationPolicyDisclosure :: Maybe String
- postDisputesDisputeRequestBodyEvidence'CancellationRebuttal :: Maybe String
- postDisputesDisputeRequestBodyEvidence'CustomerCommunication :: Maybe String
- postDisputesDisputeRequestBodyEvidence'CustomerEmailAddress :: Maybe String
- postDisputesDisputeRequestBodyEvidence'CustomerName :: Maybe String
- postDisputesDisputeRequestBodyEvidence'CustomerPurchaseIp :: Maybe String
- postDisputesDisputeRequestBodyEvidence'CustomerSignature :: Maybe String
- postDisputesDisputeRequestBodyEvidence'DuplicateChargeDocumentation :: Maybe String
- postDisputesDisputeRequestBodyEvidence'DuplicateChargeExplanation :: Maybe String
- postDisputesDisputeRequestBodyEvidence'DuplicateChargeId :: Maybe String
- postDisputesDisputeRequestBodyEvidence'ProductDescription :: Maybe String
- postDisputesDisputeRequestBodyEvidence'Receipt :: Maybe String
- postDisputesDisputeRequestBodyEvidence'RefundPolicy :: Maybe String
- postDisputesDisputeRequestBodyEvidence'RefundPolicyDisclosure :: Maybe String
- postDisputesDisputeRequestBodyEvidence'RefundRefusalExplanation :: Maybe String
- postDisputesDisputeRequestBodyEvidence'ServiceDate :: Maybe String
- postDisputesDisputeRequestBodyEvidence'ServiceDocumentation :: Maybe String
- postDisputesDisputeRequestBodyEvidence'ShippingAddress :: Maybe String
- postDisputesDisputeRequestBodyEvidence'ShippingCarrier :: Maybe String
- postDisputesDisputeRequestBodyEvidence'ShippingDate :: Maybe String
- postDisputesDisputeRequestBodyEvidence'ShippingDocumentation :: Maybe String
- postDisputesDisputeRequestBodyEvidence'ShippingTrackingNumber :: Maybe String
- postDisputesDisputeRequestBodyEvidence'UncategorizedFile :: Maybe String
- postDisputesDisputeRequestBodyEvidence'UncategorizedText :: Maybe String
- data PostDisputesDisputeRequestBodyMetadata' = PostDisputesDisputeRequestBodyMetadata' {
- data PostDisputesDisputeResponse
Documentation
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | dispute | Constraints: Maximum length of 5000 |
-> PostDisputesDisputeRequestBody | The request body to send |
-> m (Either HttpException (Response PostDisputesDisputeResponse)) | Monad containing the result of the operation |
POST /v1/disputes/{dispute}
<p>When you get a dispute, contacting your customer is always the best first step. If that doesn’t work, you can submit evidence to help us resolve the dispute in your favor. You can do this in your <a href="https://dashboard.stripe.com/disputes">dashboard</a>, but if you prefer, you can use the API to submit evidence programmatically.</p>
<p>Depending on your dispute type, different evidence fields will give you a better chance of winning your dispute. To figure out which evidence fields to provide, see our <a href="/docs/disputes/categories">guide to dispute types</a>.</p>
postDisputesDisputeRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostDisputesDisputeRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/disputes/{dispute}
The same as postDisputesDispute
but returns the raw ByteString
postDisputesDisputeM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostDisputesDisputeRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostDisputesDisputeResponse)) Source #
POST /v1/disputes/{dispute}
Monadic version of postDisputesDispute
(use with runWithConfiguration
)
postDisputesDisputeRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostDisputesDisputeRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/disputes/{dispute}
Monadic version of postDisputesDisputeRaw
(use with runWithConfiguration
)
data PostDisputesDisputeRequestBody Source #
Defines the data type for the schema postDisputesDisputeRequestBody
PostDisputesDisputeRequestBody | |
|
data PostDisputesDisputeRequestBodyEvidence' Source #
Defines the data type for the schema postDisputesDisputeRequestBodyEvidence'
Evidence to upload, to respond to a dispute. Updating any field in the hash will submit all fields in the hash for review. The combined character count of all fields is limited to 150,000.
data PostDisputesDisputeRequestBodyMetadata' Source #
Defines the data type for the schema postDisputesDisputeRequestBodyMetadata'
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
data PostDisputesDisputeResponse Source #
Represents a response of the operation postDisputesDispute
.
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), PostDisputesDisputeResponseError
is used.
PostDisputesDisputeResponseError String | Means either no matching case available or a parse error |
PostDisputesDisputeResponse200 Dispute | Successful response. |
PostDisputesDisputeResponseDefault Error | Error response. |