PayZuPayZu Docs

Infraction details

GET
/user/infractions/{id}

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Infraction ID

Header Parameters

Content-Type*string

Obrigatório em toda chamada PayZu.

Default"application/json"
Value in"application/json"

Response Body

application/json

application/json

curl -X GET "https://api.payzu.processamento.com/v1/user/infractions/string" \  -H "Content-Type: application/json"
{
  "id": "infraction_123",
  "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": []
}
{
  "statusCode": 404,
  "error": "Not Found",
  "message": "Resource not found",
  "requestId": "cmou00000abcdef01s6ghij1k2lm"
}