...

Check that legal entity is active (status = ACTIVE, SUSPENDED) and belongs to the user

  1. Extract client_id from token

  2. Check legal entity status (status = ACTIVE, SUSPENDED)

    1. In case of error - return 409 (Legal entity must be ACTIVE or SUSPENDED)

Validate ID

Check ID exists and belongs to preperson

...