Returns infractions opened against the customer's account.
GET
/infractions
Infractions
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://infopago.apidog.io//infractions?last_change_start&last_change_end'
Response Response Example
200 - Exemplo 1
{
"meta": {
"total": 100,
"limit": 10,
"offset": 1
},
"data": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"transactionId": 0,
"status": "OPEN",
"type": "FRAUD",
"lastModificationDate": "2019-08-24T14:15:22Z",
"creationDate": "2019-08-24T14:15:22Z",
"reportedBy": "DEBITED_PARTICIPANT",
"reportDetails": "string",
"analysisResult": "AGREED",
"analysisDetails": "string",
"transactionAmount": {
"currency": "BRL",
"amount": 0
}
}
]
}
Requisição
Parâmetros Query
last_change_start
string <date-time>
requerido
last_change_end
string <date-time>
requerido
page_offset
integer
opcional
>= 1
Padrão:
1
page_limit
integer
opcional
>= 1<= 100
Padrão:
10
sort_by
enum<string>
opcional
Valores permitidos:
EVENT_DATESTATUS
Padrão:
EVENT_DATE
status
enum<string>
opcional
Valores permitidos:
ACKNOWLEDGEDWAITING_ADJUSTMENTSDEFENDEDCLOSED
Padrão:
ALL