acct_type !== UserTypes::ULTIMATE) { // Return 503 Service Unavailable return ResponseHelper::returnError('System is currently under maintenance. Transactions are temporarily disabled. Please try again later.', 503); } } return $next($request); } }