In your Student model add this:
public function payments()
{
return $this->hasMany(Payment::class);
}
Then you can do this:
$students = Student::doesntHave('payments')->get();
These will be all the students that don't have a payment recorded yet.
https://laravel.com/docs/master/eloquent-relationships#querying-relationship-absence