Negative balance is happening

Hi @anton and everyone, maybe someone can help me understand how to prevent this. If you have 100 credits and reduce balance by 150 playsms allows a negative balance of -50. How can i prevent any user having negative balance?

Thanking you in advance

My bad.


ignore this post i made a schoolboy error.