> For the complete documentation index, see [llms.txt](https://docs.tutelar.io/tutelar-api-document/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tutelar.io/tutelar-api-document/tutelar-api-document-v2/fraud-detection-monitoring/chargeback-transaction.md).

# Chargeback Transaction

&#x20;             A chargeback transaction occurs when a customer disputes a charge on their credit card statement and requests a refund from their bank. Fraud detection involves identifying and preventing unauthorized or fraudulent chargeback requests.

### Header

| Name          | Value                     |
| ------------- | ------------------------- |
| Content-Type  | `application/json`        |
| Authorization | `Bearer eyJhbGciOiJ.....` |

## POST /api/v2/fraud-detector/transaction/chargeback

> Chargeback Transaction

```json
{"openapi":"3.0.0","info":{"title":"Chargeback Transaction API","version":"1.0.0"},"servers":[{"url":"https://secctrl.tutelar.io"}],"paths":{"/api/v2/fraud-detector/transaction/chargeback":{"post":{"summary":"Chargeback Transaction","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["status","orderId","reason"],"properties":{"status":{"type":"string","description":"This key is used to request the chargeback status for a transaction. The possible values are:\n'contested': The chargeback has been contested. 'accepted': The chargeback has been accepted. 'defeated': The chargeback dispute has been defeated. 'refunded': The transaction amount has been refunded. 'prearbitration': The chargeback is in the pre-arbitration phase.\n","enum":["contested","accepted","defeated","refunded","prearbitration"]},"orderId":{"type":"string","description":"This is a unique identifier for the transaction associated with the order for which the chargeback is being requested."},"reason":{"type":"string","description":"The reason for the chargeback. This explains why the chargeback is being requested, such as due to fraudulent activity, unauthorized transactions, or disputes over the product or service."}}}}}},"responses":{"200":{"description":"If the chargeback status is updated successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"},"data":{"type":"object","properties":{"orderId":{"type":"string"},"requestedDateTime":{"type":"string","format":"date-time"},"responseDateTime":{"type":"string","format":"date-time"},"processedTime":{"type":"integer"}}}}}}}},"422":{"description":"If an invalid status is provided.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"code":{"type":"integer"},"message":{"type":"string"}}}}}}}}}}}
```
