> ## Documentation Index
> Fetch the complete documentation index at: https://www.marqeta.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create dispute case action

> Create a dispute case action.

<div className="mb-4 flex items-center gap-2"><span className="rounded-lg font-bold px-1.5 py-0.5 text-sm leading-5 bg-blue-400/20 text-blue-700 dark:text-blue-400">POST</span><span className="flex items-center gap-0.5 font-mono text-sm"><span className="text-gray-400">/</span><span className="font-medium text-gray-800 dark:text-white">{"cases"}</span><span className="text-gray-400">/</span><span className="font-medium text-gray-800 dark:text-white">{"{token}"}</span><span className="text-gray-400">/</span><span className="font-medium text-gray-800 dark:text-white">{"actions"}</span></span></div>

Create a dispute case action.

<h2 id="_path_parameter">
  Path parameter
</h2>

| Fields | Description |
| - | - |
| token<br />string<br />Required | The token that identifies the dispute case.<br />**Allowable Values:**<br />36 char max |

<h2 id="_body_field_details_6">
  Body field details
</h2>

| Fields | Description |
| - | - |
| action\_type<br />string<br />Required | `GRANT_PROVISIONAL_CREDIT` - Grant provisional credit and trigger the event.<br />`REVERT_PROVISIONAL_CREDIT` - Revert a previously granted provisional credit and trigger an event.<br />**Allowable Values:**<br />`GRANT_PROVISIONAL_CREDIT`, `REVERT_PROVISIONAL_CREDIT` |
| created\_by<br />string<br /> | **Allowable Values:** |

<h2 id="_response_body_5">
  Response body
</h2>

| Fields | Description |
| - | - |
| token<br />string<br />Returned | The unique identifier of the dispute case.<br />**Allowable Values:**<br />36 char max |
| action\_type<br />string<br />Returned | The action taken.<br />**Allowable Values:**<br />255 char max |
| created\_by<br />string<br />Returned | **Allowable Values:** |

<h2 id="_sample_request">
  Sample request
</h2>

```json JSON lines wrap theme={null}
{
  "action_type": "GRANT_PROVISIONAL_CREDIT",
  "created_by": "string"
}
```

<h2 id="_sample_response">
  Sample response
</h2>

```json JSON lines wrap theme={null}
{
  "case_token": "<my_case_token>",
  "action_type": "GRANT_PROVISIONAL_CREDIT",
  "created_by": "string"
}
```


## Related topics

- [Create dispute case action](/docs/core-api/disputes-pulse/create-case-action.md)
- [Disputes (Mastercard) Overview](/docs/core-api/disputes-mastercard.md)
- [Disputes (PULSE) Overview](/docs/core-api/disputes-pulse.md)
- [Disputes (Visa) Overview](/docs/core-api/disputes-visa.md)
- [Create dispute case transition](/docs/core-api/disputes-visa/create-case-transition.md)
