If a player defaults on a loan or exceeds a certain invoice limit, you can use this export in a script of your choice to prevent them from making a transaction.,
exports["G9-banking"]:getBlock()
Example (for qb-garages)
RegisterNUICallback('takeOutVehicle', function(data, cb)
local response = exports["G9-banking"]:getBlock()
if response then
TriggerEvent('qb-garages:client:takeOutGarage', data)
cb('ok')
else
QBCore.Functions.Notify('You have an unpaid bill or loan!')
end
end)