> ## 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.

POST/cases/\{token}/actions

Create a dispute case action.

## Path parameter

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

## Body field details

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

## Response body

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

## Sample request

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

## Sample response

```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](https://www.marqeta.com/docs/core-api/disputes-pulse/create-dispute-case-action-pulse.md)
- [Disputes (Mastercard) Overview](https://www.marqeta.com/docs/core-api/disputes-mastercard.md)
- [Disputes (PULSE) Overview](https://www.marqeta.com/docs/core-api/disputes-pulse.md)
- [Disputes (Visa) Overview](https://www.marqeta.com/docs/core-api/disputes-visa.md)
- [Create dispute case transition](https://www.marqeta.com/docs/core-api/disputes-mastercard/dispute-case-transitions-mastercard/create-dispute-case-transition-mastercard.md)
