If that is all you need to do with the query then you can just chain it like this:
->with('payments')->where('type', '<>', 'point') //chain more after this
Correct answer should be this if you are trying to filter payments where the type
is not equal to point
.