Infraction reports

Update infraction report (outdated)

This endpoint is outdated and no longer works. It is recommended you call Update funds recovery.

Update some infraction report fields. Fields not passed are not updated.

To call this endpoint, the infraction report status is REQUIRED to be OPEN or ACKNOWLEDGED.

The endpoint generates a Pix infraction status changed event.

patch/v2/pix/infraction-reports/{id}

Request

  • Base URL
    https://sandbox.pismolabs.io/passport
  • URL
    https://sandbox.pismolabs.io/passport/v2/pix/infraction-reports/{id}
  • Auth
    HTTP bearer

Path parameters

idstring uuid required

Infraction report ID

Headers

Authorizationstring required
Example:Bearer eyJhbGci...IUzUx

Account token - an access token encoded with a Pismo account ID. Tokens can expire quickly, which can result in a <b>401 Unauthorized</b> message.

Request body */*

situation_type'SCAM' | 'ACCOUNT_TAKEOVER' | 'COERCION' | 'FRAUDULENT_ACCESS' | 'OTHER' | 'UNKNOWN'

What gave rise to the infraction notification

detailsstring

Details that can help the receiving participant to analyze the suspected violation

Example request

{
  "situation_type": "SCAM",
  "details": "Details about infraction",
  "contact_information": {
    "phone": "551154874551",
    "email": "polly_ester@email.com"
  }
}

Response

Accepted

codestring

Error code

messagestring

Error message

Example response

{
  "code": "EPDA0001",
  "details": {
    "external": [
      {
        "code": "PBE315",
        "message": "Generic error"
      }
    ],
    "parameters": [
      {
        "field": "query parameter",
        "message": "Generic error"
      }
    ],
    "payload": [
      {
        "field": "Entity.field",
        "message": "Generic error"
      }
    ]
  },
  "message": "User not found"
}

Changes

No recorded changes to this operation across all 1 revision of this API.