List Infractions
Authorization
BearerAuth AuthorizationBearer <token>
In: header
Query Parameters
page?integer
Default
1Range
1 <= valuelimit?integer
Default
10Range
1 <= value <= 100status?string
Comma-separated InfractionStatus (WAITING_PSP,CLOSED,OPEN,CANCELLED,ACKNOWLEDGED,DEFENDED,ANSWERED,WAITING_ADJUSTMENTS)
type?string
Comma-separated InfractionType (REFUND_REQUEST,FRAUD,REFUND_CANCELLED)
endToEndId?string
transactionId?string
amountMin?number
amountMax?number
analysisResult?string
Comma-separated AnalysisResult
reportedBy?string
Comma-separated ReportedType (DEBITED_PARTICIPANT,CREDITED_PARTICIPANT)
participantDocument?string
participantName?string
Header Parameters
Content-Type*string
Obrigatório em toda chamada PayZu.
Default
"application/json"Value in
"application/json"Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://api.payzu.processamento.com/v1/user/infractions" \ -H "Content-Type: application/json"{
"infractions": [
{
"id": "infraction_id",
"protocol": "PROTOCOL123",
"status": "OPEN",
"type": "FRAUD",
"reportedBy": "DEBITED_PARTICIPANT",
"reportDetails": "Transação não autorizada",
"analysisResult": null,
"analysisDetails": null,
"reportedAt": "2024-01-15T10:30:00Z",
"expiresAt": "2024-02-15T10:30:00Z",
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:30:00Z",
"transaction": {
"id": "transaction_id",
"amount": 100.5,
"payerName": "João Silva",
"payerDocument": "12345678901",
"receiverName": "Maria Santos",
"receiverDocument": "12345678901",
"endToEndId": "E12345678202401151030001"
},
"defenseHistory": []
}
],
"pagination": {
"page": 1,
"limit": 20,
"totalItems": 45,
"totalPages": 3
}
}{
"statusCode": 400,
"error": "Bad Request",
"message": "querystring/dateFrom Invalid input: expected string, received undefined",
"requestId": "cmou00000abcdef01s6ghij1k2lm"
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "Missing or invalid Bearer token",
"requestId": "cmou00000abcdef01s6ghij1k2lm"
}{
"statusCode": 404,
"error": "Not Found",
"message": "Resource not found",
"requestId": "cmou00000abcdef01s6ghij1k2lm"
}