Suspected Fraud Creation
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.
Inserts a suspected fraud into your peer's database and this data become available to other peers in the network.
Permission required: Create RS6
JWT Authorization header using the Bearer scheme.
Your access token. See more in the 'Authentication' topic of this section.
Bearer YOUR_TOKENEnables the payload normalization before the occurrence is stored.
Only true enables it; when absent, false or any other value, the normalization is not applied.
falseExample: trueSuspected fraud occurence, condenses all relevant information about a suspected fraud.
201 Created
Unique identifier of the suspected fraud.
400 Bad Request. The request is invalid: malformed JSON, unknown fields or values that fail validation.
401 Unauthorized. The organization identity could not be resolved from the request.
403 Forbidden
425 Too Early. An equivalent request is currently being processed. Retry after the interval indicated by the Retry-After header.
500 Internal Server Error. An unexpected error occurred while processing the request.
503 Service Unavailable. A dependency is temporarily unavailable. Retry after the interval indicated by the Retry-After header.
POST /v1/rs6/suspected-fraud HTTP/1.1
Host: api.us.prd.caf.io
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 1176
{
"instituicao_responsavel": {
"cnpj_origem": "text",
"razao_social_origem": "text"
},
"informacoes_bancarias_destino": {
"codigo_instituicao": 1,
"ispb": "text",
"agencia": "text",
"conta": {
"numero": "text",
"tipo": 1,
"titular": {
"documento": {
"tipo": 1,
"numero": "text"
},
"nome_completo_razao_social": "text",
"nome_fantasia": "text"
},
"documento_representante_legal": [
{
"tipo": 1,
"numero": "text"
}
]
},
"chave_pix": {
"tipo": 1,
"valor": "text"
},
"linha_digitavel_boleto": "text"
},
"informacao_executor": {
"nome": "text",
"razao_social": "text",
"documento": {
"tipo": 1,
"numero": "text"
},
"documento_representante_legal": [
{
"tipo": 1,
"numero": "text"
}
]
},
"informacao_reclamante": {
"documento": {
"tipo": 1,
"numero": "text"
},
"documento_representante_legal": [
{
"tipo": 1,
"numero": "text"
}
]
},
"registro": {
"data_hora": "2026-01-01T00:00:00.000Z",
"local": "text",
"canal": 1,
"atividade_relacionada": 1,
"classificacao": 1,
"classificacao_irregularidade": 1,
"operadora_aposta_dominio": "example.com",
"motivo": "text",
"valor_transacao": 1,
"valor_contrato": 1,
"dispositivo": {
"identificacao": "text",
"ip": "0.0.0.0"
},
"envolvimento_reclamante": 1,
"modalidade_fraude": 1,
"ativo_virtual": {
"tipo_operacao": 1,
"moeda": "text",
"quantidade": "text",
"transacao_id": "text"
}
}
}{
"fraudToken": "123e4567-e89b-12d3-a456-426614174000",
"requestStatus": {
"status": "SUCCESS",
"token": "123e4567-e89b-12d3-a456-426614174000"
}
}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_origemand from Pix keys of type CPF or CNPJ (.,-and/), so123.456.789-09is stored as12345678909;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_horais converted to UTC, keeping the same instant and the fractional seconds sent, so2024-01-01T00:00:00-03:00is stored as2024-01-01T03:00:00Z;empty objects and lists are removed from the occurrence;
data_ultima_alteracaois 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_transacaoandvalor_contratoare rounded to 2 decimal places;data_horais truncated to seconds, without fractional seconds (YYYY-MM-DDTHH:mm:ssZ);documento_representante_legalis sorted by type and number.
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 theRetry-Afterheader;the
X-Normalize-Payloadheader 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).
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;informacoes_bancarias_destino: it is a conditional field and is represented by the destination bank account object schema;informacao_executor: it is a conditional¹ field and is represented by the fraudster information object schema;informacao_reclamante: it is a conditional¹ field and is represented by the claimer information object schema;registro: it is a required field and is represented by the occurrence object schema.
¹: At least one of the objects,
informacao_executororinformacao_reclamante, must be present.
Responsible Institution Object: instituicao_responsavel
This object describes the financial institution submitting the occurrence. It's a required object.
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.
agencia
Destination bank branch code. It must consist of the branch prefix and the check digit without a separator/hyphen.
Conditional
This field is required when chave_pix.tipo is equal to: 6
string
-
"0123"
codigo_instituicao
Deprecated ISPB of the destination institution.
Conditional
This object is required when ispb is not provided
integer
-
00000000
ispb
ISPB of the destination institution.
Conditional
This object is required when codigo_instituicao is not provided
string
-
"00A0Z000"
conta
Destination bank account details.
Conditional
This object is required when registro.atividade_relacionada is equal to: 4, 5, 6, 7 or 8;
Or when chave_pix.tipo is equal to: 6
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
1 - CV Sight deposit account (checking account) 2 - CP Savings deposit account (savings account) 3 - PP Prepaid Payment account
1
conta.titular
Destination account holder details.
Conditional
This field is required when registro.atividade_relacionada is equal to: 4, 5, 6, 7 or 8
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
-
chave_pix
PIX key of the destination account suspected of fraud.
Conditional
This object is required when registro.atividade_relacionada is equal to: 7
object
-
-
chave_pix.tipo
Type of PIX key.
Required
integer
1 - CPF 2 - CNPJ 3 - Phone Number 4 - E-mail 5 - Random 6 - Bank Account
4
chave_pix.valor
Value of PIX Key.
Conditional
This field is required when chave_pix.tipo is not equal to: 6
string
-
linha_digitavel_boleto
Digitable line of the payment slip linked to suspected destination account fraud.
Conditional
This field is required when registro.atividade_relacionada is equal to: 9
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, this object is required when registro.classificacao_irregularidade is equal to: 1.
nome
The fraudster's full name or corporate name.
Required
string
-
"João Silva"
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
-
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.
Occurrence Object: registro
This object describes the general data from occurrence. It's a required object.
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
1 - Opening a deposit account or payment account 2 - Maintenance of a deposit account or payment account 3 - Contracting a credit operation 4 - Transfers between accounts within the same institution 5 - Electronic Funds Transfer (TED) 6 - Payment transactions using checks 7 - Instant payment transactions (Pix) 8 - Transfers through Credit Document (DOC) 9 - Payment slips 10 - Withdrawals of funds in cash 11 - Virtual asset service provision
5
classificacao
Occurrence classification.
Required
integer
1 - Confirmed Fraud 2 - Suspected Fraud 3 - Irregularity
1
classificacao_irregularidade
Irregularity type classification.
Conditional
This field is required and exclusive when registro.classificacao is equal to: 3
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
1 - Yes 2 - No
1
valor_transacao
If the fraud indication is a payment operation, indicate the transaction amount.
Conditional
This field is required when registro.atividade_relacionada is equal to: 4, 5, 6, 7, 8, 9, 10 or 11
number
-
1000.00
valor_contrato
If the fraud indication is a credit operation, indicate the contract amount.
Conditional
This field is required when registro.atividade_relacionada is equal to: 3
number
-
5000.00
canal
Interaction form or channel used for the execution of the occurrence or attempted fraud.
Optional
integer
1 - Internet 2 - Mobile 3 - Self-service 4 - Partner Network 5 - Social Media 6 - Interbank 7 - Others
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.
Conditional
This field is required when registro.modalidade_fraude is equal to: 98 or 99;
or registro.classificacao is equal to: 3
string
-
"Cobrança indevida"
modalidade_fraude
Modality related to the occurrence or attempted fraud, as per the list.
Required
This field is required when registro.classificacao is not equal to: 3
integer
1 - Self Fraud 2 - Mule Account 3 - Identity Theft (ITO) 4 - Synthetic Identity 5 - Account Takeover - ATO 6 - Friendly/Family/Second-Party Fraud 7 - Buyer Fraud 8 - Seller Fraud 9 - SIM Swap 10 - Fraud with Altered Payment Slips 11 - Benefits Fraud 12 - Kidnapping or Extortion 98 - Inconclusive 99 - Unlisted Modality
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
Conditional
This field is optional and exclusive when registro.classificacao_irregularidade is equal to: 1
string
-
"irregular-bet.com"
ativo_virtual
Information about the virtual asset.
Conditional
This field is required when registro.atividade_relacionada is equal to: 11
object
-
-
ativo_virtual.tipo_operacao
Classifies the nature of the reported operation.
Required
integer
1 - Purchase 2 - Sale 3 - Transfer / withdrawal to external wallet 4 - Receipt from external wallet 5 - Internal transfer between clients 6 - Exchange between virtual assets 7 - Deposit 99 - Other
1
ativo_virtual.moeda
Currency symbol of the moved virtual asset.
Required
string
Regular expression: ^[A-Z0-9]{1,10}$
Must also match a canonical virtual asset symbol (e.g., BTC, ETH, LTC, DOGE).
"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, 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, Fraudster Information Object, and Destination Bank Account Object.
tipo
Indicates if is an individual or a legal entity.
Required
integer
1 - CPF 2 - CNPJ
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"
Last updated

