# Create Complaint
source: https://developer.mastercard.com/india-online-dispute-resolution/documentation/use-cases/create_new_dispute/index.md

The Create Complaint API creates a new complaint by sending the necessary information.
The issuer can send the cardholder details and create the complaint.

## Prerequisites {#prerequisites}

The IODR API needs the following parameters:

* Complaint type
* Transaction date
* Transaction time
* Card number
* Transaction amount

<br />

When a customer reports a failed transaction where money was deducted but not refunded, the issuer raises a complaint on their behalf using the Create Complaint API (`POST /complaints`).

API Reference: `POST /complaints`

## Sequence Diagram {#sequence-diagram}

Diagram create_new_dispute

### Execution steps {#execution-steps}

1. The Third-Party Application Providers (TPAP) or issuer sends complaint details to create a new complaint.
2. IODR validates the complaint details.
3. IODR creates a new complaint.
4. IODR sends a success message along with a tracking number to the issuer or TPAP. Note: IODR sends email notification to issuer.

## Error Resolution {#error-resolution}

For details on error resolution, refer to the [Code and Formats](https://developer.mastercard.com/india-online-dispute-resolution/documentation/code-and-formats/index.md) section.
