POST /dict/fraud-markers
antifraud.ind.writeRequest
- Example
{
"fraudMarker": {
"fraudType": "MULE_ACCOUNT",
"key": "[email protected]",
"taxIdNumber": "01234567890"
},
"requestId": "a946d533-7f22-42a5-9a9b-e87cd55c0f4d"
}
Responses
The responses below represent Success (200) and Failure/Error cases.
- 🟢 200
- 🔴 400
- 🔴 401
- 🔴 403
- 🔴 500
- 🔴 503
{
"correlationId": "abcdef01-2345-6789-0123-456789012345",
"responseTime": 299,
"fraudMarker": {
"taxIdNumber": "01234567890",
"key": "[email protected]",
"fraudType": "MULE_ACCOUNT",
"identification": "91d65e98-97c0-4b0f-b577-73625da1f9fc",
"status": "REGISTERED",
"creationTime": "2020-01-17T10:00:00.000Z",
"lastModified": "2020-01-17T10:00:00.000Z"
}
}
{
"correlationId": "abcdef01-2345-6789-0123-456789012345",
"error": {
"detail": "Could not parse request body",
"status": 400,
"title": "Bad Request",
"type": "https://dict.pi.rsfn.net.br/api/v2/error/BadRequest"
},
"responseTime": 0
}
{
"correlationId": "abcdef01-2345-6789-0123-456789012345",
"error": {
"detail": "Participant is not authenticated",
"status": 401,
"title": "Unauthorized"
},
"responseTime": 0
}
{
"responseTime": 0,
"correlationId": "abcdef01-2345-6789-0123-456789012345",
"error": {
"detail": "Participant is not allowed to access this resource",
"status": 403,
"title": "Forbidden"
}
}
{
"responseTime": 0,
"correlationId": "abcdef01-2345-6789-0123-456789012345",
"error": {
"detail": "Our service is currently experiencing an issue. We apologize for the inconvenience and are working to resolve it as soon as possible.",
"status": 500,
"title": "Internal Server Error"
}
}
{
"responseTime": 0,
"correlationId": "abcdef01-2345-6789-0123-456789012345",
"error": {
"detail": "Service is under scheduled maintenance",
"status": 503,
"title": "Service Unavailable",
"type": "https://dict.pi.rsfn.net.br/api/v2/error/ServiceUnavailable"
}
}