# PostIssuingDisputesDispute

From **Stripe API**.

`POST /v1/issuing/disputes/{dispute}`

<p>Updates the specified Issuing <code>Dispute</code> object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Properties on the <code>evidence</code> object can be unset by passing in an empty string.</p>

## Parameters

### `dispute`

- Location: path
- Required: true
- Type: `string`
- maxLength: `5000`

## Request body

- Required: false
### `application/x-www-form-urlencoded`

- Type: `object`

```json
{"additionalProperties":false,"properties":{"evidence":{"description":"Evidence provided for the dispute.","properties":{"canceled":{"anyOf":[{"properties":{"additional_documentation":{"anyOf":[{"type":"string"},{"enum":[""],"type":"string"}]},"canceled_at":{"anyOf":[{"format":"unix-time","type":"integer"},{"enum":[""],"type":"string"}]},"cancellation_policy_provided":{"anyOf":[{"type":"boolean"},{"enum":[""],"type":"string"}]},"cancellation_reason":{"maxLength":1500,"type":"string"},"expected_at":{"anyOf":[{"format":"unix-time","type":"integer"},{"enum":[""],"type":"string"}]},"explanation":{"maxLength":1500,"type":"string"},"product_description":{"maxLength":1500,"type":"string"},"product_type":{"enum":["","merchandise","service"],"type":"string"},"return_status":{"enum":["","merchant_rejected","successful"],"type":"string"},"returned_at":{"anyOf":[{"format":"unix-time","type":"integer"},{"enum":[""],"type":"string"}]}},"title":"canceled","type":"object"},{"enum":[""],"type":"string"}]},"duplicate":{"anyOf":[{"properties":{"additional_documentation":{"anyOf":[{"type":"string"},{"enum":[""],"type":"string"}]},"card_statement":{"anyOf":[{"type":"string"},{"enum":[""],"type":"string"}]},"cash_receipt":{"anyOf":[{"type":"string"},{"enum":[""],"type":"string"}]},"check_image":{"anyOf":[{"type":"string"},{"enum":[""],"type":"string"}]},"explanation":{"maxLength":1500,"type":"string"},"original_transaction":{"maxLength":5000,"type":"string"}},"title":"duplicate","type":"object"},{"enum":[""],"type":"string"}]},"fraudulent":{"anyOf":[{"properties":{"additional_documentation":{"anyOf":[{"type":"string"},{"enum":[""],"type":"string"}]},"explanation":{"maxLength":1500,"type":"string"}},"title":"fraudulent","type":"object"},{"enum":[""],"type":"string"}]},"merchandise_not_as_described":{"anyOf":[{"properties":{"additional_documentation":{"anyOf":[{"type":"string"},{"enum":[""],"type":"string"}]},"explanation":{"maxLength":1500,"type":"string"},"received_at":{"anyOf":[{"format":"unix-time","type":"integer"},{"enum":[""],"type":"string"}]},"return_description":{"maxLength":1500,"type":"string"},"return_status":{"enum":["","merchant_rejected","successful"],"type":"string"},"returned_at":{"anyOf":[{"format":"unix-time","type":"integer"},{"enum":[""],"type":"string"}]}},"title":"merchandise_not_as_described","type":"object"},{"enum":[""],"type":"string"}]},"not_received":{"anyOf":[{"properties":{"additional_documentation":{"anyOf":[{"type":"string"},{"enum":[""],"type":"string"}]},"expected_at":{"anyOf":[{"format":"unix-time","type":"integer"},{"enum":[""],"type":"string"}]},"explanation":{"maxLength":1500,"type":"string"},"product_description":{"maxLength":1500,"type":"string"},"product_type":{"enum":["","merchandise","service"],"type":"string"}},"title":"not_received","type":"object"},{"enum":[""],"type":"string"}]},"other":{"anyOf":[{"properties":{"additional_documentation":{"anyOf":[{"type":"string"},{"enum":[""],"type":"string"}]},"explanation":{"maxLength":1500,"type":"string"},"product_description":{"maxLength":1500,"type":"string"},"product_type":{"enum":["","merchandise","service"],"type":"string"}},"title":"other","type":"object"},{"enum":[""],"type":"string"}]},"reason":{"enum":["canceled","duplicate","fraudulent","merchandise_not_as_described","not_received","other","service_not_as_described"],"type":"string","x-stripeBypassValidation":true},"service_not_as_described":{"anyOf":[{"properties":{"additional_documentation":{"anyOf":[{"type":"string"},{"enum":[""],"type":"string"}]},"canceled_at":{"anyOf":[{"format":"unix-time","type":"integer"},{"enum":[""],"type":"string"}]},"cancellation_reason":{"maxLength":1500,"type":"string"},"explanation":{"maxLength":1500,"type":"string"},"received_at":{"anyOf":[{"format":"unix-time","type":"integer"},{"enum":[""],"type":"string"}]}},"title":"service_not_as_described","type":"object"},{"enum":[""],"type":"string"}]}},"title":"evidence_param","type":"object"},"expand":{"description":"Specifies which fields in the response should be expanded.","items":{"maxLength":5000,"type":"string"},"type":"array"},"metadata":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"enum":[""],"type":"string"}],"description":"Set of [key-value pairs](https://stripe.com/docs/api/metadata) 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`."}},"type":"object"}
```

## Security

### `basicAuth`

- Type: `http`
- Request header: `Authorization`
- Scheme: `basic`
Send credentials in the `Authorization` request header using the `Basic` scheme.

Basic HTTP authentication. Allowed headers-- Authorization: Basic <api_key> | Authorization: Basic <base64 hash of `api_key:`>

### `bearerAuth`

- Type: `http`
- Request header: `Authorization`
- Scheme: `bearer`
- Bearer format: `auth-scheme`
Send the token in the `Authorization` request header using the `Bearer` scheme.

Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>

## Responses

### `200`

Successful response.

### `application/json`

- Type: `object`

As a [card issuer](https://stripe.com/docs/issuing), you can dispute transactions that the cardholder does not recognize, suspects to be fraudulent, or has other issues with.

Related guide: [Disputing Transactions](https://stripe.com/docs/issuing/purchases/disputes)

```json
{"description":"As a [card issuer](https://stripe.com/docs/issuing), you can dispute transactions that the cardholder does not recognize, suspects to be fraudulent, or has other issues with.\n\nRelated guide: [Disputing Transactions](https://stripe.com/docs/issuing/purchases/disputes)","properties":{"amount":{"description":"Disputed amount. Usually the amount of the `transaction`, but can differ (usually because of currency fluctuation).","type":"integer"},"balance_transactions":{"description":"List of balance transactions associated with the dispute.","items":{"$ref":"#/components/schemas/balance_transaction"},"nullable":true,"type":"array"},"created":{"description":"Time at which the object was created. Measured in seconds since the Unix epoch.","format":"unix-time","type":"integer"},"currency":{"description":"The currency the `transaction` was made in.","type":"string"},"evidence":{"$ref":"#/components/schemas/issuing_dispute_evidence"},"id":{"description":"Unique identifier for the object.","maxLength":5000,"type":"string"},"livemode":{"description":"Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.","type":"boolean"},"metadata":{"additionalProperties":{"maxLength":500,"type":"string"},"description":"Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.","type":"object"},"object":{"description":"String representing the object's type. Objects of the same type share the same value.","enum":["issuing.dispute"],"type":"string"},"status":{"description":"Current status of the dispute.","enum":["expired","lost","submitted","unsubmitted","won"],"type":"string"},"transaction":{"anyOf":[{"maxLength":5000,"type":"string"},{"$ref":"#/components/schemas/issuing.transaction"}],"description":"The transaction being disputed.","x-expansionResources":{"oneOf":[{"$ref":"#/components/schemas/issuing.transaction"}]}}},"required":["amount","created","currency","evidence","id","livemode","metadata","object","status","transaction"],"title":"IssuingDispute","type":"object","x-expandableFields":["balance_transactions","evidence","transaction"],"x-resourceId":"issuing.dispute"}
```

### `default`

Error response.

### `application/json`

- Type: `object`

An error response from the Stripe API

```json
{"description":"An error response from the Stripe API","properties":{"error":{"$ref":"#/components/schemas/api_errors"}},"required":["error"],"type":"object"}
```

## Request examples

### cURL

```shell
curl --request POST \
  --url https://api.stripe.com/v1/issuing/disputes/{dispute} \
  --header 'content-type: application/x-www-form-urlencoded' \
  --data '{
  "evidence": {
    "canceled": "string",
    "duplicate": "string",
    "fraudulent": "string",
    "merchandise_not_as_described": "string",
    "not_received": "string",
    "other": "string",
    "reason": "string",
    "service_not_as_described": "string"
  },
  "expand": [
    "string"
  ],
  "metadata": "string"
}'
```
