> 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"}}}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.tutelar.io/tutelar-api-document/tutelar-api-document-v2/fraud-detection-monitoring/chargeback-transaction.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
