Skip to main content
POST
/
v1
/
dict
/
infraction-reports
Create an Infraction Report
curl --request POST \
  --url https://plugin-pix-indirect.api.lerian.net/v1/dict/infraction-reports \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "transactionId": "E12345678202411241430ABCDEFGHIJK",
  "reason": "REFUND_REQUEST",
  "situationType": "SCAM",
  "reportDetails": "Customer reported receiving a call from fake bank employee"
}
'
{
  "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.

Body

application/json
transactionId
string
required

SPI transaction identifier.

Example:

"E12345678202411241430ABCDEFGHIJK"

reason
enum<string>
required

Infraction reason.

Available options:
REFUND_REQUEST,
REFUND_CANCELLED
Example:

"REFUND_REQUEST"

situationType
string

Type of fraud situation.

Example:

"SCAM"

reportDetails
string

Detailed description of the infraction.

Example:

"Customer reported receiving a call from fake bank employee"

Response

Infraction report created 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"