> For the complete documentation index, see [llms.txt](https://docs.caf.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.caf.io/caf-api/connect/available-resources/joint-resolution-6/suspected-fraud-creation.md).

# Suspected Fraud Creation

{% hint style="info" %}
**Authentication Requirements:**

* Regular endpoints use `OAuth2` authentication with base URL: `https://api.us.prd.caf.io`
* For enhanced security, some endpoints may also support `mTLS` authentication with base URL: `https://mtls.us.prd.caf.io`
* For information on implementing `mTLS`, access [Using mTLS](https://docs.caf.io/caf-api/connect/authentication/using-mtls.md)
  {% endhint %}

A suspected fraud creation request inserts a suspected fraud into your peer's database and this data becomes available to other peers in the network.

{% openapi src="/files/J8iqm5NWDI0JBS28CSBQ" path="/suspected-fraud" method="post" %}
[fraud.yaml](https://3218940882-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbVxCOSyBojfSIE5fcpfH%2Fuploads%2Fgit-blob-d3ab2969dfa76d80af01feb928533625973ac66d%2Ffraud.yaml?alt=media)
{% endopenapi %}

## Payload Sanitization

Every request goes through a sanitization before being validated and stored. It only removes formatting noise and does not change the meaning of the values:

* leading and trailing spaces are removed from text fields, and empty text fields are treated as not sent;
* the mask is removed from `documento.numero`, `instituicao_responsavel.cnpj_origem` and from Pix keys of type CPF or CNPJ (`.`, `-` and `/`), so `123.456.789-09` is stored as `12345678909`;
* the mask is removed from Pix keys of type phone number (spaces, `(`, `)`, `-` and `.`), keeping the leading `+`;
* CNPJ, ISPB and currency values are converted to uppercase, and e-mail and EVP Pix keys to lowercase;
* `data_hora` is converted to UTC, keeping the same instant and the fractional seconds sent, so `2024-01-01T00:00:00-03:00` is stored as `2024-01-01T03:00:00Z`;
* empty objects and lists are removed from the occurrence;
* `data_ultima_alteracao` is ignored when sent, since it is calculated by the API.

## Payload Normalization

By default, the occurrence is stored exactly as it was sent. To have it normalized before being stored, send the optional header `X-Normalize-Payload: true`.

| **Header**            | **Required** | **Values**      | **Default** |
| --------------------- | ------------ | --------------- | ----------- |
| `X-Normalize-Payload` | Optional     | `true`, `false` | `false`     |

Only the value `true` enables the normalization. When the header is absent, or carries any other value, the request is processed as `false`. The header never causes the request to be rejected.

When enabled, the following changes are applied to the stored occurrence:

* free text fields are converted to uppercase: responsible institution corporate name, location, device identification and IP, the name and trade name of the destination account holder, and the name and corporate name of the fraudster;
* `valor_transacao` and `valor_contrato` are rounded to 2 decimal places;
* `data_hora` is truncated to milliseconds, (`YYYY-MM-DDTHH:mm:ss.000Z`);
* `documento_representante_legal` is sorted by type and number.

{% hint style="info" %}
Normalization changes the stored values. For example, `valor_transacao` `10.5` is stored as `10.50`, and `data_hora` `2024-01-01T03:00:00.123456Z` is stored as `2024-01-01T03:00:00.123Z`.
{% endhint %}

## Idempotency

The suspected fraud creation is idempotent. You do not need to send an idempotency key: the request is identified by its content, after the sanitization. Requests that differ only by spaces, masks or by the UTC offset of `data_hora` are considered the same occurrence.

* Sending the same occurrence again returns the result of the first request, with the same `fraudToken`, and no new occurrence is created;
* while the first request is still being processed, an equivalent request receives `425 Too Early`. Retry after the interval indicated by the `Retry-After` header;
* the `X-Normalize-Payload` header is **not** part of the request identity. A retry of the same occurrence with a different value for the header returns the result of the first request, and the occurrence keeps the way it was stored by that first request (normalized or not).

{% hint style="warning" %}
Equivalent requests are recognized only within a limited time window after the first request. After that, the same occurrence sent again is created as a new suspected fraud.
{% endhint %}

## Occurrence Data Model

As demonstrated in the example request, a suspected fraud occurrence is composed of the following properties:

* `instituicao_responsavel`: it is a **required** field and is represented by the [responsible institution object schema](#responsible-institution-object-instituicao_responsavel);
* `informacoes_bancarias_destino`: it is a **conditional** field and is represented by the [destination bank account object schema](#destination-bank-account-object-informacoes_bancarias_destino);
* `informacao_executor`: it is a **conditional¹** field and is represented by the [fraudster information object schema](#fraudster-information-object-informacao_executor);
* `informacao_reclamante`: it is a **conditional¹** field and is represented by the [claimer information object schema](#claimer-information-object-informacao_reclamante);
* `registro`: it is a **required** field and is represented by the [occurrence object schema](#occurrence-object-registro).

> **¹**: At least one of the objects, `informacao_executor` or `informacao_reclamante`, must be present.

### Responsible Institution Object: `instituicao_responsavel`

This object describes the financial institution submitting the occurrence. It's a **required object**.

| Field                 | Description                                                            | Field Requirement | Data type | Options | Examples            |
| --------------------- | ---------------------------------------------------------------------- | ----------------- | --------- | ------- | ------------------- |
| cnpj\_origem          | CNPJ of the financial institution submitting the fraud evidence.       | Required          | string    | -       | "52337497000131"    |
| razao\_social\_origem | Legal name of the financial institution submitting the fraud evidence. | Required          | string    | -       | "Empresa XYZ Ltda." |

### Destination Bank Account Object: `informacoes_bancarias_destino`

This object describes the banking information of the destination account of the occurrence, when applicable. It's a **conditional object**: if `registro.atividade_relacionada` is equal to: 4, 5, 6, 7 or 8, the `informacoes_bancarias_destino` object is **required**.

| Field                                       | Description                                                                                                            | Field Requirement                                                                                                                                                                                     | Data type | Options                                                                                                                                      | Examples                                       |
| ------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- |
| agencia                                     | Destination bank branch code. It must consist of the branch prefix and the check digit without a separator/hyphen.     | <p>Conditional<br>This field is <strong>required</strong> when <code>chave\_pix.tipo</code> is equal to: 6</p>                                                                                        | string    | -                                                                                                                                            | "0123"                                         |
| codigo\_instituicao                         | **Deprecated** ISPB of the destination institution.                                                                    | <p>Conditional<br>This object is <strong>required</strong> when <code>ispb</code> is not provided</p>                                                                                                 | integer   | -                                                                                                                                            | 00000000                                       |
| ispb                                        | ISPB of the destination institution.                                                                                   | <p>Conditional<br>This object is <strong>required</strong> when <code>codigo\_instituicao</code> is not provided</p>                                                                                  | string    | -                                                                                                                                            | "00A0Z000"                                     |
| conta                                       | Destination bank account details.                                                                                      | <p>Conditional<br>This object is <strong>required</strong> when <code>registro.atividade\_relacionada</code> is equal to: 4, 5, 6, 7 or 8;<br>Or when <code>chave\_pix.tipo</code> is equal to: 6</p> | object    | -                                                                                                                                            | -                                              |
| conta.numero                                | Destination bank account number. It must consist of the account prefix and the check digit without a separator/hyphen. | Required                                                                                                                                                                                              | string    | -                                                                                                                                            | "1234567890"                                   |
| conta.tipo                                  | Type of destination bank account.                                                                                      | Required                                                                                                                                                                                              | integer   | <p>1 - CV Sight deposit account (checking account)<br>2 - CP Savings deposit account (savings account)<br>3 - PP Prepaid Payment account</p> | 1                                              |
| conta.titular                               | Destination account holder details.                                                                                    | <p>Conditional<br>This field is <strong>required</strong> when <code>registro.atividade\_relacionada</code> is equal to: 4, 5, 6, 7 or 8</p>                                                          | object    | -                                                                                                                                            | -                                              |
| conta.titular.documento                     | Destination account holder identification document.                                                                    | Optional                                                                                                                                                                                              | object    | [schema](#document-object)                                                                                                                   | -                                              |
| conta.titular.nome\_completo\_razao\_social | Destination account holder full name.                                                                                  | Optional                                                                                                                                                                                              | string    | -                                                                                                                                            | "Maria Silva"                                  |
| conta.titular.nome\_fantasia                | Destination account holder company name, when applicable.                                                              | Optional                                                                                                                                                                                              | string    | -                                                                                                                                            | "Empresa XYZ"                                  |
| conta.documento\_representante\_legal       | Identification documents of the account holder's legal representatives, when applicable.                               | Optional                                                                                                                                                                                              | array     | [schema](#document-object)                                                                                                                   | -                                              |
| chave\_pix                                  | PIX key of the destination account suspected of fraud.                                                                 | <p>Conditional<br>This object is <strong>required</strong> when <code>registro.atividade\_relacionada</code> is equal to: 7</p>                                                                       | object    | -                                                                                                                                            | -                                              |
| chave\_pix.tipo                             | Type of PIX key.                                                                                                       | Required                                                                                                                                                                                              | integer   | <p>1 - CPF<br>2 - CNPJ<br>3 - Phone Number<br>4 - E-mail<br>5 - Random<br>6 - Bank Account</p>                                               | 4                                              |
| chave\_pix.valor                            | Value of PIX Key.                                                                                                      | <p>Conditional<br>This field is <strong>required</strong> when <code>chave\_pix.tipo</code> is not equal to: 6</p>                                                                                    | string    | -                                                                                                                                            | "<test@mail.com>"                              |
| linha\_digitavel\_boleto                    | Digitable line of the payment slip linked to suspected destination account fraud.                                      | <p>Conditional<br>This field is <strong>required</strong> when <code>registro.atividade\_relacionada</code> is equal to: 9</p>                                                                        | string    | -                                                                                                                                            | "00190500950448160698093503143373700000001000" |

### Fraudster Information Object: `informacao_executor`

This object represents the fraudster's information, when available. It's a **conditional object**: if the `informacao_reclamante` object is not provided, the `informacao_executor` object is **required**. After [GMUD Unauthorized Betting Operators | BCB 569](https://docs.caf.io/caf-api/connect/available-resources/joint-resolution-6/changelog/2026/2026-12-01-gmud-unauthorized-betting-operators-bcb-569.md), this object is **required** when `registro.classificacao_irregularidade` is equal to: 1.

| Field                           | Description                                                                         | Field Requirement | Data type | Options                    | Examples            |
| ------------------------------- | ----------------------------------------------------------------------------------- | ----------------- | --------- | -------------------------- | ------------------- |
| nome                            | The fraudster's full name or corporate name.                                        | Required          | string    | -                          | "João Silva"        |
| documento                       | The fraudster's identification document.                                            | Required          | object    | [schema](#document-object) | -                   |
| razao\_social                   | The fraudster's company name, when applicable.                                      | Optional          | string    | -                          | "Empresa XYZ Ltda." |
| documento\_representante\_legal | Identification documents of the fraudster's legal representatives, when applicable. | Optional          | array     | [schema](#document-object) | -                   |

### Claimer Information Object: `informacao_reclamante`

This object represents the claimer's information. It's a **conditional object**: if the `informacao_executor` object is not provided, the `informacao_reclamante` object is **required**.

| Field                           | Description                                                                       | Field Requirement | Data type | Options                    | Examples |
| ------------------------------- | --------------------------------------------------------------------------------- | ----------------- | --------- | -------------------------- | -------- |
| documento                       | The claimer's identification document.                                            | Required          | object    | [schema](#document-object) | -        |
| documento\_representante\_legal | Identification documents of the claimer's legal representatives, when applicable. | Optional          | array     | [schema](#document-object) | -        |

### Occurrence Object: `registro`

This object describes the general data from occurrence. It's a **required object**.

| Field                         | Description                                                                                                                                                                        | Field Requirement                                                                                                                                                                           | Data type | Options                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | Examples                                                           |
| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
| data\_hora                    | Timestamp in ISO format "YYYY:MM::DDThh:mm:ss.sTZD" denoting the occurrence of the suspected fraud attempt.                                                                        | Required                                                                                                                                                                                    | string    | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | "2024-04-03T12:00:00Z"                                             |
| atividade\_relacionada        | Activity related to the occurrence or attempted fraud, as per the list.                                                                                                            | Required                                                                                                                                                                                    | integer   | <p>1 - Opening a deposit account or payment account<br>2 - Maintenance of a deposit account or payment account<br>3 - Contracting a credit operation<br>4 - Transfers between accounts within the same institution<br>5 - Electronic Funds Transfer (TED)<br>6 - Payment transactions using checks<br>7 - Instant payment transactions (Pix)<br>8 - Transfers through Credit Document (DOC)<br>9 - Payment slips<br>10 - Withdrawals of funds in cash<br>11 - Virtual asset service provision</p> | 5                                                                  |
| classificacao                 | Occurrence classification.                                                                                                                                                         | Required                                                                                                                                                                                    | integer   | <p>1 - Confirmed Fraud<br>2 - Suspected Fraud<br>3 - Irregularity</p>                                                                                                                                                                                                                                                                                                                                                                                                                             | 1                                                                  |
| classificacao\_irregularidade | Irregularity type classification.                                                                                                                                                  | <p>Conditional<br>This field is <strong>required</strong> and <strong>exclusive</strong> when <code>registro.classificacao</code> is equal to: 3</p>                                        | integer   | 1 - Activity as an unauthorized betting operator                                                                                                                                                                                                                                                                                                                                                                                                                                                  | 1                                                                  |
| envolvimento\_reclamante      | Indicates whether there was the involvement of the client in the occurrence or attempted fraud. The client's involvement is independent of whether it was by third parties or not. | Required                                                                                                                                                                                    | integer   | <p>1 - Yes<br>2 - No</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | 1                                                                  |
| valor\_transacao              | If the fraud indication is a payment operation, indicate the transaction amount.                                                                                                   | <p>Conditional<br>This field is <strong>required</strong> when <code>registro.atividade\_relacionada</code> is equal to: 4, 5, 6, 7, 8, 9, 10 or 11</p>                                     | number    | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | 1000.00                                                            |
| valor\_contrato               | If the fraud indication is a credit operation, indicate the contract amount.                                                                                                       | <p>Conditional<br>This field is <strong>required</strong> when <code>registro.atividade\_relacionada</code> is equal to: 3</p>                                                              | number    | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | 5000.00                                                            |
| canal                         | Interaction form or channel used for the execution of the occurrence or attempted fraud.                                                                                           | Optional                                                                                                                                                                                    | integer   | <p>1 - Internet<br>2 - Mobile<br>3 - Self-service<br>4 - Partner Network<br>5 - Social Media<br>6 - Interbank<br>7 - Others</p>                                                                                                                                                                                                                                                                                                                                                                   | 3                                                                  |
| local                         | Location where the activity was realized, when applicable.                                                                                                                         | Optional                                                                                                                                                                                    | string    | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | "Agência X"                                                        |
| motivo                        | Description of the cause or procedure that led to the occurrence or attempted fraud, when applicable.                                                                              | <p>Conditional<br>This field is <strong>required</strong> when <code>registro.modalidade\_fraude</code> is equal to: 98 or 99;<br>or <code>registro.classificacao</code> is equal to: 3</p> | string    | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | "Cobrança indevida"                                                |
| modalidade\_fraude            | Modality related to the occurrence or attempted fraud, as per the list.                                                                                                            | <p>Required<br>This field is <strong>required</strong> when <code>registro.classificacao</code> is not equal to: 3</p>                                                                      | integer   | <p>1 - Self Fraud<br>2 - Mule Account<br>3 - Identity Theft (ITO)<br>4 - Synthetic Identity<br>5 - Account Takeover - ATO<br>6 - Friendly/Family/Second-Party Fraud<br>7 - Buyer Fraud<br>8 - Seller Fraud<br>9 - SIM Swap<br>10 - Fraud with Altered Payment Slips<br>11 - Benefits Fraud<br>12 - Kidnapping or Extortion<br>98 - Inconclusive<br>99 - Unlisted Modality</p>                                                                                                                     | 5                                                                  |
| dispositivo                   | Information about the device used.                                                                                                                                                 | Optional                                                                                                                                                                                    | object    | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | -                                                                  |
| dispositivo.identificacao     | Identification of the device used in the execution of the occurrence or attempted Fraud.                                                                                           | Optional                                                                                                                                                                                    | string    | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | "ID-1234"                                                          |
| dispositivo.ip                | Description of information regarding the Internet Protocol (IP) address of the device used in the occurrence or attempted fraud, when applicable.                                  | Optional                                                                                                                                                                                    | string    | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | "192.168.0.1"                                                      |
| operadora\_aposta\_dominio    | Domain/URL related to the irregular betting operator                                                                                                                               | <p>Conditional<br>This field is <strong>optional</strong> and <strong>exclusive</strong> when <code>registro.classificacao\_irregularidade</code> is equal to: 1</p>                        | string    | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | "irregular-bet.com"                                                |
| ativo\_virtual                | Information about the virtual asset.                                                                                                                                               | <p>Conditional<br>This field is <strong>required</strong> when <code>registro.atividade\_relacionada</code> is equal to: 11</p>                                                             | object    | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | -                                                                  |
| ativo\_virtual.tipo\_operacao | Classifies the nature of the reported operation.                                                                                                                                   | Required                                                                                                                                                                                    | integer   | <p>1 - Purchase<br>2 - Sale<br>3 - Transfer / withdrawal to external wallet<br>4 - Receipt from external wallet<br>5 - Internal transfer between clients<br>6 - Exchange between virtual assets<br>7 - Deposit<br>99 - Other</p>                                                                                                                                                                                                                                                                  | 1                                                                  |
| ativo\_virtual.moeda          | Currency symbol of the moved virtual asset.                                                                                                                                        | Required                                                                                                                                                                                    | string    | <p>Regular expression: <code>^\[A-Z0-9]{1,10}$</code><br>Must also match a canonical virtual asset symbol (e.g., BTC, ETH, LTC, DOGE).</p>                                                                                                                                                                                                                                                                                                                                                        | "BTC"                                                              |
| ativo\_virtual.quantidade     | Quantity of the virtual asset associated with the fraud indication.                                                                                                                | Required                                                                                                                                                                                    | string    | Regular expression: `^\d+[.,]\d+$`                                                                                                                                                                                                                                                                                                                                                                                                                                                                | "0,00000001"                                                       |
| ativo\_virtual.transacao\_id  | Unique transaction identifier (hash).                                                                                                                                              | Optional                                                                                                                                                                                    | string    | -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | "1843b174549cfbe3f6ba979df44c5b1b4632876b6aa99b1a51057c79219b2fd8" |

#### Relation Fraud Modality <> Related Activity

The `registro.modalidade_fraude` has a dependent relation with `registro.atividade_relacionada`. The relationships in the table below are allowed, any relationship outside the table is invalid. Additionally `registro.modalidade_fraude` is **blocked** when `registro.classificacao` is equal to: 3.

| **atividade\_relacionada** | **modalidade\_fraude**                    |
| -------------------------- | ----------------------------------------- |
| **1**                      | 1, 2, 3, 4, 6, 9, 11, 12, 98, 99          |
| **2**                      | 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 98, 99 |
| **3**                      | 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 98, 99 |
| **4**                      | 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 98, 99 |
| **5**                      | 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 98, 99 |
| **6**                      | 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 98, 99 |
| **7**                      | 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 98, 99 |
| **8**                      | 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 98, 99 |
| **9**                      | All                                       |
| **10**                     | 1, 2, 3, 4, 5, 6, 9, 11, 12, 98, 99       |
| **11**                     | 1, 2, 3, 4, 5, 6, 7, 8, 12, 98, 99        |

Another relationship present in the schema was introduced by [GMUD Unauthorized Betting Operators | BCB 569](https://docs.caf.io/caf-api/connect/available-resources/joint-resolution-6/changelog/2026/2026-12-01-gmud-unauthorized-betting-operators-bcb-569.md), limiting the available values of `registro.atividade_relacionada` when `registro.classificacao_irregularidade` is equal to: 1. The available values are: 4, 5, 6, 7, 8, 9 and 10.

### Document Object

This object represents an identification document; it can be either an individual's or a legal entity's document. This object representation is used by the [Claimer Information Object](#claimer-information-object-informacao_reclamante), [Fraudster Information Object](#fraudster-information-object-informacao_executor), and [Destination Bank Account Object](#destination-bank-account-object-informacoes_bancarias_destino).

| Field  | Description                                                                                                                                                               | Field Requirement | Data type | Options                    | Examples      |
| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- | --------- | -------------------------- | ------------- |
| tipo   | Indicates if is an individual or a legal entity.                                                                                                                          | Required          | integer   | <p>1 - CPF<br>2 - CNPJ</p> | 1             |
| numero | If document type is "1" this attribute must contain the CPF. If it's a legal entity ("2"), it should contain the complete CNPJ. Numeric attribute, without leading zeros. | Required          | string    | -                          | "81321273070" |


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.caf.io/caf-api/connect/available-resources/joint-resolution-6/suspected-fraud-creation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
