GET
/user/infractions/BearerListar infrações
Lista todas as infrações da conta com paginação e filtros.
Headers
| Authorization | Bearer <seu_token> |
Parâmetros
| Nome | In | Tipo | Descrição |
|---|---|---|---|
| page | query | integer | – |
| limit | query | integer | – |
| sortBy | query | "createdAt" | "updatedAt" | – |
| sortDirection | query | "asc" | "desc" | – |
| id | query | string | – |
| protocol | query | string | – |
| endToEndId | query | string | – |
| transactionId | query | string | – |
| amountMin | query | number | – |
| amountMax | query | number | – |
| status | query | InfractionStatus[] | – |
| type | query | InfractionType[] | – |
| analysisResult | query | AnalysisResult[] | – |
| reportedBy | query | ReportedType[] | – |
| participantDocument | query | string | – |
| participantName | query | string | – |
| reportDetails | query | string | – |
| analysisDetails | query | string | – |
| reportedAtFrom | query | string | – |
| reportedAtTo | query | string | – |
| createdAtFrom | query | string | – |
| createdAtTo | query | string | – |
| expiresAtFrom | query | string | – |
| expiresAtTo | query | string | – |
| updatedAtFrom | query | string | – |
| updatedAtTo | query | string | – |
Respostas
Lista paginada de infrações
| Campo | Tipo | Descrição |
|---|---|---|
infractions | Infraction[] | — |
pagination | object | — |
Exemplos
curl "https://api.evopay.cash/v1/user/infractions/?page=1&limit=10&sortBy=createdAt&sortDirection=asc&id=exemplo&protocol=exemplo&endToEndId=exemplo&transactionId=exemplo&amountMin=100&amountMax=100&status=exemplo&type=exemplo&analysisResult=exemplo&reportedBy=exemplo&participantDocument=exemplo&participantName=exemplo&reportDetails=exemplo&analysisDetails=exemplo&reportedAtFrom=2024-01-01T00%3A00%3A00.000Z&reportedAtTo=2024-01-01T00%3A00%3A00.000Z&createdAtFrom=2024-01-01T00%3A00%3A00.000Z&createdAtTo=2024-01-01T00%3A00%3A00.000Z&expiresAtFrom=2024-01-01T00%3A00%3A00.000Z&expiresAtTo=2024-01-01T00%3A00%3A00.000Z&updatedAtFrom=2024-01-01T00%3A00%3A00.000Z&updatedAtTo=2024-01-01T00%3A00%3A00.000Z" \ -H "Authorization: Bearer <seu_token>"