Limit the balance from a sip trunk

Hi , how are you ?
Today i need your kindly help in something i would like to know , i have a sip trunk with a local provider , and i want to know if i can restrict the calls according to the balance of the trunk , i mean if have 29000 minutes of available balance , i want that the people of my office cant make any calles when i i only have 5000 minutes left for make callls , is that possible ?