Skip to main content
POST
/
v1
/
dict
/
infraction-reports
/
{infraction_id}
/
close
Close an Infraction Report
curl --request POST \
  --url https://plugin-pix-indirect.api.lerian.net/v1/dict/infraction-reports/{infraction_id}/close \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "analysisResult": "AGREED",
  "analysisDetails": "Analysis confirms fraudulent activity pattern"
}
'
{
  "id": "550e8400-e29b-41d4-a716-44665544f001",
  "transactionId": "E12345678202411241430ABCDEFGHIJK",
  "status": "OPEN",
  "reason": "REFUND_REQUEST",
  "reporterParticipant": "12345678",
  "counterpartyParticipant": "87654321",
  "analysisResult": "AGREED",
  "createdAt": "2024-01-15T10:30:00Z",
  "updatedAt": "2024-01-15T10:30:00Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

infraction_id
string
required

Unique identifier of the infraction report (UUID format).

Body

application/json
analysisResult
enum<string>
required

Analysis result.

Available options:
AGREED,
DISAGREED
Example:

"AGREED"

analysisDetails
string

Detailed analysis comments.

Example:

"Analysis confirms fraudulent activity pattern"

Response

Infraction report closed successfully.

id
string

Unique identifier.

Example:

"550e8400-e29b-41d4-a716-44665544f001"

transactionId
string

SPI transaction identifier.

Example:

"E12345678202411241430ABCDEFGHIJK"

status
enum<string>

Current status.

Available options:
OPEN,
ACKNOWLEDGED,
CLOSED,
CANCELLED
Example:

"OPEN"

reason
string

Infraction reason.

Example:

"REFUND_REQUEST"

reporterParticipant
string

ISPB of the reporting participant.

Example:

"12345678"

counterpartyParticipant
string

ISPB of the counterparty.

Example:

"87654321"

analysisResult
string

BACEN analysis result.

Example:

"AGREED"

createdAt
string<date-time>
Example:

"2024-01-15T10:30:00Z"

updatedAt
string<date-time>
Example:

"2024-01-15T10:30:00Z"